I think I'm almost done with game entities definition, and I suppose now it's time to code the parser. I've read your take on it, and I liked it, but had a feeling that there's got to be a better way... There's one I found online - PEG.js. It's a full-blown parser, and it seems to fit our needs, but I'm not sure how well it will handle the lack of closing token for each entity. EDIT: found another one - nearley.js, which looks like a more mature one, v2.7.7, in comparison with v0.10 for PEG.js.
Let's discuss using the next generation EMCA for this project. It's easier to write clean and object-oriented code in it, and to support all the browsers there is Babel compiler, read here - https://babeljs.io. @TheLastProject, what do you think?
c2c3a3b - started from scratch. I need your help @TheLastProject. What we want to achieve in the end is a rewrite using OO principles. I've read a JS Prototype Tutorial, which might help.