Commit Graph

14 Commits

Author SHA1 Message Date
0a5ad3cc9b Switch to esm, add #export statement to newt, tweaks to LSP 2026-02-21 15:08:15 -08:00
7f2fa27aa6 cleanup 2026-02-16 11:59:34 -08:00
bca61f95a0 Improve error locations 2026-02-07 16:55:33 -08:00
0c206a94ab Forward declaration syntax for data
Allow:
```newt
data Foo : U
```
as a forward declaration for data. (The `Foo : U` syntax still works for
now.)
2026-02-07 07:52:00 -08:00
2ca43b6350 Dependent records
The projection functions needed `foo` -> `self .foo` in the types
2026-01-05 20:52:35 -08:00
f4d1e86319 Optional type annotation on case scrutinee 2025-12-29 10:24:15 -08:00
63687499dc check impossible clauses
Also clean up some comments.

We now have types in constraints, but are still using values from
context.
2025-11-14 21:45:19 -08:00
79113fbce5 add impossible clauses (not checked yet) 2025-11-14 10:53:35 -08:00
15b892510e Map Bool-shaped things to javascript bool, add if/then and tertiary to code gen 2025-10-20 11:08:12 -07:00
2af6ef1c1b File locations are now ranges. 2025-10-10 16:26:03 -07:00
cae4368cd9 misc cleanup 2025-04-22 20:30:29 -07:00
8faecfdf9b record update syntax 2025-04-19 20:11:07 -07:00
549cca19e3 Add flags to TopEntry, detect duplicate constructors, fix issue with missing constructors in CompileExp. 2025-04-05 14:33:54 -07:00
3c2615ecc1 move idris version to orig and newt version to src.
Development is being done on the newt version now.
2025-02-15 16:36:29 -08:00