Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | viml/parser/expressions: Add support for parsing assignments | ZyX | 2017-11-12 |
| | |||
* | vim/api: Actually dump AST, fix some bugs in nvim_parse_expression | ZyX | 2017-11-06 |
| | |||
* | *: Fix linter errors | ZyX | 2017-10-30 |
| | | | | Big function in expressions.c may be refactored, if I ever catch the idea how to split it right. | ||
* | api/vim: Add nvim_parse_expression function | ZyX | 2017-10-29 |
| | |||
* | viml/parser/expressions: Remove unused flag | ZyX | 2017-10-16 |
| | |||
* | viml/parser/expressions,klee: Fix some problems found by KLEE run | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Finish parser | ZyX | 2017-10-15 |
| | | | | | | | Note: formatc.lua was unable to swallow some newer additions to ExprASTNodeType (specifically `kExprNodeOr = '|'` and probably something else), so all `= …` were dropped: in any case they only were there in order to not bother updating viml_pexpr_debug_print_ast_node and since it is now known all nodes which will be present it is not much of an issue. | ||
* | viml/parser/expressions: Add support for string parsing | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Add support for the dot operator and numbers | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Make lexer parse numbers, support non-decimal | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Add support for comparison operators | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Add support for ternary operator | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Fix determining invalid commas/colons | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Add a way to adjust lexer | ZyX | 2017-10-08 |
| | | | | | | | It also adds support for kExprLexOr which for some reason was forgotten. It was only made sure that KLEE test compiles in non-KLEE mode, not that something works or that KLEE is able to run tests. | ||
* | viml/parser/expressions: Add support for figure braces (three kinds) | ZyX | 2017-10-08 |
| | |||
* | viml/parser/expressions: Start creating expressions parser | ZyX | 2017-10-08 |
| | | | | | | | | | | | | | | Currently supported nodes: - Register as it is one of the simplest value nodes (even numbers are not that simple with that dot handling). - Plus, both unary and binary. - Parenthesis, both nesting and calling. Note regarding unit tests: it stores data for AST in highlighting in strings in place of tables because luassert fails to do a good job at representing big tables. Squashing a bunch of data into a single string simply yields more readable result. | ||
* | viml/expressions: Add lexer with some basic tests | ZyX | 2017-10-08 |