[osflash] [MTasc] Invalid expression ????
ncannasse at motion-twin.com
Mon Sep 26 14:55:10 PDT 2005
> Nicolas, was it a choice of yours to have this difference between
> MTasc and MMC or did it not appear intellectualy satisfying when you
> thought the grammar for MTasc ? I'd greatly appreciate your point of
> view on the question.
Yes it was a choice.
MTASC parser is less strict than MMC one, but otoh the syntax is enforced by
only allowing expressions with "side effects". It is true that in functional
languages "1" is an expression, but in that case you might get a compilation
warning saying you're discarding a value (at least in OCaml).
More information about the osflash