rhiannon morris
f40542441d
add postulate, #[compile-scheme], #[main]
2023-11-01 12:56:27 +01:00
rhiannon morris
0987b91596
check that a name is unused before adding a def
2023-10-22 19:18:38 +02:00
rhiannon morris
61060e69c8
%default total
2023-10-22 19:18:38 +02:00
rhiannon morris
f04c4619ef
detect reserved words inside names like 'a.λ.b'
2023-09-24 17:36:26 +02:00
rhiannon morris
8395bec4cb
check for duplicate cases in enum matches
2023-09-22 18:37:53 +02:00
rhiannon morris
d4cfbd4045
add @[fail] modifier to declarations
...
- `@[fail] def foo = ...` succeeds if `foo` has some error.
- `@[fail "scope"] def foo = ...` succeeds if `foo` has some error
containing the word "scope" somewhere
- `@[fail] namespace foo { }` works too and the error must be anywhere
in the namespace
2023-09-22 14:03:22 +02:00
rhiannon morris
a221380d61
more effect stuff, incl. ST
2023-08-25 18:59:54 +02:00
rhiannon morris
fa09aaf228
squash warnings
2023-06-23 18:32:05 +02:00
rhiannon morris
42aa07c9c8
crude but effective stratification
2023-05-21 20:34:05 +02:00
rhiannon morris
7b93a913c7
rewrite pretty printer
2023-05-15 17:13:14 +02:00
rhiannon morris
d5f4a012c5
add source locations to inner syntax
2023-05-02 03:06:25 +02:00
rhiannon morris
adebfe090c
error message tweaks
2023-04-24 23:19:15 +02:00
rhiannon morris
b666bc20cf
do scope checking in FromParser where it belongs
2023-04-18 22:55:23 +02:00
rhiannon morris
ba2818a865
remove IsQty interface
2023-04-01 19:16:43 +02:00
rhiannon morris
ad942b2fd8
printing for most of FromParserError
2023-03-31 19:29:15 +02:00