How can I dump an expression into log and execute it

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 15 00:48:53 PDT 2014


"Ary Borenszweig"  wrote in message news:lq199i$1312$1 at digitalmars.com...

> I can't seem to learn anything about this language without paying first.

http://en.wikipedia.org/wiki/Forth_(programming_language)

It allows you to edit syntax as you go!

1 2 3 + + . (prints 6)
: 1 2 ;
: 2 3 ;
1 2 3 + + . (prints 8)
: + * ;
1 2 3 + + . (prints 18)

It even allows defining new control structures.  Every program is a new dsl. 
Too much freedom is a bad thing. 



More information about the Digitalmars-d mailing list