3 releases

0.1.2 Feb 29, 2020
0.1.1 Feb 28, 2020
0.1.0 Feb 2, 2020

#2503 in Parser implementations

45 downloads per month
Used in luaparser

MIT license

32KB
786 lines

pipeline status version license

lualexer

A lexer that reads lua code and produces tokens.

The crate provides two different lexers:

  • FastLexer: skips all the whitespace tokens
  • FullLexer: produces every tokens

This project is in early development so things could change rapidly, as its purpose is only to support the luaparser crate.

License

lualexer is available under the MIT license. See LICENSE.txt for details.


lib.rs:

A lexer that reads Lua code and produces tokens. The crate provide two different lexers:

  • FastLexer: skips all the whitespace tokens
  • FullLexer: produces every tokens

No runtime deps