693 Commits

Author SHA1 Message Date
85dfa8784d feat: Infer tuple field shapes from DOT operator 2023-10-10 22:01:53 -04:00
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
7e8a962521 Pin serde
This has to remain due to https://github.com/serde-rs/serde/issues/2538.
2023-08-19 13:33:22 -04:00
383addf48e MAINT: Bump version to v0.7.3 v0.7.3 2023-01-16 20:26:14 -05: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
229a1e379b Update dirs to 4.0 2023-01-16 15:04:36 -05:00
b31ba760ce
Merge pull request #59 from zaphar/dependabot/cargo/regex-1.5.5
Bump regex from 1.4.5 to 1.5.5
2022-06-09 15:24:49 -04:00
113eddb04c
Merge pull request #58 from zaphar/dependabot/cargo/crossbeam-utils-0.8.8
Bump crossbeam-utils from 0.8.3 to 0.8.8
2022-06-09 15:23:41 -04:00
c86d086d2a
Merge pull request #57 from zaphar/dependabot/cargo/nix-0.20.2
Bump nix from 0.20.0 to 0.20.2
2022-06-09 15:22:14 -04:00
dependabot[bot]
b0a1e80574
Bump regex from 1.4.5 to 1.5.5
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.5 to 1.5.5.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.4.5...1.5.5)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 21:12:25 +00:00
dependabot[bot]
4044861d83
Bump crossbeam-utils from 0.8.3 to 0.8.8
Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) from 0.8.3 to 0.8.8.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-utils-0.8.3...crossbeam-utils-0.8.8)

---
updated-dependencies:
- dependency-name: crossbeam-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 19:02:30 +00:00
dependabot[bot]
a5ce0b3e0e
Bump nix from 0.20.0 to 0.20.2
Bumps [nix](https://github.com/nix-rust/nix) from 0.20.0 to 0.20.2.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/v0.20.2/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.20.0...v0.20.2)

---
updated-dependencies:
- dependency-name: nix
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 18:55:56 +00:00
c0798513c7 nix flake 2022-05-14 16:46:02 -04:00
1f25fa672f Add nix flake 2022-05-13 21:28:55 -04:00
74f6cb89e5 DEV: Add integration test for the mod.pkg func 2021-08-22 21:10:08 -04:00
b9ebffa6a3 Update crate dependencies to latest versions 2021-03-21 15:46:35 -04:00
b50f72c182 MAINT: Bump version to v0.7.2 v0.7.2 2021-03-17 21:11:45 -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
15819cdc16 Update version of serde_yaml 2021-03-10 19:53:16 -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