117 Commits

Author SHA1 Message Date
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
5a20012fcb Better more reliable path normalization 2021-03-10 20:45:06 -05:00
3d34355fe7 DEV: AST enum for a shape. 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
89a06135c9 MAINT: cleanup an errant dbg! 2020-01-04 08:12:22 -06:00
13f0749ac8 FIX: v0.7.0 completely broke stdlib loading. 2019-12-09 20:11:42 -06:00
632019ac18 DEV: Implement primitive casting. 2019-11-11 20:06:17 -06:00
7e3e598423 Merge branch 'master' into bytecode 2019-11-09 19:42:34 -06:00
2c927ed0e5 MAINT: Cleanup TODOs 2019-11-09 19:09:15 -06:00
b36a9513eb MAINT: eprintln and dbg cleanup 2019-11-09 18:54:46 -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
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
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
ac4dc2addd DEV: All unit tests pass. 2019-10-17 17:57:06 -05:00
cd23430f5f DEV: Complex Format expressions are supported now. 2019-10-17 17:57:04 -05:00
b9309ce12b FIX: Don't print an extraneous new line on fmt.
Fixes: #49
2019-10-02 19:55:40 -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
7e88ed4d84 FIX: deprecated and unsafe code revealed by 1.36 rust release. 2019-07-11 14:53:11 -05:00
f349293400 FEATURE: Support a convert expression. 2019-06-20 19:28:20 -05:00
685917876b DEV: A bunch of improvments
* move comments on the same line up to the previous line.
* All statements should have two new lines between them.
* Handle comments with indentation whitespace properly.
2019-05-24 15:26:11 -05:00
c9b2b9994f DEV: Handle some more expressions. 2019-05-23 20:10:18 -05:00
82d6ca9ecb DEV: Handle comments embedded in not, import or include expressions 2019-05-23 20:02:31 -05:00
ff2aafeb98 DEV: Handle grouped comments with embedded comments. 2019-05-23 19:57:51 -05:00
157f123355 DEV: Handle the functional operators with embedded comments. 2019-05-23 19:52:03 -05:00
f88955517e DEV: Handle TRACE, fail, and format expressions with embedded comments. 2019-05-22 19:05:48 -05:00