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
7a2a99b859
MAINT: TODO cleanups
2019-10-17 17:57:05 -05:00
acffc6d5da
MAINT: cargo fmt
2019-10-02 20:56:09 -05:00
ebb06c169b
FIX: Add newlines to yaml config output.
...
Fixes #48
2019-10-02 19:55:31 -05:00
49a64251a4
MAINT: cargo fix
...
Mostly to add the dyn keyword all the places where it will soon
be required.
2019-09-18 20:09:57 -05:00
Jeremy Wall
4ec27ff426
DEV: Collapse fields when merging yaml maps
2019-08-13 09:48:13 -05:00
Jeremy Wall
949d468f55
DEV: Fix escaping in both strings and format strings.
2019-08-12 18:10:48 -05:00
Jeremy Wall
dffa535f1b
DEV: Support the merge key syntax for yaml deserialization.
...
https://yaml.org/type/merge.html
2019-08-12 13:19:56 -05:00
f349293400
FEATURE: Support a convert expression.
2019-06-20 19:28:20 -05:00
0766d8058f
DEV: Stop using nested tuples in flag output.
...
Now that we have string manipulation facilities in the stdlib
that is a less useful and more confusing feature. This code removes
it.
2019-05-30 18:22:47 -05:00
17e22e5cf8
FEATURE: Enforce that flags outputs must be a tuple.
2019-04-09 21:02:36 -05:00
2cefcdbd6a
REFACTOR: Move the converter help text into files
...
Use the include_str macro to inline the help text.
2019-04-08 22:18:48 -05:00
a5fe59bb7c
Add help text functionality for converters.
2019-03-25 20:34:40 -04:00
c8443b9181
MAINT: The great TODO cleanup.
2019-02-27 19:52:06 -06:00
0e5751c2b0
REFACTOR: Use our new handy dandy to_boxed method on BuildError.
2019-02-20 21:21:48 -06:00
f8c035e535
REFACTOR: proper naming for the yaml to ucg conversion function.
2019-02-20 19:57:37 -06:00
ff54452766
FEATURE: Support including toml documents
2019-02-20 19:57:17 -06:00
8639912567
FEATURE: BuildError no longer requires a position.
2019-02-19 17:38:13 -06:00
ceaed5c543
REFACTOR: No longer require PositionedItem for Val::Tuples.
2019-02-19 16:38:06 -06:00
38e418a1d6
FIX: Integration tests for the json and yaml mapping.
...
Fixed bug in the yaml key deserialization logic.
2019-02-19 15:28:31 -06:00
e2b843035e
FEATURE: Yaml importer for include expressions.
...
Yamls can be imported as UCG intermediate representation and used
like native UCG types in your ucg files.
2019-02-19 15:06:06 -06:00
a6eab6a459
REFACTOR: Rename convert::traits::Result to convert::traits::ConvertResult.
2019-02-19 14:50:55 -06:00
fdbbf0fb01
FEATURE: Add json as an include format.
...
Include a json file and it will be transformed into the UCG
intermediate format and usable in your ucg file.
2019-02-19 14:45:46 -06:00
f1c7d76fdd
REFACTOR: The great renaming macro -> func.
2019-01-24 20:04:40 -06:00
1dba5f66ce
FEATURE: map, filter, and reduce over lists.
2019-01-18 20:01:08 -06:00
47163ef010
DOC: Fix docstring for registry new constructors.
2019-01-05 15:51:59 -06:00
2c3f9c7b8f
Add base64 as an importer type aside from string.
2019-01-05 14:33:12 -06:00
7793404975
MAINT: use dyn syntax for trait objects now.
2019-01-05 13:27:51 -06:00
05aa57ae7f
REFACTOR: Builder => FileBuilder
2018-12-31 11:08:32 -06:00
821f1e9fb2
MAINT: Cleanup
...
TODO and FIXME removals.
Replaced unnecessary alt_peek! macro.
Renamed some types for clarity.
2018-12-14 16:01:17 -06:00
2b47ca8617
FEATURE: Use UCG_IMPORT_PATH to identify the import paths.
...
fixes #9
2018-12-13 19:03:22 -06:00
0a09f26aad
FEATURE: Add xml namespace support.
2018-12-12 20:26:19 -06:00
3d017a76da
FEATURE: Initial xml export via a DSL.
2018-12-12 19:28:14 -06:00
b91fe1550b
FEATURE: XML output using a dsl to describe the DOM
2018-12-12 19:28:14 -06:00
8009c6a8a5
MAINT: Formatting cleanup.
2018-12-10 21:27:44 -06:00
9b5b7aa793
MAINT: Fix try macros to use ?
2018-12-06 13:14:01 -06:00
e9a0bde631
MAINT: Opt in to 2018 edition of Rust.
2018-12-06 12:23:52 -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
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
e8e3ffab2c
FEATURE: Pretty print json output
...
closes #7
2018-11-18 13:56:38 -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
eebe0bbe67
FEATURE: Add toml as an output converter.
...
closes #4
2018-11-16 13:26:11 -06:00
15026423db
REFACTOR: Rename our error::Error type to BuildError.
2018-11-12 18:07:31 -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
676f897189
FEATURE: Add YAML converter.
2018-08-25 18:39:25 -05:00
398fbc7e1b
FEATURE: Support limited help for the available converters.
2018-08-22 00:13:11 -05:00
786586dbde
BUGFIX: The '.' should not be in there.
2018-08-17 10:28:26 -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