[erlang-questions] semantic tagger

Ulf Wiger ulf@REDACTED
Wed Apr 25 18:34:51 CEST 2007

I did it to some extent in CCviewer, but I wouldn't recommend reusing the

I think that for starters, the token scanner needs to preserve column
I think the standard tokenizer should have an option to do this.

Ulf W

2007/4/25, Joe Armstrong <erlang@REDACTED>:
> 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
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070425/9fe88a91/attachment.htm>

More information about the erlang-questions mailing list