183 Commits

Author SHA1 Message Date
fb5247e98f FEATURE: Use offsets for errors when parsing an assert. 2018-08-30 19:50:57 -05:00
d288924fbb FEATURE: output the parse or build errors of assert statements. 2018-08-29 20:12:54 -05:00
6bcf822c41 FEATURE: Allow Quoted strings as a field name in Tuples.
Also add tuple specific regression tests.
2018-08-24 21:19:18 -05:00
ae419ea3e7 REFACTOR: Move the ucg IR into it's own module. 2018-08-24 19:36:36 -05:00
3ed8fe332f FEATURE: Support boolean and EMPTY as a format string variable.
Also add format string regression tests.
2018-08-24 19:36:22 -05:00
aa88f5a196 MAINT: Add regression tests for concatenation. 2018-08-24 19:19:47 -05:00
f982194518 FEATURE: Allow filtrator expressions to return boolean.
Also a bugfix where we were accidentally mapping instead of filtering.
2018-08-22 18:57:38 -05:00
f9cdd4f3f6 BUGFIX: Regression tests for our list operators and bugfixes. 2018-08-21 23:05:42 -05:00
523e2db483 TESTS: Add select expression integration tests. 2018-08-20 23:05:34 -05:00
b87d75c5c7 TESTS: Add a whole raft of integration tests.
* Integrate them into the build::comopile_test module as well.
2018-08-20 22:16:42 -05:00
3a90812d41 FEATURE: Handle directories and recursing.
The build and validate commands can nor process directories and recurse if desired.
2018-08-17 22:09:51 -05:00
ed87ca353b MAINT: TODO cleanups. 2018-08-15 18:49:11 -05:00
ca982dfc02 BUGFIX: Error message for parse errors reported wrong file name. 2018-08-15 18:37:31 -05:00
6418533562 UI: Command line subcommands and arguments are more usable.
The build and validate commands now take a list of files to process.

The outputs for files that specify the are given the same name as
the containing file with the extension changed to the extension that
the converter specifies.
2018-08-15 18:32:28 -05:00
be1fb4e678 FIX: Fixes some bugs with the import processing. 2018-08-14 16:12:02 -05:00
9370fbe17e FEATURE: Shared cache for all built ucg files. 2018-08-13 23:43:14 -05:00
f3e769095d FEATURE: Parse out statements. 2018-08-13 20:37:58 -05:00
3779c4912d CLEANUP: Documentation and public interface.
* Added missing docs for public methods or functions.
* Made private methods or functions that didn't need to be exposed.
* Cleaned up spelling and grammar on some of the docstrings.
2018-07-16 17:32:09 -05:00
155a73ba2a DOCS: Add Copyright Notices to files missing them. 2018-07-06 18:53:20 -05:00
5d32dc83a4 CLEANUP: Fix naming to not collide with String when using. 2018-06-10 14:13:08 -05:00
bb198d9d02 FIXES: Unit test and fixing performance regressions. 2018-06-10 13:51:19 -05:00
3524a5df73 FEATURE: Comparison binary expressions now support non-compare expressions on both sides. 2018-06-06 21:02:02 -05:00
3d7c70aa2a TESTS: Use EVAL as the file name for our compile test. 2018-06-06 20:38:53 -05:00
2d71145813 FEATURE: Evaluation of an Assert Statement. 2018-06-06 20:38:53 -05:00
223d0cecf0 FEATURE: Parsing support for assert statements. 2018-06-06 20:38:53 -05:00
c008d689a1 FEATURE: Error message improvements.
Selector path lookup errors render better.
We also include the actual file name we are parsing now.
2018-05-30 22:31:55 -05:00
e926bdd733 Add filename information to the builder error messages. 2018-05-29 20:54:53 -05:00
e86186b709 CLEANUP: Formatting
cargo fmt
2018-05-29 20:48:57 -05:00
a821ff6313 FEATURE: Use normalized paths for the import cached lookup 2018-05-28 13:18:50 -05:00
cfd5f085cd TESTS: operator precedence compiler test. 2018-05-27 21:14:36 -05:00
2df6cece33 CLEANUP: Extraneous TODOs 2018-05-27 21:07:07 -05:00
bfdf5da834 CLEANUP: FIXME comments 2018-05-27 14:55:21 -05:00
fdd8a35086 CLEANUP: The great test module refactor.
Move tests into a separate file for more manageable file
organization.
2018-05-22 18:58:08 -05:00