Commit Graph

530 Commits

Author SHA1 Message Date
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
c1f959be38 update a couple of playground files 2026-02-18 21:39:51 -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
65f537e46a Copy code actions from old extension (until we have proper support) 2026-02-16 09:24:25 -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
edbe1c326a update bootstrap 2026-02-15 21:40:40 -08:00
3201139523 improvements to type checking of record updates 2026-02-15 21:38:44 -08:00
197e3525bf improvements to LSP process on quiesce 2026-02-15 20:05:46 -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
1ba332431a Changes are coming in delayed 2026-02-13 09:14:42 -08:00
e1d83556ae LSP jump to definition 2026-02-12 21:59:56 -08:00
ab33635642 update bootstrap 2026-02-12 21:31:32 -08:00
bf32e6a241 Debounce LSP processing 2026-02-12 21:30:37 -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
01a05ba186 skip indented lines in add missing cases 2026-02-12 13:51:29 -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
7048553906 cleanup/changes to vscode package.json 2026-02-11 17:26:45 -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
83e4adb45b update bootstrap
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
2026-02-07 16:57:23 -08:00
bca61f95a0 Improve error locations 2026-02-07 16:55:33 -08:00
d1729afea7 extension now names the file for external errors 2026-02-07 16:39:15 -08:00
2766a4ae01 Unsolved metas are errors 2026-02-07 16:26:07 -08:00
fca22a9828 update bootstrap 2026-02-07 11:05:30 -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
79ab29f090 update bootstrap 2026-02-06 21:14:17 -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