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
17a721a600
FEATURE: Use a command line flag to turn off strict mode.
2018-11-26 21:38:00 -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
0bbb417f69
FIXES: Fixed bug when recursing through directories.
...
Also removed unnecessary print statements.
2018-11-16 08:54:30 -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
0003e1b9c3
FEATURE: Default to printing out our help if no subcommand is used.
2018-08-26 15:46:52 -05:00
5d86b49498
BUGFIX: Fix early exit in our do_compile.
2018-08-25 18:39:25 -05:00
4795945caf
Change the validate command to test.
2018-08-24 19:47:15 -05:00
c3048915d4
BUGFIX: Errors in validation reporting.
2018-08-22 18:59:40 -05:00
398fbc7e1b
FEATURE: Support limited help for the available converters.
2018-08-22 00:13:11 -05:00
9fdc845e77
BUGFIX: Properly run only _test.ucg files in validation.
...
* Fix the validate logic for file filtering.
* Add a summary of the files run and their pass/fail status.
2018-08-20 22:06:52 -05:00
afa2cfb546
MAINT: More wording fixes. Grammar and such.
2018-08-18 13:47:08 -05:00
734bf01385
MAINT: Improved wording in our build messages.
2018-08-17 22:09:57 -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
1d09d30ff6
MAINT: Doc and usage string fixes.
2018-08-15 18:54:08 -05:00
ed87ca353b
MAINT: TODO cleanups.
2018-08-15 18:49:11 -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
5e6da71ff2
Cut the v0.1.5 release.
2018-07-04 12:48:33 -05:00
db9617bd6f
REFACTOR: Don't presume io::Result for the converter Result.
2018-06-18 22:07:18 -05:00
5f0812b975
FEATURE: Turn on validate_mode for the validate subcommand only.
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
a821ff6313
FEATURE: Use normalized paths for the import cached lookup
2018-05-28 13:18:50 -05:00
2df6cece33
CLEANUP: Extraneous TODOs
2018-05-27 21:07:07 -05:00
00c1e1751a
Formatting: cargo fmt.
2018-05-14 21:34:38 -05:00
267b575e8b
Make the out flag optional
2018-03-11 15:10:51 -05:00
587b92c059
Add a new option to the target flag help string.
2018-02-12 22:52:47 -06:00
5fba06d71f
Add json as an output type.
...
* Uses serde_json
* Doesn't handle macro values very well.
* Handles maps and lists just fine.
* doesn't pretty print the values though.
2018-02-04 16:08:30 -06:00
389f395383
Cleanup: formatting and todos
...
cargo fmt
changed a fixme to a todo
2017-11-29 18:42:33 -06:00
2382cf9874
Wire up our converters for the Intermediate config data structures.
2017-11-15 22:44:34 -06:00
e975dea201
cleanup: fix some selector vs symbol parsing issues
...
Add test coverage of selector parsing.
2017-11-15 22:41:55 -06:00
45b9712380
Some Refactoring and cleanups.
...
* Moved the AST datastructures into their own module.
* Collapsed the Expression Enum to just wrappers around structs
instead of having actual structs in the definitions.
* Added a few more unit tests to ensure nothing got broken.
* Added documentation for the new structs.
* Added a unifying BinaryExpression Tuple type.
2017-09-06 18:16:28 -05:00
4f18686fb8
Add README and License information.
2017-07-11 20:36:05 -05:00
c6af1543bf
Basic Parsing for the language.
...
The start of defining a languge for configuration generation.
2017-07-11 20:36:05 -05:00