Name : lua-module-lua-parser-loose Relocations: (not relocatable) Version : 0.1 Vendor: ALT Linux Team Release : alt3_lr1.git.g67f9007 Build Date: Wed Oct 29 07:42:10 2014 Install date: (not installed) Build Host: ildar-sisyphus.hasher.altlinux.org Group : Development/Other Source RPM: (none) Size : 65216 License: MIT/X11 Packager : Ildar Mulyukov URL : 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.