Package lua-module-lua-parser-loose: Information
Source package: lua-module-lua-parser-loose
Version: 0.1-alt3_lr1.git.g67f9007
Build time: Oct 29, 2014, 07:46 AM in the task #133542
Category: Development/Other
Report package bugHome page: https://github.com/davidm/lua-parser-loose
Summary: loose parsing of Lua code, ignoring syntax errors
Description:
Does loose parsing of Lua code. If the code has syntax errors, the parse does not abort; rather, some information (e.g. local and global variable scopes) is still inferred. This may be useful for code interactively typed into a text editor. Characteristics of this code: - Parsing does not construct any AST but rather streams tokens. It should be memory efficient on large files. It is also pretty fast. - Very loose parsing. Does not abort on broken code. Scopes of local variables are still resolved even if the code is not syntactically valid. - Above characteristics make it suitable for use in a text editor, where code may be interactively typed. - Loose parsing makes this code somewhat hard to validate its correctness, but tests are performed to verify robustness. - The parsing code is designed so that parts of it may be reused for other purposes in other projects.
Maintainer: Ildar Mulyukov
Last changed
Oct. 29, 2014 Ildar Mulyukov 0.1-alt3_lr1.git.g67f9007
- real new version (previous had wrong tag)
Oct. 27, 2014 Ildar Mulyukov 0.1-alt2_lr1.git.g67f9007
- new version (Paul Kulchenko's fork)
Oct. 17, 2014 Ildar Mulyukov 0.1-alt1_lr1.git.gf3d5901
- git HEAD (commit f3d5901bb3062a6723e17a2cb3a4baeb139419be)