499 Commits

Author SHA1 Message Date
fca5026875 feat: module type inference 2023-10-08 19:18:24 -04:00
51d117a040 feat: tests and code to infer select expression shapes 2023-10-08 19:17:50 -04:00
82634fcbd9 refactor: Get rid of the unecessary PositionedItem 2023-10-02 19:57:41 -04:00
bb5df22a1c feat: Properly handle closure logic in function inference. 2023-09-28 19:34:55 -04:00
6606f9dbff tests: Expand our symbol inference test some more 2023-09-28 19:03:40 -04:00
cb592e265e feat: Get rid of Empty in favor of Narrowed
Infer symbol from expression it's used in.
2023-09-25 21:20:05 -04:00
5a088b1341 feat: Handle narrowed and hole shapes for not 2023-09-04 11:06:54 -04:00
feff6d1335 maint: Various cleanups and TODO stuff 2023-09-04 11:06:07 -04:00
1b0e076f94 refactor: Make DeriveShape trait 2023-09-04 10:53:51 -04:00
bd9686128a refactor: Use Rc<str> instead of string 2023-09-02 13:03:04 -04:00
b5f86657c4 feat: Func shape derivation 2023-09-02 10:09:06 -04:00
183ec00ab3 feat: Tuple shape narrowing 2023-08-31 17:16:38 -04:00
52010d0e05 feat: list shape narrowing 2023-08-31 16:44:32 -04:00
9e558d2c66 refactor: another test helper macro 2023-08-25 20:41:27 -04:00
e0dc166680 feat: More Shape derivations
Some BuildError bits as well.
2023-08-23 19:06:57 -04:00
f085830a42 feat: Typechecking: improving derive_shape 2023-08-21 17:28:26 -04:00
8cc94eedef maint: The macro usage for shapes was confusing 2023-08-21 16:08:40 -04:00
bad460bf71 Fix format! in panic! warnings 2023-08-21 16:03:18 -04:00
aa8c3aa8e4 FEATURE: add Binary expression type derivation 2023-08-21 16:03:18 -04:00
fe88691f2a FIX: visit_value and leave_value for lists and tuples 2023-08-21 16:03:18 -04:00
2827fc915f Walker that can type check a simple binary expression 2023-08-21 16:03:18 -04:00
01eaa7e284 FIX: Bad path handling on unix platforms. 2023-08-21 16:03:18 -04:00
2911e544c7 DEV: Some walker trait refactoring
Enables chained visitors using the ChainedWalk implementation.
2023-08-21 16:03:18 -04:00
27de8e3f16 DEV: The beginnings of some shape Derivation 2023-08-21 16:03:18 -04:00
ca7347e164 Set Rust edition to 2021 2023-01-16 15:50:04 -05:00
c59d25974a Update serde_yaml crate 2023-01-16 15:04:37 -05:00
e1600b0ebe update base64 crate 2023-01-16 15:04:37 -05:00
2c679759dc Update rustyline dependency 2023-01-16 15:04:36 -05:00
b9ebffa6a3 Update crate dependencies to latest versions 2021-03-21 15:46:35 -04:00
a8164a1f06 FIX: Restore the env variable functionality 2021-03-17 21:10:55 -04:00
5a20012fcb Better more reliable path normalization 2021-03-10 20:45:06 -05:00
04a97a7002 Dont use .ucg directory if we cant create it 2021-03-10 20:07:07 -05:00
f35f1be851 Dont fail if we cant create the .ucg directory 2021-03-10 19:54:38 -05: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
3052f7d7a8 DEV: Improve the Walk trait a bit. 2020-05-25 11:01:38 -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
8b3552e491 DEV: Remove the shape specifier for a funcion. 2020-04-26 12:19:06 -04:00
577aa5e72a DEV: Experimental parsing support
Shape Projection syntax support for #55
2020-04-26 12:18:49 -04:00
e2420b061d Clean up comment 2020-04-22 19:42:34 -04:00
99ee28aa30 Rename macros_test.ucg to func_test.ucg 2020-04-13 17:12:09 -04:00
72de604384 Add multidocument yaml support for output.
Closes issue #54
2020-04-12 18:54:53 -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
89a06135c9 MAINT: cleanup an errant dbg! 2020-01-04 08:12:22 -06:00