56 Commits

Author SHA1 Message Date
bd9686128a refactor: Use Rc<str> instead of string 2023-09-02 13:03:04 -04:00
a8164a1f06 FIX: Restore the env variable functionality 2021-03-17 21:10:55 -04:00
2b835e5886 DEV: Unify more path handling logic 2020-05-25 14:23:25 -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
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
632019ac18 DEV: Implement primitive casting. 2019-11-11 20:06:17 -06:00
9df7eb7cd7 MAINT: more dbg cleanup 2019-11-09 18:48:39 -06:00
27011769dd DEV: respect strict in our bytecode interpreter 2019-11-09 15:07:46 -06:00
34636a1743 MAINT: cargo fmt 2019-11-03 14:20:25 -06:00
ad97dfca57 Properly detect import cycles at runtime. 2019-11-02 16:12:07 -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
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
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
7a2a99b859 MAINT: TODO cleanups 2019-10-17 17:57:05 -05:00
ceb98244c7 DEV: Better file path handling through pointers. 2019-10-17 17:57:05 -05:00
7bc98514bf DEV: pkg() functions *should* work now. 2019-10-17 17:57:05 -05:00
d09bd13f42 DEV: Reduce works over lists, tuples, and string 2019-10-17 17:57:05 -05:00
4ba4355d37 MAINT: Cleaning up some warnings. 2019-10-17 17:57:05 -05:00
3dd0cc6794 DEV: Extract the environmentally shared pieces out 2019-10-17 17:57:05 -05:00
946a112eb4 DEV: Working Trace statements 2019-10-17 17:57:05 -05:00
2985d4258f DEV: Ranges and Select expressions. 2019-10-17 17:57:05 -05:00
100d963f41 DEV: Modules work now. 2019-10-17 17:57:05 -05:00
e998e582ae DEV: Function calls work. Also wired up some of the bang opcode. 2019-10-17 17:57:04 -05:00
8c39c3826c DEV: LtEq, GtEq, and in operators work. 2019-10-17 17:57:04 -05:00
cd23430f5f DEV: Complex Format expressions are supported now. 2019-10-17 17:57:04 -05:00
e3f9b685c6 DEV: SimpleFormat expressions work. 2019-10-17 17:57:04 -05:00
405ad2880e DEV: Simple formatting works 2019-10-17 17:57:04 -05:00
c792d758d7 DEV: List indexing works. 2019-10-17 17:57:04 -05:00
40fc6fe15f DEV: Modulus operator works. 2019-10-17 17:57:04 -05:00
a36322461e DEV: And and Or operators work 2019-10-17 17:57:04 -05:00
48ea8b30ef DEV: Type check expressions work. 2019-10-17 17:57:04 -05:00