[erlang-questions] semantic tagger

Joe Armstrong <>
Wed Apr 25 14:58:00 CEST 2007


Hello, has anybody got a "semantic tagger" that can tag Erlang source
code files?

I want to convert a .erl file into a sequence of tokens

[{Tag, String}]

where Tag is a semantic tag (like comment, variable, atom, functionCall, etc.)
that tags the following string.

Constraint: If I concatenate all the strings in token list I should get the
original file content. I want to preserve all input formatting.

Has anybody done this?

/Joe



More information about the erlang-questions mailing list