TS parser 100% done now

This commit is contained in:
2025-09-21 14:47:51 +02:00
parent e3ec5fee64
commit e8b7a76ddb
5 changed files with 27551 additions and 35103 deletions

View File

@@ -358,8 +358,6 @@ def add = a -> b -> a + b
- `func(arg1, arg2)`: function application. requires at least one argument. partial function applications are allowed too
- `func(_, arg)`: bind some args from function, return funciton taking in the args with `_`, or the non-specified ones
- `expr :: type`: down-cast type
- `recExpr with fieldname: newFieldValue`: overwrites or adds a field to a record type.
type checking: identical to `recExpr and {fieldname: newFieldValue}`
- `recExpr and otherRecExpr`: "sum" fields together of both record expressions.
type checking: phi-unify `recExpr` with `otherRecExpr`, and require that both are non-nominal record types
- `if cond then a else b`