aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/viml/parser
Commit message (Collapse)AuthorAge
...
* viml/parser/expressions: Add support for subscript and list literalsZyX2017-10-15
|
* viml/parser/expressions: Error out on multiple colons in a rowZyX2017-10-15
|
* viml/parser/expressions: Add support for the dot operator and numbersZyX2017-10-15
|
* viml/parser/expressions: Make lexer parse numbers, support non-decimalZyX2017-10-15
|
* viml/parser/expressions: Forbid dot or alpha characters after a floatZyX2017-10-15
| | | | | This is basically what Vim already does, in addition to forbidding floats should there be a concat immediately before it.
* viml/parser/expressions: Add support for comparison operatorsZyX2017-10-15
|
* viml/parser/expressions: Make sure that arrows outside lambda throwZyX2017-10-15
|
* viml/parser/expressions: Add support for ternary operatorZyX2017-10-15
|
* viml/parser/expressions: Fix determining invalid commas/colonsZyX2017-10-15
|
* viml/parser/expressions: Fix call inside nested parenthesisZyX2017-10-15
| | | | It may have incorrectly tried to call everything because of essentially “value” nodes being treated as not such.
* viml/parser/expressions: Add a way to represent tokens from C codeZyX2017-10-15
|
* viml/parser/expressions: Add a way to adjust lexerZyX2017-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: Make curly braces name actually workZyX2017-10-08
|
* viml/parser/expressions: Make commas actually work when callingZyX2017-10-08
|
* viml/parser/expressions: Make commas actually work when callingZyX2017-10-08
|
* viml/parser/expressions: Add support for figure braces (three kinds)ZyX2017-10-08
|
* viml/parser/expressions: Start creating expressions parserZyX2017-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/parser: Add helper functions for highlightingZyX2017-10-08
|
* viml/parser: Handle encoding conversionsZyX2017-10-08
|
* viml/expressions: Add lexer with some basic testsZyX2017-10-08