Mark, I started a ANTLR one a while back for the CFEclipse project, but never really got around to finishing it. It's probably at ~ 85% done.
Does a partial parser help you? ;) I've not used JavaCC, but ANTLR is a fantastic tool to use, and is * very * flexible. Parsing CF is a real pain, as it is one straaaange language syntactically. Mark On Feb 2, 2008 7:39 AM, Gaulin, Mark <[EMAIL PROTECTED]> wrote: > Hi > Has anybody done any work on pulling together a grammar for ColdFusion, > something that might be a good start for a compiler-compiler like JavaCC > or ANTLR? (If you've used these tools before, would you recommend one > over the other?) I'd like to try some static analysis on CF code and > having a decent parser is a prerequisite, and I'd like it to be in java > for it can integrate easily with other things (like CFE). > Thanks > Mark > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297988 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4