ColdFusion code parser?
Posted
by Kip
on Stack Overflow
See other posts from Stack Overflow
or by Kip
Published on 2009-08-05T20:07:29Z
Indexed on
2010/04/06
6:43 UTC
Read the original article
Hit count: 470
I'm trying to create an app to search my company's ColdFusion codebase. I'd like to be able to do intelligent searches, for example: find where a function is defined (and not hit everywhere the function is called). In order to do this, I'd need to parse the ColdFusion code to identify things like function declarations, function calls, database queries, etc.
I've looked into using lex and yacc, but I've never used them before and the learning curve seems very steep. I'm hoping there is something already out there that I could use. My other option is a mess of difficult-to-maintain regex-spaghetti code, which I want to avoid.
© Stack Overflow or respective owner