Commit Graph

390 Commits

Author SHA1 Message Date
babbd01975 Fix LSP crash and tokenizer issue 2026-03-27 20:21:57 -07:00
aa6604038b cleanup 2026-03-27 20:19:27 -07:00
a40956a4cc fix names growing in liftWhere and redundant error for ErrorHole
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
2026-03-21 20:45:28 -07:00
c6835b9dfe scheme types need not store their indices 2026-03-21 16:50:53 -07:00
f5a9aae070 also show scheme code in web playground
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
2026-03-21 11:39:29 -07:00
da1f2705ee Remove erased function args in scheme 2026-03-21 08:25:00 -07:00
f3f9d737cf also drop singleton cases for lit / default 2026-03-20 08:01:31 -07:00
cfdddbb002 cons/nil for pair/unit in scheme backend
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
2026-03-18 17:30:28 -07:00
5eb43f6252 Cons/Nil optimization for scheme backend 2026-03-18 17:30:17 -07:00
4ce5d470ba streamline generated code a little 2026-03-16 21:56:03 -07:00
fe96f46534 First pass at a scheme backend
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
2026-03-16 17:03:33 -07:00
92ced8dcd2 LSP document symbols 2026-03-07 21:33:12 -08:00
90e36d8faf Remove some ambiguities in parsing 2026-03-06 21:41:26 -08:00
b1c2bfc896 Add Functor Either a 2026-03-04 19:09:32 -08:00
ea7ba4ea40 fixes for Linux nvim support
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
2026-02-27 21:53:56 -08:00
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