[antlr-interest] Detecting javascript code

zbordie bruno.costa at auditmark.com
Mon Feb 28 06:58:16 PST 2011


Hi there,

I'm trying to build a tool that detects/recognizes javascript code embedded
in any
kind of language or file format, for example PHP, ASP.NET, etc. . Not
just HTML.

My strategy would be, to use ANTLR's lexer or parser (I don't know) to
read the files and detect where the javascript blocks start and end.

Do you think it's possible to use ANTLR with that purpose? What should be
used
to do that?

Do you know any other tools that do this already?

Thank you,
Bruno Costa 

-- 
View this message in context: http://antlr.1301665.n2.nabble.com/Detecting-javascript-code-tp6073567p6073567.html
Sent from the ANTLR mailing list archive at Nabble.com.


More information about the antlr-interest mailing list