23 Commits

Author SHA1 Message Date
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