The Hundred-Year Language
dtolton writes "Paul Graham has a new article called "The Hundred-Year Language" posted. The article is about the programming languages of the future and what form they may take. He makes some interesting predictions about the rate of change we might expect in programming languages over the next 100 years. He also makes some persuasive points about the possible design and construction of those languages. The article is definitely worth a read for those interested in programming languages."
\ Word definitions ; ; ; ;
." years of prison" ;
: convicted-of 0 ; \ To convict someone
: murder 25 +
: arson 10 +
: robbery 2 +
: music-copying 40 +
: sentenced-to .
And to use it:
convicted-of music-copying robbery
sentenced-to
Output: 42 years of prison
This looks quite like english. Of course, you can do that in many languages, but it feels more natural in Forth I think