425 Commits

Author SHA1 Message Date
8d73b5f648 CLEANUP: Don't use file everywhere in error messages. 2018-11-28 20:48:04 -06:00
163420ff55 REFACTOR: More consistent naming for Builder methods. 2018-11-28 20:23:32 -06:00
960dbef591 REFACTOR: Pass file into the constructor for builders. 2018-11-28 20:11:34 -06:00
02cc210eb2 Recurse flag can be used with flag input as arguments. 2018-11-27 17:48:41 -06:00
9d2d3843a5 MAINT: comment cleanup. 2018-11-27 15:03:27 -06:00
e95b9b0455 MAINT: Bump Version to v0.2.6 v0.2.6 2018-11-27 11:48:51 -06:00
fe4bb1c9d7 FEATURE: allow tuples to have true or false as field names.
this allows selects where the condiotion is a boolean and you can choose
the true or false branch.
2018-11-26 23:08:14 -06:00
4305fe0bcd DOCS: document the strict mode behavior for env variables. 2018-11-26 21:42:12 -06:00
17a721a600 FEATURE: Use a command line flag to turn off strict mode. 2018-11-26 21:38:00 -06:00
aa183960d3 FEATURE: support a strict mode for building.
When strict mode is off then give a warning for unset env variables
and return NULL.
2018-11-26 21:36:50 -06:00
1365a38700 FEATURE: Check bindings against the reserved word list for imports and let bindings. 2018-11-26 20:22:37 -06:00
5e07f24d91 FEATURE: handle ENPTY specially. in copy expressions. 2018-11-25 13:26:47 -06:00
b797f099b4 REFACTOR: root is actually always a file. Lets call it as such.
Also have a helper function to get the current build_dir.
2018-11-25 13:03:33 -06:00
9524cd9d25 DOCS: Add quoted fields for tuples to the documentation. 2018-11-25 12:44:04 -06:00
89694f957e MAINT: bump version to 0.2.5 v0.2.5 2018-11-23 13:16:08 -06:00
64e3b793ae DOCS: Update docs for Modules.
Also since We have the reference site now not longer embed the reference in the library
documentation.
2018-11-23 13:14:29 -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
0ff3472011 Bump version to 0.2.4
BugFix for macro calls with no arguments.
v0.2.4
2018-11-20 18:40:13 -06:00
cb2f83f2ca BUGFIX: Calling macros with no arguments could not be parsed. 2018-11-20 18:23:10 -06:00
11f86ea8f8 MAINT: Grammar, Spelling, and minor content fixes. 2018-11-18 14:50:30 -06:00
4875a0d75d MAINT: More incremental site builds. 2018-11-18 13:58:29 -06:00
e8e3ffab2c FEATURE: Pretty print json output
closes #7
2018-11-18 13:56:38 -06:00
5dbf0eca3f MAINT: general formatting and cleanup for the docsite. 2018-11-17 22:28:25 -06:00
0053afbe0c DOCS: Add a reference for converters to the docsite and some examples.
Also update the README to point to the Docsite as well.
2018-11-17 22:11:52 -06:00
929a1ef180 BUGFIX: Separate env variables with a new line. 2018-11-17 21:49:56 -06:00
655f85a5b1 BUGFIX: A bug in boolean values for flag converters. 2018-11-17 21:40:37 -06:00
c20190e8e2 Add our documentation site using gutenberg and ucg.
* gutenberg generates the documentation site
* ucg configures the Google cloud storage bucket.
2018-11-17 17:51:18 -06:00
eebe0bbe67 FEATURE: Add toml as an output converter.
closes #4
2018-11-16 13:26:11 -06:00
034aa45458 MAINT: Bump to v0.2.3 v0.2.3 2018-11-16 10:42:37 -06:00
bdf56f6d3c FEATURE: Allow self references when doing a tuple copy.
Closes #3
2018-11-16 10:36:06 -06:00
0bbb417f69 FIXES: Fixed bug when recursing through directories.
Also removed unnecessary print statements.
2018-11-16 08:54:30 -06:00
15026423db REFACTOR: Rename our error::Error type to BuildError. 2018-11-12 18:07:31 -06:00
39b6fea2fe MAINT: Fix code formatting in README.md 2018-11-07 18:07:49 -06:00
5fb568b253 MAINT: Bump version to 0.2.2 v0.2.2 2018-11-06 19:47:24 -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
d254ff3f94 FIX: Don't use debug to print out the errors.
Also fix some formatting.
2018-11-06 18:45:03 -06:00
be4feb12ba MAINT: Documentation updtes for the output statement. 2018-11-06 18:14:01 -06:00
c9180dffeb MAINT: Bump version to 0.2.1 v0.2.1 2018-11-05 21:38:17 -06:00
6712fc9bb5 Merge squash of the no_more_nom branch
commit e4c80b19f5149fb7dba0a9b785e22ff5323b5470
Author: Jeremy Wall <jeremy@marzhillstudios.com>
Date:   Sun Nov 4 09:54:16 2018 -0600

    FEATURE: report better stacktraces for parsing.

commit 24b97c1037d6ddbe21f32e172b1c14cd2cfb9910
Author: Jeremy Wall <jeremy@marzhillstudios.com>
Date:   Wed Oct 17 19:00:29 2018 -0500

    FEATURE: Use context for our error reporting.

commit c22d397545e7575608e34561a274745b28be8c2c
Author: Jeremy Wall <jeremy@marzhillstudios.com>
Date:   Sun Oct 14 14:18:42 2018 -0500

    FIX: Better error reporting.

commit 7f47dc3f38bf6a3e8686c1fa3fd50ef97d4bf3af
Author: Jeremy Wall <jeremy@marzhillstudios.com>
Date:   Sat Oct 13 19:42:22 2018 -0500

    REFACTOR: Pass our offsets everywhere.

commit 91d7ed690bfd9989270ba9fa4f44c70f513d54b9
Author: Jeremy Wall <jeremy@marzhillstudios.com>
Date:   Sun Sep 23 15:08:45 2018 -0500

    REFACTOR: Use abortable_parser.
2018-11-05 21:34:12 -06:00
29aed2c997 FEATURE: Some better error reporting. 2018-09-02 10:05:08 -05:00
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
0003e1b9c3 FEATURE: Default to printing out our help if no subcommand is used. 2018-08-26 15:46:52 -05:00
cbd767d81b MAINT: remove the yaml todo. 2018-08-25 18:40:02 -05:00
d0fac74a1f Bump version to 0.2.0 v0.2.0 2018-08-25 18:39:25 -05:00
676f897189 FEATURE: Add YAML converter. 2018-08-25 18:39:25 -05:00
5d86b49498 BUGFIX: Fix early exit in our do_compile. 2018-08-25 18:39:25 -05:00
af986a269f MAINT: fix travis configuration with new command. 2018-08-25 18:39:25 -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