All Projects → rvirding → Leex

rvirding / Leex

Licence: bsd-2-clause
Lexical analyzer generator for Erlang

Programming Languages

erlang
1774 projects

Leex is a lexical analyzer generator for Erlang. It allows you to tokenize a textual input stream so that it can be grammatically analyzed and processed by parsers such as yecc. It has now been included in the standard OTP distribution, at least experimentally, in parsetools. I will update this site to be compatible with the distribution, but after that all leex development I do will be done here.

If you are looking at a good article on how to use leex and yecc try: http://relops.com/blog/2014/01/13/leex_and_yecc/

v0.5

Use the distribution code as base.

Define LEEXLIB can be used to set where to find include file.

No longer uses module regexp but has own regular expression parser.

v0.4

This is the last version of leex which is NOT part of the distribution!

A minor documentation fix and a critical bug-fix for token/3.

v0.3

Added options to pushback characters into the input stream.

Can now handle full unicode character sets in both input file and generated scanner. Of course i/o system can't generate such an input file yet.

Enforce headings for all sections of .xrl file.

Added verbose flag to control printing of parsing information.

Fixed bug with completely empty erlang code section.

v0.2

Added includefile option. Search for include file in current directory or leex/include lib dir.

Restored text file version of documentation until I edoc and I are in agreement.

Upgraded erlang_scan.xrl to full erlang tokeniser.

Now use line number of token start.

Thanks to Sébastien Arnaud who did the first packaging of leex for git. Email: [email protected] Github: http://github.com/arnaudsj/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].