DIP 50 - AST macros
SomeDude
lovelydear at mailmetrash.com
Sun Nov 17 00:24:42 PST 2013
On Thursday, 14 November 2013 at 19:42:36 UTC, Zsombor Barna
wrote:
>
> D's syntax remains the same ( statements, expressions, function
> calling, numbers etc. ). These AST manipulation tools just
> define new words or language constructs. Human languages tend
> to be altered as times passes and the needs change. That's why
> new words appear. Even the grammar is not the same as the one
> my grandparents used.
Which shows all the problems raised by Walter:
1. you need an entry in the dictionary that you need to look up
for each new word that someone has introduced,
2. with natural language, you don't need to know its *exact*
semantics when you use a new word, while in programming it is
mandatory,
3. you *don't* want your programming language to arbitrarily
change over time. That's probably the biggest issue.
More information about the Digitalmars-d
mailing list