18 Commits

Author SHA1 Message Date
38d5721619 REFACTOR: Cleanup the syntax for the select expr
This makes it both easier to correctly write a select expression
as well as easier to parse and report syntax errors.
2019-11-09 17:35:59 -06:00
b9309ce12b FIX: Don't print an extraneous new line on fmt.
Fixes: #49
2019-10-02 19:55:40 -05:00
685917876b DEV: A bunch of improvments
* move comments on the same line up to the previous line.
* All statements should have two new lines between them.
* Handle comments with indentation whitespace properly.
2019-05-24 15:26:11 -05:00
ff2aafeb98 DEV: Handle grouped comments with embedded comments. 2019-05-23 19:57:51 -05:00
157f123355 DEV: Handle the functional operators with embedded comments. 2019-05-23 19:52:03 -05:00
f88955517e DEV: Handle TRACE, fail, and format expressions with embedded comments. 2019-05-22 19:05:48 -05:00
e6f6421ca6 DEV: Handle comments embedded in binary expressions and call expressions. 2019-05-22 18:52:10 -05:00
a21d4bd235 DEV: Handle comments between list elements. 2019-05-22 18:34:42 -05:00
94ca738ee1 DEV: Handle comments in tuple field expressions 2019-05-22 18:29:25 -05:00
957d0c6102 DEV: Handle comments between statements. 2019-05-21 20:54:15 -05:00
d884ea9385 REFACTOR: Remove the err field, rename indent -> indent_size 2019-05-21 18:41:15 -05:00
6661e02a75 DEV: Generate a comment map as part of our tokenization.
The comment_map is optional but if passed in it will be populated
during tokenization.
2019-05-20 21:05:58 -05:00
f3a08718dc MAINT: Tests for fail and trace expressions. 2019-05-17 21:21:20 -05:00
aa9e664c0d FEATURE: Improvements to format expression printing. 2019-05-17 21:19:01 -05:00
9b99bc026c FEATURE: Improvements to func expression pretty printing. 2019-05-17 20:06:06 -05:00
0d78438c2a FEATURE: Fix bug in out statements;
Also add tests for modules.
2019-05-17 19:58:48 -05:00
cd6307824f FEATURE: more fixes and unit tests.
Call and copy have been tweaked properly.
2019-05-17 19:31:29 -05:00
d122fe6e6f FEATURE: Fix a number of bugs found by adding unit tests :-D 2019-05-17 18:33:47 -05:00