Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-23 | tests: create custom tests from current tests cases | Petr Štetiar | |
Signed-off-by: Petr Štetiar <ynezz@true.cz> | |||
2021-02-17 | treewide: rewrite ucode interpreter | Jo-Philipp Wich | |
Replace the former AST walking interpreter implementation with a single pass bytecode compiler and a corresponding virtual machine. The rewrite lays the groundwork for a couple of improvements with will be subsequently implemented: - Ability to precompile ucode sources into binary byte code - Strippable debug information - Reduced runtime memory usage Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2020-11-30 | syntax: recognize single-char escapes in regex literals again | Jo-Philipp Wich | |
Ensure that the single char escapes `\a`, `\b`, `\e`, `\f`, `\n`, `\r`, `\t` and `\v` keep working. Since they're not part of the POSIX extended regular expression spec, they're not handled by the RE engine so we need to substitute them by their actual byte value while parsing the literal. Fixes: ac5cb87 ("syntax: fix string and regex literal parsing quirks") Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2020-11-30 | syntax: fix string and regex literal parsing quirks | Jo-Philipp Wich | |
- Do not interprete escape sequences in regexp literals - Do not improperly substitute control escape sequences such as `\n` or `\a` after a backslash Signed-off-by: Jo-Philipp Wich <jo@mein.io> |