22 Commits

Author SHA1 Message Date
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
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
f8c035e535 REFACTOR: proper naming for the yaml to ucg conversion function. 2019-02-20 19:57:37 -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
f1c7d76fdd REFACTOR: The great renaming macro -> func. 2019-01-24 20:04:40 -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
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