Package lua-module-lua-parser-loose: Information
Danger alert: Package removed from sisyphus repository
Source package: lua-module-lua-parser-loose
Version: 0.1-alt4_lr1.git.g67f9007
Build time: Jul 13, 2017, 07:19 PM in the task #185363
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: Aleksei Nikiforov
Last changed
July 13, 2017 Aleksei Nikiforov 0.1-alt4_lr1.git.g67f9007
- Rebuild with new luarocks and lua-5.3
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)