5a20012fcb
Better more reliable path normalization
2021-03-10 20:45:06 -05:00
3d34355fe7
DEV: AST enum for a shape.
2020-05-25 14:23:25 -04:00
159af40e7c
DEV: Unify the path rewriting
2020-05-25 12:15:55 -04:00
3052f7d7a8
DEV: Improve the Walk trait a bit.
2020-05-25 11:01:38 -04:00
89a06135c9
MAINT: cleanup an errant dbg!
2020-01-04 08:12:22 -06:00
13f0749ac8
FIX: v0.7.0 completely broke stdlib loading.
2019-12-09 20:11:42 -06:00
632019ac18
DEV: Implement primitive casting.
2019-11-11 20:06:17 -06:00
7e3e598423
Merge branch 'master' into bytecode
2019-11-09 19:42:34 -06:00
2c927ed0e5
MAINT: Cleanup TODOs
2019-11-09 19:09:15 -06:00
b36a9513eb
MAINT: eprintln and dbg cleanup
2019-11-09 18:54:46 -06:00
9b57ca5aa7
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 18:05:48 -06:00
6f714e6583
DEV: Canonicalize is never the right thing on windows.
2019-11-09 15:39:32 -06:00
34636a1743
MAINT: cargo fmt
2019-11-03 14:20:25 -06:00
db9b7aef43
DEV: More Windows file path handling fixes.
2019-11-03 14:19:14 -06:00
a90df8a362
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-02 11:01:47 -05:00
ac4dc2addd
DEV: All unit tests pass.
2019-10-17 17:57:06 -05:00
cd23430f5f
DEV: Complex Format expressions are supported now.
2019-10-17 17:57:04 -05:00
b9309ce12b
FIX: Don't print an extraneous new line on fmt.
...
Fixes : #49
2019-10-02 19:55:40 -05:00
49a64251a4
MAINT: cargo fix
...
Mostly to add the dyn keyword all the places where it will soon
be required.
2019-09-18 20:09:57 -05:00
7e88ed4d84
FIX: deprecated and unsafe code revealed by 1.36 rust release.
2019-07-11 14:53:11 -05:00
f349293400
FEATURE: Support a convert expression.
2019-06-20 19:28:20 -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
c9b2b9994f
DEV: Handle some more expressions.
2019-05-23 20:10:18 -05:00
82d6ca9ecb
DEV: Handle comments embedded in not, import or include expressions
2019-05-23 20:02:31 -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
525cdd32e6
FEATURE: Use the AST Pretty Printer for TRACE and assert output.
2019-05-17 19:49:13 -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
e86827f613
FEATURE: Begin the work of pretty printing the AST.
2019-05-17 17:20:57 -05:00
2821d0953b
FEATURE: First make our AST Walker a little more ergonomic.
...
Use a trait instead of callbacks to make mutable it possible to support
Walkers with mutable internal state when necessary.
2019-05-14 20:54:06 -05:00
ec756636b0
FEATURE: Add a TRACE pragma for assitance debugging ucg files.
2019-04-26 19:19:43 -05:00
df8834dddc
FIX: Grouped Expressions store their position properly now.
2019-03-26 20:45:33 -04:00
e095cb3235
REFACTOR: AST changes to support optional defaults.
2019-03-01 16:52:08 -06:00
c8443b9181
MAINT: The great TODO cleanup.
2019-02-27 19:52:06 -06:00
d9b2c0cb00
FEATURE: out expression for modules.
...
issue #35
2019-02-21 20:09:47 -06:00
8639912567
FEATURE: BuildError no longer requires a position.
2019-02-19 17:38:13 -06:00
c7a87894ba
FEATURE: Add the %%
modulo operator.
2019-02-18 21:09:42 -06:00
6de26820c8
FEATURE: better error reporting for out statements
2019-02-06 21:06:05 -06:00