Hendrik Wendler wrote:
for something like a script interpreter - or better
a script assembler - i need a routine, lib or anything
that extracts identifiers. what i want to do is
assemble short script templates
into one.
does anyone know a simple and efficient (runtime + realtime!)
way to extract identifiers (variables&function names) from
a language like c, javascript ? i know i could do it with
yacc/flex, but is there a simpler way to do it?
Look at the source code to id2id. See:
<http://cbfalconer.home.att.net/download/id2id-20.zip>
--
Chuck F (cb********@yahoo.com) (cb********@worldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!