Hi Mark Yeah, a partial parser would be really cool! I'm really curious about how you approached this problem. Would you mind passing along what you have? Chances are decent that I won't make much progress, but either way I'll send you back whatever I get. Another option: you could post it somewhere like sourceforge and I can check it out from there. Whatever, my email address is attached so feel free to reply off-list. Thanks Mark
________________________________ From: Mark Mandel [mailto:[EMAIL PROTECTED] Sent: Sat 2/2/2008 3:40 AM To: CF-Talk Subject: Re: JavaCC/ANTLR grammar for ColdFusion? 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:298031 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

