Is TypeScript a context free language

Topics: General
Feb 17, 2013 at 7:57 PM
Edited Feb 18, 2013 at 3:12 PM
Hi,
TypeScript is a context free language (grammer)?

thanks in advance.
Coordinator
Feb 18, 2013 at 8:47 PM
Simple counter-example (in JavaScript, conveniently enough):

var x = { a: 4 }; is an object literal, the same substring in function x() { a: 4 }; is a function body with a goto label and a numeric literal.
Feb 18, 2013 at 8:55 PM
Edited Feb 18, 2013 at 9:00 PM
What means this?
Please only answer Yes or No.
Feb 18, 2013 at 8:59 PM