Leex

Robert Virding <>
Sat Sep 2 22:43:31 CEST 2006


OK, I have now added leex to User Contributions section of trapexit.org;

http://forum.trapexit.org/viewforum.php?f=20

Any future updates will go there as well.

My plans are to first stabilise the syntax/semantics of .xrl files and 
then cleanup the leex.erl file so it is more easily usable. I would also 
like to experiment with implementing the DFA, having it as one single 
whopping great recursive function may not be the best way.

You can get the full text of the token, its length and line number in 
the variables TokenChars, TokenLen and TokenLine.

Concerning new features I don't know. It depends on what I can implement 
efficiently and there seems to be a need of. And what I can find the 
time for.

How do you define the column number?

Robert

Vlad Dumitrescu wrote:
> On 9/1/06, Robert Virding <> wrote:
> 
>> OK, here is the leex code.
> 
> 
> Cool!
> 
> I wonder what is the current status of leex, i.e. you plan any major
> changes or just cleanup.
> 
> I would like to be able to get more detailed information in the tokens
> returned (things like column number, offset from the beginning of the
> file and the full text of the token as it was found in the code).
> 
> Would it be useful to include that in the main leex, or should I go
> the way I did for much of the thing I use in erlide: use my own hacked
> version?
> 
> best regards,
> Vlad
> 



More information about the erlang-questions mailing list