Commit graph

189 commits

Author SHA1 Message Date
Folkert de Vries
c436ac98e2
Merge pull request #3167 from rtfeldman/no-more-tagname
Remove TagName on the front end
2022-06-02 22:52:08 +02:00
Ayaz Hafiz
fe85cdc3c2
Remove Subs::restore
Looks like this is unneeded. One less large type walker to update
2022-06-02 12:28:02 -05:00
Ayaz Hafiz
bde107da49
Remove TagName in favor of explicit TagName or Closure
Note that we still need a `TagOrClosure` enum for phases past mono, but
at least we get rid of the branches in the front end.
2022-06-02 09:44:34 -05:00
Ayaz Hafiz
2e70c9aba4
Getting closer. Checking in for a break. 2022-06-01 13:18:53 -05:00
Ayaz Hafiz
c2a2ce690c
Lift lambda sets as their own type
This prepares for unspecialized lambda set in the type system in
general.
2022-06-01 13:17:22 -05:00
Folkert
f9c58e53a9
def to expr2 conversion 2022-05-25 15:20:28 +02:00
Folkert
2ae804790a
parse toplevel defs into an SOA structure 2022-05-23 22:07:37 +02:00
Richard Feldman
0456ea4f19
Update comments and ast tests to new formatting 2022-05-22 22:11:13 -04:00
Folkert
98ce9f4d09
remove the snapshots 2022-05-21 20:42:19 +02:00
Richard Feldman
49aea9d639
Use [u8; 16] to avoid number alignment bumps 2022-05-21 00:53:47 -04:00
Ayaz
222967d749
Merge pull request #3081 from rtfeldman/issue-2845-dec-literal
Issue 2845 dec literal
2022-05-16 20:01:59 -04:00
Anton-4
0f59f3097a
cargo fix --edition 2022-05-16 17:04:17 +02:00
Drake
c4ab5a02eb
fix: cargo fmt 2022-05-14 15:46:57 -06:00
Drake
43674efb32
fix: pass along parsed number string 2022-05-14 15:44:16 -06:00
Ayaz Hafiz
a9507cf917
Consolidate variable pretty printing 2022-05-10 11:24:41 -04:00
Ayaz Hafiz
3497237c99
Print recursion vars correctly 2022-05-10 10:40:37 -04:00
Mfon Eti-mfon
85c622b169
Update symbols definition 2022-05-08 15:54:34 +01:00
Richard Feldman
dd460fb818
Use single-threaded builds in tests 2022-05-05 14:42:36 -04:00
Folkert
12ed674f61
turn test into const assert 2022-05-04 23:47:48 +02:00
Ayaz Hafiz
c5ff1ef803
Update Type2 size 2022-05-04 17:41:29 -04:00
Ayaz
84b3ef5fd7
Merge pull request #2978 from rtfeldman/scope-bitmask
Scope bitmask
2022-05-01 12:26:14 -04:00
Folkert
76754e4d2a
use &str instead of Ident in some key places 2022-04-30 20:43:12 +02:00
Ayaz Hafiz
83c6c3a17d
Remove Lowercase from Alias and Opaque 2022-04-29 11:36:31 -04:00
Ayaz
98a3523702
Merge pull request #2961 from rtfeldman/improved-identids
Improved identids
2022-04-27 10:11:06 -04:00
Folkert
d690d3f325
clippy 2022-04-26 20:26:13 +02:00
Folkert
c31b796938
more types! 2022-04-26 20:10:29 +02:00
Folkert
d3ef35d935
rename 2022-04-26 11:33:26 +02:00
Folkert
af6c3231f3
Improved IdentIds 2022-04-25 23:15:57 +02:00
Folkert
ae04887cb1
make IdentIds expose an iterator of &str 2022-04-25 23:15:56 +02:00
Richard Feldman
85e7969c2d
Replace references to "global tag" with "tag" 2022-04-25 17:04:34 -04:00
Ayaz Hafiz
0d24e279f1
Fix Ast2 constraining of opaques 2022-04-25 12:08:23 -04:00
Ayaz Hafiz
2ab01107d3
Removing extra private tag references 2022-04-25 11:43:55 -04:00
Ayaz Hafiz
37b9a34448
Remove private tags from Ast2 2022-04-25 11:22:32 -04:00
Ayaz Hafiz
1ed9cf551a
Remove private tags from Ast 2022-04-25 11:20:37 -04:00
Ayaz Hafiz
b6383f81ee
Numbers are opaques 2022-04-25 10:59:42 -04:00
Ayaz Hafiz
1e03ab8fe2
Update regions 2022-04-24 10:19:36 -04:00
Ayaz Hafiz
87245def0a
Clippy vs McGregor 2047 2022-04-23 10:56:54 -04:00
Folkert
8b144c446d
remove PartialEq for a bunch of types that we should not compare 2022-04-20 16:58:30 +02:00
Ayaz Hafiz
ce7c61eb09
Propogate render target forward 2022-04-12 16:18:07 -04:00
Ayaz Hafiz
b3aee4ba7c
Fix typecheck error 2022-04-08 08:54:31 -04:00
ayazhafiz
94a5cd3559 Improve shadow errors 2022-04-07 22:38:20 -04:00
Ayaz Hafiz
a3ac68a41f
Split up Defs into TypeDef and ValueDef
Just a refactoring PR. This is useful because during canonicalization
we always process type defs first, then value defs. With abilities this
distinction continues to grow; in that case, we have patterns associated
with types that we want to process before patterns from values.
2022-04-06 22:18:57 -04:00
Ayaz Hafiz
9fbc525d02
Make sure float suffixes are parsed out after can
Before we hit mono, we need to make sure the suffixes of numeric
literals are parsed out from the literal string, so that we don't try to
parse something whose type we already know but has the extraneous
suffix.

Co'ed with @tagraves
2022-04-05 11:32:34 -04:00
Richard Feldman
37182c971b
Merge pull request #2678 from rtfeldman/editor-new-examples-fix
fixed editor new project init for new example folder layout
2022-04-01 23:09:53 -07:00
Folkert
311e464b70
add load_internal 2022-03-23 15:18:22 +01:00
Richard Feldman
750fbf2dcf
Merge pull request #2766 from rtfeldman/simplify-identids
simplify IdentIds
2022-03-22 20:23:56 -04:00
Folkert
a67bb29a36
remove hashmap 2022-03-22 21:58:49 +01:00
Folkert
d8fa2b8d92
stop passing stdlib (use lazy_static) 2022-03-22 19:53:02 +01:00
Anton-4
74463add39
Merge branch 'trunk' into editor-new-examples-fix 2022-03-21 13:52:07 +01:00
Folkert
7d8409f6a6
write Aliases implementation 2022-03-15 22:02:04 +01:00