Howdy folks!

Just wanted to give an update regarding the ANTLR grammar.

I don't know why, but I suddenly found myself kinda understanding what's
going on in the grammar, and was able to add component {}, ternary (true
? then : else); for(var item in collection), and a couple other things
(I know I'd already had an "awakening", but this time it was almost
/easy/ *gasp*).

I *hope* it's somehow useful, because I'm *really* enjoying getting a
decent AST (well, more of an ST, since I'm not using the treewalker ATM)
for CFE.

There's still a lot of work to be done in CFE (like, using an actual
model and model events vs. the current listener stuff, etc.), but we've
already made great strides -- component assist (thanks to Andrew and
Mark), a rough "jump to function" action, etc. -- and I just wanted to
say thanks, and that the changes to the grammar are available in github.

https://github.com/denuno/cfml.parsing/blob/master/src/cfml/parsing/cfscript/CFScript.g

I have no idea how helpful this will be (if at all), but I did keep the
tree grammar updated as I updated the script grammar, just in case.

:DeN

-- 
If love is blind, why is lingerie so popular?

-- 
online documentation: http://openbd.org/manual/
   google+ hints/tips: https://plus.google.com/115990347459711259462
     http://groups.google.com/group/openbd?hl=en

     Join us @ http://www.OpenCFsummit.org/ Dallas, Feb 2012

Reply via email to