501 Commits

Author SHA1 Message Date
ce928b7bd2 feat: let statement inference and also module defs 2025-07-21 18:32:45 -04:00
188907d807 feat: Infer tuple field shapes from DOT operator 2025-07-21 18:32:45 -04:00
54043e4dc9 feat: module type inference 2025-07-21 18:32:45 -04:00
3a6a646e55 feat: tests and code to infer select expression shapes 2025-07-21 18:32:45 -04:00
76f1f0dee6 refactor: Get rid of the unecessary PositionedItem 2025-07-21 18:32:45 -04:00
d1e5d4129f feat: Properly handle closure logic in function inference. 2025-07-21 18:32:45 -04:00
c7c26222fc tests: Expand our symbol inference test some more 2025-07-21 18:32:45 -04:00
a14caa77c8 feat: Get rid of Empty in favor of Narrowed
Infer symbol from expression it's used in.
2025-07-21 18:32:45 -04:00
902199fd98 feat: Handle narrowed and hole shapes for not 2025-07-21 18:32:45 -04:00
b1d6571194 maint: Various cleanups and TODO stuff 2025-07-21 18:32:45 -04:00
c88b5eaf84 refactor: Make DeriveShape trait 2025-07-21 18:32:45 -04:00
a301ff7dfe refactor: Use Rc<str> instead of string 2025-07-21 18:32:45 -04:00
b07147367c feat: Func shape derivation 2025-07-21 18:32:45 -04:00
bdfa424545 feat: Tuple shape narrowing 2025-07-21 18:32:45 -04:00
5835adbf7a feat: list shape narrowing 2025-07-21 18:32:45 -04:00
46e55484dd refactor: another test helper macro 2025-07-21 18:32:45 -04:00
3e8771476f feat: More Shape derivations
Some BuildError bits as well.
2025-07-21 18:32:45 -04:00
0e93ffb27b feat: Typechecking: improving derive_shape 2025-07-21 18:32:45 -04:00
9ab2ce2be5 maint: The macro usage for shapes was confusing 2025-07-21 18:32:45 -04:00
9d419f9521 Fix format! in panic! warnings 2025-07-21 18:32:45 -04:00
b5c1418e30 FEATURE: add Binary expression type derivation 2025-07-21 18:32:45 -04:00
97c3a30973 FIX: visit_value and leave_value for lists and tuples 2025-07-21 18:32:45 -04:00
44986be0f5 Walker that can type check a simple binary expression 2025-07-21 18:32:45 -04:00
cac733eaea FIX: Bad path handling on unix platforms. 2025-07-21 18:32:45 -04:00
6ddc830210 DEV: Some walker trait refactoring
Enables chained visitors using the ChainedWalk implementation.
2025-07-21 18:32:45 -04:00
a3a7ce57ee DEV: The beginnings of some shape Derivation 2025-07-21 18:32:45 -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