41 Commits

Author SHA1 Message Date
3017ced8d9 DEV: A while raft of unit test fixes for error reporting mostly. 2019-10-17 17:57:06 -05:00
e256abfee6 DEV: Plugin the VM to our FileBuilder.
Most of the tests do not yet pass and the main.rs doesn't compile
but we are snapshotting here so we can start fixing unit tests
before we hook directly into the main.rs.
2019-10-17 17:57:06 -05:00
f349293400 FEATURE: Support a convert expression. 2019-06-20 19:28:20 -05:00
85f239a566 REFACTOR: Error handling to use BuildError throughout.
Also removed more extraneous error output.

Contributes toward issue #45
2019-05-29 18:58:13 -05:00
e5f406d4e9 DEV: remove some unneccessary error output.
Working towards Issue #45
2019-05-28 21:08:54 -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
40107cefb6 FEATURE: Parsing and evaluation with optional defaults in select. 2019-03-01 17:10:03 -06:00
c8443b9181 MAINT: The great TODO cleanup. 2019-02-27 19:52:06 -06:00
014710a4ba FEATURE: Allow BuildErrors to wrap other errors. 2019-02-20 20:28:05 -06:00
214045f1a6 FIX: Better error messages for func calls.
Also better more consistency for some type fails in other expressions.
2019-02-08 20:57:13 -06:00
a1bc81ee89 FIX: Better error reporting for copy calls 2019-02-08 19:01:16 -06:00
c3025c710e MAINT: Unit tests for let statement comopile failures 2019-02-08 18:50:58 -06:00
6de26820c8 FEATURE: better error reporting for out statements 2019-02-06 21:06:05 -06:00
d407623709 MAINT: More error test coverage for list parsing. 2019-02-04 18:59:57 -06:00
276c155264 FIX: More error reporting improvements. 2019-02-03 20:56:21 -06:00
efef2bc3d2 FIX: Better error reporting for binary expressions.
Closes #34
2019-02-03 14:09:07 -06:00
a74d44c171 FIX: Even more and better error reporting.
Addresses: #34
2019-02-03 14:08:39 -06:00
2068063a5b FIX: Better error reporting.
Also adds some testing functions to check build failures.

Begins to address Issue #34
2019-02-01 19:17:31 -06:00
f1c7d76fdd REFACTOR: The great renaming macro -> func. 2019-01-24 20:04:40 -06:00
6d5d4c79de FEATURE: Declarative failures.
FIXES: #30
2019-01-19 11:39:37 -06:00
25d84a771e FEATURE: Add the is operator
This operator tests that something is of a certain base type.
2019-01-18 18:47:11 -06:00
ef01f166b2 REFACTOR: Add a little more abstraction for map and filter.
* Clearer and easier to follow code.
* Smaller functions.
* Easier to add future functionality.
2019-01-06 15:45:00 -06:00
05aa57ae7f REFACTOR: Builder => FileBuilder 2018-12-31 11:08:32 -06:00
2b47ca8617 FEATURE: Use UCG_IMPORT_PATH to identify the import paths.
fixes #9
2018-12-13 19:03:22 -06:00
fa96c7c0ef FEATURE: UCG Parameterized Modules
closes #10

Squashed commit of the following:

commit 3101c2bb9a385ed9e84481d36906a3e3ce93e571
Author: Jeremy Wall <jeremy@marzhillstudios.com>
Date:   Wed Nov 21 20:10:31 2018 -0600

    FEATURE: Module evaluation

    * handle evaluating the module definition.
    * Handle performing a module instantiation via the copy syntax.

commit 4ca863896b416e39f0c8eacc53384b9c514f6f14
Author: Jeremy Wall <jeremy@marzhillstudios.com>
Date:   Tue Nov 20 18:38:19 2018 -0600

    FEATURE: Add module parsing expression parsing to ucg.

    changes toward issue #10
2018-11-23 12:51:13 -06:00
a9b374bf33 BUGFIX: Allow empty lists in parsing. 2018-11-21 20:41:54 -06: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
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
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
9370fbe17e FEATURE: Shared cache for all built ucg files. 2018-08-13 23:43:14 -05:00
155a73ba2a DOCS: Add Copyright Notices to files missing them. 2018-07-06 18:53:20 -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
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
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