8 Commits

Author SHA1 Message Date
685ee7407e FEATURE: make macros close over their environment.
The benefits are great enough to allow this and the benefits of
not allowing closures are not terribly useful.

We do not get the same benefits for modules though so we don't add
it to them.
2019-01-14 18:23:39 -06:00
d989e47706 FEATURE: Use a better DSL for unit tests.
* Assert now requires a tuple instead of a string containing
  statements.
* We include a helpful ucg based unit testing module.

Fixes: #26
2019-01-10 17:17:57 -06:00
f5ed6deec2 TESTS: more test coverage in the integration tests. 2019-01-08 17:22:46 -06:00
cb2f83f2ca BUGFIX: Calling macros with no arguments could not be parsed. 2018-11-20 18:23:10 -06:00
d2f0ea9f24 FEATURE: Better error reporting.
Slight change to how assert works to support this. We no longer automatically add
a semicolon to the expressions we require the user to right them. This updates the
docs to illustrate that and reformats our integration test suite for this and
readability.
2018-11-06 19:40:56 -06:00
bd4c9a26c0 BUGFIX: Binary Expressions would abort early in compare expressions. 2018-08-22 18:58:48 -05:00
a7a32d56b2 FEATURE: More ergonomic syntax for asserts. 2018-08-20 22:51:55 -05:00
cb31ec8e31 TESTS: Add some integration tests. 2018-08-17 22:09:57 -05:00