Thread overview | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
May 31, 2007 Interesting new language | ||||
---|---|---|---|---|
| ||||
I just found a new programming language that I think has some really interesting features we should look at; maybe we could incorporate some to improve D! http://lolcode.com/ -- Daniel -- int getRandomNumber() { return 4; // chosen by fair dice roll. // guaranteed to be random. } http://xkcd.com/ v2sw5+8Yhw5ln4+5pr6OFPma8u6+7Lw4Tm6+7l6+7D i28a2Xs3MSr2e4/6+7t4TNSMb6HTOp5en5g6RAHCP http://hackerkey.com/ |
May 31, 2007 Re: Interesting new language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Keep | Daniel Keep wrote:
> I just found a new programming language that I think has some really
> interesting features we should look at; maybe we could incorporate some
> to improve D!
>
> http://lolcode.com/
>
> -- Daniel
>
The politest language ever. You literally have to beg the language to do stuff for u. This is great!
AWSUM THX
-Joel
|
May 31, 2007 Re: Interesting new language | ||||
---|---|---|---|---|
| ||||
Posted in reply to janderson | janderson wrote: > Daniel Keep wrote: >> I just found a new programming language that I think has some really >> interesting features we should look at; maybe we could incorporate some >> to improve D! >> >> http://lolcode.com/ >> >> -- Daniel >> > > The politest language ever. You literally have to beg the language to do stuff for u. This is great! > > AWSUM THX > -Joel I just love this one http://lolcode.com/examples/little-number |
May 31, 2007 Re: Interesting new language | ||||
---|---|---|---|---|
| ||||
Posted in reply to janderson | janderson wrote: > janderson wrote: >> Daniel Keep wrote: >>> I just found a new programming language that I think has some really interesting features we should look at; maybe we could incorporate some to improve D! >>> >>> http://lolcode.com/ >>> >>> -- Daniel >>> >> >> The politest language ever. You literally have to beg the language to do stuff for u. This is great! >> >> AWSUM THX >> -Joel > > > I just love this one > > http://lolcode.com/examples/little-number D definitely needs this statement: http://lolcode.com/keywords/diaf :3 -- int getRandomNumber() { return 4; // chosen by fair dice roll. // guaranteed to be random. } http://xkcd.com/ v2sw5+8Yhw5ln4+5pr6OFPma8u6+7Lw4Tm6+7l6+7D i28a2Xs3MSr2e4/6+7t4TNSMb6HTOp5en5g6RAHCP http://hackerkey.com/ |
May 31, 2007 Re: Interesting new language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Keep | And I was going to use this language as an argument for a well-crafted language designed by a community effort....
Daniel Keep Wrote:
>
>
> janderson wrote:
> > janderson wrote:
> >> Daniel Keep wrote:
> >>> I just found a new programming language that I think has some really interesting features we should look at; maybe we could incorporate some to improve D!
> >>>
> >>> http://lolcode.com/
> >>>
> >>> -- Daniel
> >>>
> >>
> >> The politest language ever. You literally have to beg the language to do stuff for u. This is great!
> >>
> >> AWSUM THX
> >> -Joel
> >
> >
> > I just love this one
> >
> > http://lolcode.com/examples/little-number
>
> D definitely needs this statement: http://lolcode.com/keywords/diaf
>
> :3
>
> --
> int getRandomNumber()
> {
> return 4; // chosen by fair dice roll.
> // guaranteed to be random.
> }
>
> http://xkcd.com/
>
> v2sw5+8Yhw5ln4+5pr6OFPma8u6+7Lw4Tm6+7l6+7D i28a2Xs3MSr2e4/6+7t4TNSMb6HTOp5en5g6RAHCP http://hackerkey.com/
|
May 31, 2007 Re: Interesting new language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert Fraser |
> And I was going to use this language as an argument for a well-crafted language designed by a community effort....
Why 'was'?
Everybody here seems really excited about this language (me including).
I think you should use it for exactly what you are purposing.
btw. D could easily implement most of the suggestions made on the site.
|
May 31, 2007 Re: Interesting new language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Saaa | Saaa wrote:
>> And I was going to use this language as an argument for a well-crafted language designed by a community effort....
>
> Why 'was'?
> Everybody here seems really excited about this language (me including).
> I think you should use it for exactly what you are purposing.
> btw. D could easily implement most of the suggestions made on the site.
>
>
Apart from the 1337 speak some of the ideas are ok. If you take it from the point of view that its a community driven joke, then its been well designed for that purpose.
I imagine it wouldn't be that hard to use mixins to implement this language in D. I also imagine the community would be over the moon because its current implementations suck.
-Joel
|
June 01, 2007 Re: Interesting new language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Keep | Daniel Keep wrote: > I just found a new programming language that I think has some really > interesting features we should look at; maybe we could incorporate some > to improve D! > > http://lolcode.com/ > > -- Daniel > LOOOOOOOOOOOOOOOOOOOOOOOOOL AWESOME. :D A friend of mine had mentioned this already, and I too was about to post it here in the NG, despite flagrantly OT. More seriously though, like anderson mentioned, it would be really cool (and maybe some good D publicity too) to implement a D lolcode compiler with mixin text macros. Anyone up to the challenge? (I don't have time for that unfortunately :S) -- Bruno Medeiros - MSc in CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D |
June 01, 2007 Re: Interesting new language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Keep | On Thu, 31 May 2007 12:28:55 +1000
Daniel Keep <daniel.keep.lists@gmail.com> wrote:
>
> I just found a new programming language that I think has some really interesting features we should look at; maybe we could incorporate some to improve D!
>
> http://lolcode.com/
>
> -- Daniel
>
AWSUM THX!
|
June 01, 2007 Re: Interesting new language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bruno Medeiros | "Bruno Medeiros" <brunodomedeiros+spam@com.gmail> wrote in message news:f3p16p$2bfd$1@digitalmars.com... > LOOOOOOOOOOOOOOOOOOOOOOOOOL AWESOME. :D > A friend of mine had mentioned this already, and I too was about to post > it here in the NG, despite flagrantly OT. > More seriously though, like anderson mentioned, it would be really cool > (and maybe some good D publicity too) to implement a D lolcode compiler > with mixin text macros. Anyone up to the challenge? (I don't have time for > that unfortunately :S) One problem with compiling the Lolcode into D code is that Lolcode seems to be dynamically typed. We'd have to implement a variadic type, and things get even trickier if Lolcode functions, when a syntax is decided for them, are first-class and with variable numbers of parameters. On the other hand, we already have the MiniD VM at our disposal, a dynamically-typed language VM with first-class functions with variable numbers of parameters ;) The only thing that would have to be changed would be the lexer and parser; virtually all the Lolcode constructs have analogues in MiniD code, and can be represented by a MiniD AST. This is all done at runtime, though. If we still want to use compile-time constructs for compiling the Lolcode source, it might be better to compile to MiniD source, and then compile that at run-time. Targeting the MiniD bytecode directly using compile-time code would probably be pretty awful :S |
Copyright © 1999-2021 by the D Language Foundation