669 Commits

Author SHA1 Message Date
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
c9b9d1b7ea MAINT: Cleanup dead code. 2019-04-29 19:29:01 -05:00
fcf2b8ae22 MAINT: bump version to v0.6.0 v0.6.0 2019-04-26 19:28:36 -05:00
8d6635bfdf FEATURE: split_on now splits on any string not just a single character. 2019-04-26 19:20:31 -05:00
352f932485 FEATURE: Add a chars attribute to the strings.ops module. 2019-04-26 19:20:31 -05:00
ec756636b0 FEATURE: Add a TRACE pragma for assitance debugging ucg files. 2019-04-26 19:19:43 -05:00
c8e48bd9f4 FEATURE: Cleanup style and idioms in the std library usage. 2019-04-24 19:32:32 -05:00
439ebf74f3 FEATURE: Give modules a reference to self. 2019-04-24 19:13:22 -05:00
f12d264778 DOCS: Add some doc strings for the doc function. 2019-04-19 19:23:32 -05:00
3385c775d3 MAINT: Fix small comment inaccuracy. 2019-04-18 20:22:35 -05:00
b1aa708c6c FEATURE: XML DSL for creating xml documents safely. 2019-04-18 17:48:00 -05:00
1fbd1c0a50 FIX: Bug in dot_lookups
curr_val forms the basis of the scope search but it shouldn't be part of the
lookup expression for the field.
2019-04-18 17:36:16 -05:00
7846c631d0 FIX: use field_name instead of name to avoid colliding with the name field. 2019-04-17 23:02:18 -05:00
524f85102f FEATURE: More robust schema matching.
* Fixed some weirdness with partial matching in shaped.
* Added an all matcher for bundling multiple partial matches together.
2019-04-17 22:17:06 -05:00
643b597e35 FIX: Any should not do partial matches for the candidate shapes. 2019-04-17 21:02:09 -05:00
05771c7221 FIX: Selects nested in tuples with no defaults didn't parse.
fixes #40
2019-04-17 20:48:28 -05:00
68e9c1c119 FIX: Bug in schema module when testing a tuple against a non tuple shape. 2019-04-17 19:34:53 -05:00
0e41a40ab3 FEATURE: Add a function to the mod binding that imports the containing package. 2019-04-16 20:09:27 -05:00
4afac26497 FEATURE: Ops module wrapper idioms for stdlib. 2019-04-15 22:18:46 -05:00
0e2e396ac3 FIX: Include source file for parsing/build errors in the std lib. 2019-04-15 22:18:39 -05:00
76e8510f15 FEATURE: Add len attribute and substr sub module for strings lib. 2019-04-12 21:13:24 -05:00
a8de207c9d DOCS: Update the docs for the testing standard lib 2019-04-09 21:18:55 -05:00
17e22e5cf8 FEATURE: Enforce that flags outputs must be a tuple. 2019-04-09 21:02:36 -05:00
1b2aa4dfd1 REFACTOR: testing module cleanup.
Nesting was unnecessary and added 0 or negative value. So I removed
the nesting.
2019-04-09 20:43:42 -05:00
2cefcdbd6a REFACTOR: Move the converter help text into files
Use the include_str macro to inline the help text.
2019-04-08 22:18:48 -05:00
1f7d405a3b MAINT: Cleanup todos and unnecessary code. 2019-04-08 21:42:39 -05:00
9990c14692 MAINT: bump to v0.5.8 2019-04-04 20:28:53 -05:00
d31d5ed454 DOC: Fill out the reference overview more. 2019-03-29 12:57:26 -04:00
d3f7e49790 DOCS: Add an intro tutorial with json output. 2019-03-29 12:43:15 -04:00
2e38a3486e FIX: import cycle detection which was broken. 2019-03-29 10:24:07 -04:00
76899cb481 MAINT: Use writeln! instead of write! 2019-03-26 21:29:42 -04:00
97d2493441 MAINT: remove unnecessary cloning 2019-03-26 21:09:16 -04:00
df8834dddc FIX: Grouped Expressions store their position properly now. 2019-03-26 20:45:33 -04:00
561b277b24 MAINT: Fix up some TODO documentation. 2019-03-26 08:29:01 -04:00
d13c79729c Escape the string for the Display trait for VAL. 2019-03-25 21:06:51 -04:00
a5fe59bb7c Add help text functionality for converters. 2019-03-25 20:34:40 -04:00
263e91c9f9 MAINT: Cleanup some todos and wording. 2019-03-23 21:16:30 -05:00
708f23c674 MAINT: cleanup old FIXME comment. 2019-03-21 19:53:49 -05:00
b6a7f9778c FEATURE: OS portable import and include paths.
Adds #38
2019-03-20 20:08:43 -05:00
f86d9b8ec6 FIX: Better error messages when importing.
If the path or directory doesn't exist show the invalid path in the
error message.

Fixes #37
2019-03-19 20:11:26 -05:00
8a1661982a DOCS: An errant space was messing with some markdown renderers 2019-03-04 20:39:54 -06:00