4 ms·
> A minor syntactical transformation of javascript just doesn't cut it. If every CoffeScript program shared the same AST as its generated JavaScript program, i
by jahewson 14y ago
> A minor syntactical transformation of javascript just doesn't cut it.
If every CoffeScript program shared the same AST as its generated JavaScript program, i.e. if only the parse tree representing the concrete syntax differed, then your statement would be true.
However, that is not the case. The abstract syntax of CoffeeScript differs significantly from JavaScript, for example in CoffeeScript almost every statement is also an expression, which is not the case in JavaScript.