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
Folkert
4ef6cba23a
Merge branch 'split-types-values' into type-checking-storage-subs
2022-03-13 17:43:24 +01:00
ayazhafiz
d7abc3897b
Parse abilities
2022-03-12 21:29:06 -06:00
Folkert
c79ecec56e
make SubsByModule opaque
2022-03-11 20:16:55 +01:00
Anton-4
62d249acd5
fixed editor new project init for new example folder layout
2022-03-08 14:21:26 +01:00
Anton-4
cbac0cf318
removed redundant roc_file.rs
2022-03-05 09:32:37 +01:00
Richard Feldman
c89a6c109a
Merge pull request #2627 from rtfeldman/constraints-soa
...
Constraints using Struct of Arrays
2022-03-04 19:39:03 -05:00
Folkert
ec099bbdec
WIP
2022-03-02 14:46:30 +01:00
Anton-4
5ec2125ac6
Merge branch 'trunk' into windows_fixes
2022-02-28 19:12:18 +01:00
Anton-4
b5d8ab7d6f
cleanup
2022-02-28 18:26:55 +01:00
Anton-4
5f865a4a0c
fmt
2022-02-28 18:18:41 +01:00
Anton-4
6acd2f338b
successful cargo build on windows
2022-02-28 18:11:14 +01:00
Anton-4
784894bb8f
fixing windows cargo build errors
2022-02-28 13:48:11 +01:00
Richard Feldman
8ec7b26a1c
Merge pull request #2547 from rtfeldman/simplify-editor
...
simplify editor
2022-02-27 21:43:09 -05:00
ayazhafiz
059c324268
Error reporting for type mismatches involving opaques
2022-02-27 00:10:12 -05:00
Richard Feldman
d3acf34415
Merge pull request #1591 from rtfeldman/single-quote-literal
...
Single Quote literal
2022-02-26 23:27:46 -05:00
Richard Feldman
a164835342
Use std::iter::once over vec!
2022-02-26 21:00:18 -05:00
Emi Simpson
40375adbb0
Merge remote-tracking branch 'upstream/trunk' into fix-panic-on-unimported-module
2022-02-25 09:18:19 -05:00
Emi Simpson
4d10c22442
🐛 ️ Handle unimported modules properly
...
helpful error, not panic!
Closes #2422
2022-02-24 20:52:25 -05:00
Brendan Hansknecht
f7c0e2ef19
Merge remote-tracking branch 'origin/trunk' into single-quote-literal
2022-02-24 10:13:39 -08:00
Anton-4
272e6f9ca0
fmt+clippy
2022-02-21 16:51:54 +01:00
Anton-4
48d5775f62
simplification, stricter adherence to projectional editing approach
2022-02-21 14:47:57 +01:00
ayazhafiz
6b53692aac
Canonicalize opaque types
2022-02-20 13:47:01 -05:00
ayazhafiz
6104a27b45
Parse opaque references
2022-02-19 21:30:42 -05:00
ayazhafiz
a38f1d1e8d
Fmt and clippy
2022-02-19 20:54:21 -05:00
ayazhafiz
fa24e51593
Parse opaque types
2022-02-19 18:38:31 -05:00
ayazhafiz
8ce81e4607
AliasHeader -> TypeHeader
2022-02-19 17:51:56 -05:00
Folkert
957140df64
remove builtin lookup function being passed around
2022-02-14 20:32:31 +01:00
Anton-4
d6681f4e0a
Merge pull request #2160 from rtfeldman/editor-comments
...
support tld comments in docs and editor(reading only)
2022-02-10 11:49:10 +01:00
ayazhafiz
94ff9c39f1
Fix roc_ast compile errors
2022-02-06 15:04:13 -05:00
ayazhafiz
c5d918e68c
Include floats in bounds for unspecified numbers
2022-02-06 15:04:12 -05:00
ayazhafiz
c80c842a93
Clippy
2022-02-06 15:04:12 -05:00
ayazhafiz
097c5afc73
Check lower bounds for numeric literals, and permit 128-bit literals
2022-02-02 23:35:57 -05:00
ayazhafiz
a6f7579c07
Parse and expand numeric bounds in canonicalization pass
2022-02-01 22:50:46 -05:00
ayazhafiz
9f72b2710f
Run linter
2022-02-01 22:49:52 -05:00
ayazhafiz
320827167f
Parse number literal width suffixes
...
Supports [u,i][8,16,32,64,128] and [nat,dec]
Part of #2350
2022-02-01 22:48:48 -05:00
Folkert
afd11e1cb1
move target -> roc_target
2022-01-26 23:33:29 +01:00
Folkert
c663a35e16
final phase
2022-01-26 15:44:24 +01:00