Commit Graph

375 Commits

Author SHA1 Message Date
0d974dd42d fix parse issue for typed lamda arguments 2026-02-27 20:45:01 -08:00
7a763bf40a Looping TCO for singleton components 2026-02-26 22:18:10 -08:00
d5b5ee8265 Wire web playground to LSP code 2026-02-25 19:41:57 -08:00
4c5cd4dec0 continue after import error, fix error order 2026-02-24 22:25:16 -08:00
6e7e123847 intro now adds parens when needed 2026-02-24 21:55:51 -08:00
c15f22a180 Use deriving
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
2026-02-24 21:21:44 -08:00
983dde4de2 derive Show and Eq, improvements to LSP 2026-02-24 20:14:30 -08:00
a789cffcce move Error to its own file 2026-02-24 11:04:38 -08:00
90e4bba766 Jump to source for imports 2026-02-24 10:28:59 -08:00
ccdb15c6ec import action for out of scope names, start introducing error types
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
2026-02-24 09:33:53 -08:00
134c9f11db Skip indented rows when adding case 2026-02-23 21:28:42 -08:00
69a7b6bed8 Fix LSP slowness, improve error messages 2026-02-23 20:48:25 -08:00
3cc3801f4d Add "intro" to LSP, improve error locations 2026-02-23 13:16:06 -08:00
673c79b786 fix aoc2025 tests, consider greek when determining uppercase
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
2026-02-21 21:41:22 -08:00
34744a8edc refactor TopContext to use a ModContext for the current context 2026-02-21 21:34:16 -08:00
0a5ad3cc9b Switch to esm, add #export statement to newt, tweaks to LSP 2026-02-21 15:08:15 -08:00
c54b856f0b Don't allow uppercase pattern variables 2026-02-20 18:44:47 -08:00
7d5789147d cleanup 2026-02-20 18:44:44 -08:00
32400bdd4e slight performance tweak 2026-02-18 21:45:26 -08:00
2b72521fd6 teach case split about operators 2026-02-18 10:40:23 -08:00
587b2c4a60 Change FC end column to be one past the end 2026-02-18 10:39:56 -08:00
cd31156404 add missing and case split for lsp 2026-02-17 22:01:58 -08:00
fa0eb3a26d Better location on an error 2026-02-16 21:46:49 -08:00
7f2fa27aa6 cleanup 2026-02-16 11:59:34 -08:00
95f43e0c9b Hover was repeatedly compiling modules in some cases 2026-02-16 10:01:44 -08:00
d86c257426 Show user info messages in LSP, invalidate modules transitively on change 2026-02-16 09:22:49 -08:00
adff28ea0f Remove some workarounds for record update issues 2026-02-15 21:51:16 -08:00
3201139523 improvements to type checking of record updates 2026-02-15 21:38:44 -08:00
24048eadf1 use string for module names 2026-02-13 10:18:28 -08:00
4ec199b064 persist errors in modules 2026-02-13 09:58:09 -08:00
dcf162684e Drop module serializer 2026-02-13 09:57:01 -08:00
e08d201c24 Make adding primitives more robust 2026-02-13 09:26:02 -08:00
e1d83556ae LSP jump to definition 2026-02-12 21:59:56 -08:00
a9718621e3 Initial LSP implementation/vscode support
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
2026-02-12 20:26:15 -08:00
6c4d01d4c4 check in import loop test, remove dead code/comment 2026-02-11 20:09:12 -08:00
ad4dce9d0e Use List String for module name, add abstraction for loading files (prep for LSP)
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
2026-02-11 19:53:59 -08:00
6a16dc6150 better name for metas
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
2026-02-11 13:32:45 -08:00
eb9921212c use record update for top 2026-02-11 13:32:09 -08:00
340457cab7 [ repl ] don't exit early on error 2026-02-09 11:04:05 -08:00
a17a9c4342 fix pipe issue in REPL, add ability to dump top in repl 2026-02-09 10:36:59 -08:00
08ed4178cf Fix FC on imports - make empty bounds the identity 2026-02-09 10:16:56 -08:00
d36f6ddacb Add missing import in vscode, fix add missing cases at EOF
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
2026-02-07 22:25:18 -08:00
bca61f95a0 Improve error locations 2026-02-07 16:55:33 -08:00
2766a4ae01 Unsolved metas are errors 2026-02-07 16:26:07 -08:00
00296f4d10 Allow local names to override imports 2026-02-07 11:02:51 -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
9249c4c641 Invalidate on :load 2026-02-04 20:56:58 -08:00
d803af10aa Add Foldable class 2026-01-31 16:29:16 -08:00
c3e70c9ecc operator sections
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
2026-01-31 13:21:23 -08:00
eed5c09508 Minor changes 2026-01-31 12:52:01 -08:00