Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| | * | | | | | | | tests: Fix testlint errors | ZyX | 2017-11-06 | |
| | | | | | | | | | ||||
| | * | | | | | | | Merge branch 'master' into expression-parser | ZyX | 2017-10-30 | |
| | |\ \ \ \ \ \ \ | ||||
| | * | | | | | | | | syntax,viml/parser/expressions: Add missing highlight groups | ZyX | 2017-10-29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adjusts some names. | |||
| | * | | | | | | | | syntax,viml/expressions/parser: Create defaults for expr highlighting | ZyX | 2017-10-29 | |
| | | | | | | | | | | ||||
| | * | | | | | | | | ex_getln: Make use of new parser to color expressions | ZyX | 2017-10-29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Retires g:Nvim_color_expr callback. | |||
| | * | | | | | | | | klee: Update vim_str2nr in mock as well | ZyX | 2017-10-29 | |
| | | | | | | | | | | ||||
| | * | | | | | | | | unittests: Avoid alloc log checking errors when printing tests | ZyX | 2017-10-29 | |
| | | | | | | | | | | ||||
| | * | | | | | | | | viml/parser/expressions: Fix last error found by KLEE | ZyX | 2017-10-29 | |
| | | | | | | | | | | ||||
| | * | | | | | | | | viml/parser/expressions: Fix some errors spotted by KLEE | ZyX | 2017-10-19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not all of them are fixed yet though. | |||
| | * | | | | | | | | viml/parser/expressions: Remove unused flag | ZyX | 2017-10-16 | |
| | | | | | | | | | | ||||
| | * | | | | | | | | klee: Add run.sh --help and run.sh -s | ZyX | 2017-10-16 | |
| | | | | | | | | | | ||||
| | * | | | | | | | | unittests: Free everything and check for memory leaks | ZyX | 2017-10-16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also improves error reporting. | |||
| | * | | | | | | | | klee: Fix possible assertion error | ZyX | 2017-10-16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No idea how it did not happen to hit me yet. | |||
| | * | | | | | | | | test/unit/formatc: Fix parsing of most recent viml_parser_highlight | ZyX | 2017-10-16 | |
| | | | | | | | | | | ||||
| | * | | | | | | | | klee: Update key_name_entry table | ZyX | 2017-10-16 | |
| | | | | | | | | | | ||||
| | * | | | | | | | | klee: Include colors in test | ZyX | 2017-10-16 | |
| | | | | | | | | | | ||||
| | * | | | | | | | | viml/parser/expressions: Highlight prefix separately from number | ZyX | 2017-10-16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should make accidental octals more visible. | |||
| | * | | | | | | | | charset: Do not call strlen() from vim_str2nr | ZyX | 2017-10-16 | |
| | | | | | | | | | | ||||
| | * | | | | | | | | charset: Avoid overflow in vim_str2nr | ZyX | 2017-10-16 | |
| | | | | | | | | | | ||||
| | * | | | | | | | | Merge branch 'master' into expression-parser | ZyX | 2017-10-15 | |
| | |\ \ \ \ \ \ \ \ | ||||
| | * | | | | | | | | | viml/parser/expressions,klee: Fix some problems found by KLEE run | ZyX | 2017-10-15 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | viml/parser/expressions,tests: Add AST freeing, with sanity checks | ZyX | 2017-10-15 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | unittests: Test some edge cases | ZyX | 2017-10-15 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | viml/parser/expressions: Create tests for latest additions | ZyX | 2017-10-15 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | klee: Fix some errors made in …parser.c | 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 subscript and list literals | ZyX | 2017-10-15 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | viml/parser/expressions: Error out on multiple colons in a row | 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: Forbid dot or alpha characters after a float | ZyX | 2017-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 operators | ZyX | 2017-10-15 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | viml/parser/expressions: Make sure that arrows outside lambda throw | 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: Fix call inside nested parenthesis | ZyX | 2017-10-15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It may have incorrectly tried to call everything because of essentially “value” nodes being treated as not such. | |||
| | * | | | | | | | | | unittests: Add support for dumping “expected” state | ZyX | 2017-10-08 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose is similar to that of `screen:snapshot_util()`, but in different domain. | |||
| | * | | | | | | | | | 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: Make curly braces name actually work | ZyX | 2017-10-08 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | viml/parser/expressions: Make commas actually work when calling | ZyX | 2017-10-08 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | viml/parser/expressions: Make commas actually work when calling | ZyX | 2017-10-08 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | viml/parser/expressions: Add support for figure braces (three kinds) | ZyX | 2017-10-08 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | klee: Start preparing for klee tests | ZyX | 2017-10-08 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First stage: something compiling without klee, but with a buch of dirty hacks - done. Second stage: something running under klee, able to emit useful results, but still using dirty hacks - done. Third stage: make CMake care about clang argumnets - not done, may be omitted if proves to be too hard. Not that klee can be run on CI in any case. | |||
| | * | | | | | | | | | 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. | |||
| | * | | | | | | | | | unittests: Move some functions into helpers modules | ZyX | 2017-10-08 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | viml/parser: Handle encoding conversions | ZyX | 2017-10-08 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | viml/expressions: Add lexer with some basic tests | ZyX | 2017-10-08 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | unittests: Add a way to print trace on regular error | ZyX | 2017-09-29 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | test/helpers: Add format_string and format_luav | ZyX | 2017-09-29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First intended to provide %r functionality like in Python (and also support for %*.*s, but this was not checked), second adds nice table formatting for use in cases similar to screen:snapshot_util(). |