259 Commits

Author SHA1 Message Date
a8164a1f06 FIX: Restore the env variable functionality 2021-03-17 21:10:55 -04:00
6ccc6aaade DEV: Reorganize some conversion code. 2020-05-25 14:23:25 -04:00
3d34355fe7 DEV: AST enum for a shape. 2020-05-25 14:23:25 -04:00
2b835e5886 DEV: Unify more path handling logic 2020-05-25 14:23:25 -04:00
7a8b8e46eb DEV: Link all the packages upfront 2020-05-25 14:23:25 -04:00
159af40e7c DEV: Unify the path rewriting 2020-05-25 12:15:55 -04:00
c18ec8c3f7 DEV: Unify package loading to one place.
Also record the list of locations we need to import from.
2020-05-25 11:01:38 -04:00
c3bdce74a9 MAINT: cargo fmt. 2020-04-26 12:19:06 -04:00
99ee28aa30 Rename macros_test.ucg to func_test.ucg 2020-04-13 17:12:09 -04:00
3f3368f496 Cleanup some unused code. 2020-04-12 18:54:06 -04:00
f866275df2 DEV: Refactor get_binding to simplify the logic. 2020-02-01 10:25:55 -06:00
c1414bdde4 DEV: Removing gratuitous use of Rc.
It was unnecessary once I better understood the ownership
model and it had a significant performance cost. Removing
it brought the runtime for the integration tests down from
an average of 6 seconds to less than a second on my laptop.
2020-01-04 11:47:00 -06:00
13f0749ac8 FIX: v0.7.0 completely broke stdlib loading. 2019-12-09 20:11:42 -06:00
95293ce87f DEV: Fix bad error reporting for bad function calls. 2019-11-27 22:37:31 -06:00
7b28fd9d6c DEV: Better error messages on cast failures. 2019-11-11 20:45:48 -06:00
f5c2b19712 MAINT: remove errant space. 2019-11-11 20:07:27 -06:00
632019ac18 DEV: Implement primitive casting. 2019-11-11 20:06:17 -06:00
Jeremy Wall
392050d9f4 DEV: Don't output the welcome message if we aren't interactive. 2019-11-11 18:15:27 -06:00
7e3e598423 Merge branch 'master' into bytecode 2019-11-09 19:42:34 -06:00
b36a9513eb MAINT: eprintln and dbg cleanup 2019-11-09 18:54:46 -06:00
9df7eb7cd7 MAINT: more dbg cleanup 2019-11-09 18:48:39 -06:00
9b57ca5aa7 REFACTOR: Cleanup the syntax for the select expr
This makes it both easier to correctly write a select expression
as well as easier to parse and report syntax errors.
2019-11-09 18:05:48 -06:00
6f714e6583 DEV: Canonicalize is never the right thing on windows. 2019-11-09 15:39:32 -06:00
db610c56f9 MAINT: Remove dbg! macro uses. 2019-11-09 15:10:59 -06:00
27011769dd DEV: respect strict in our bytecode interpreter 2019-11-09 15:07:46 -06:00
aecb1d571e DEV: Get rid of the MemoryCache implmentation. 2019-11-09 14:38:14 -06:00
34636a1743 MAINT: cargo fmt 2019-11-03 14:20:25 -06:00
db9b7aef43 DEV: More Windows file path handling fixes. 2019-11-03 14:19:14 -06:00
ad97dfca57 Properly detect import cycles at runtime. 2019-11-02 16:12:07 -05:00
31d76ec733 MAINT: Unused variables and import cleanups 2019-11-02 11:12:17 -05:00
a90df8a362 REFACTOR: Cleanup the syntax for the select expr
This makes it both easier to correctly write a select expression
as well as easier to parse and report syntax errors.
2019-11-02 11:01:47 -05:00
f199e0f871 DEV: Handle Windows File errors 2019-10-17 18:05:08 -05:00
e058088a17 DEV: Working repl; 2019-10-17 17:58:03 -05:00
d092fba5e8 DEV: More of the ucg commandline works now. 2019-10-17 17:58:03 -05:00
b3fd37a6b5 DEV: Integration tests all pass now. 2019-10-17 17:57:06 -05:00
2b64c2b4e0 DEV: The cargo test command works now. 2019-10-17 17:57:06 -05:00
ac4dc2addd DEV: All unit tests pass. 2019-10-17 17:57:06 -05:00
092d510feb DEV: A bunch of comparison and in operator fixes. 2019-10-17 17:57:06 -05:00
3017ced8d9 DEV: A while raft of unit test fixes for error reporting mostly. 2019-10-17 17:57:06 -05:00
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
156b55271e DEV: Assert, Out, and Convert statements work. 2019-10-17 17:57:05 -05:00
f6a6a3ac32 DEV: Reserved word enforcement for bindings. 2019-10-17 17:57:05 -05:00
506036d888 DEV: Copying tuples from a dot selector works. 2019-10-17 17:57:05 -05:00
d1014d4b6e DEV: Self references in tuples. 2019-10-17 17:57:05 -05:00
b024d23110 DEV: Bindings store their location too. 2019-10-17 17:57:05 -05:00
e4c652b240 MAINT: Unused variable code cleanup 2019-10-17 17:57:05 -05:00
45819f5406 DEV: simple expressions don't leave their values on the stack. 2019-10-17 17:57:05 -05:00
f1180dbc5f DEV: Positions are tracked on the stack now too. 2019-10-17 17:57:05 -05:00
8c58dd5c7e DEV: Cleanup unused functions. 2019-10-17 17:57:05 -05:00
33a5694aad DEV: The great Error message explosion. 2019-10-17 17:57:05 -05:00