Commit Graph

52 Commits

Author SHA1 Message Date
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
e45d194d7f recheck file when switching editors in vscode 2025-10-11 22:03:11 -07:00
ddc73fb41a Change Show FC format to match vscode's expectation 2025-10-11 21:47:34 -07:00
c39d1354c8 Primitive "Add missing cases" for vscode 2025-10-11 13:17:44 -07:00
2af6ef1c1b File locations are now ranges. 2025-10-10 16:26:03 -07:00
6b9da23478 smarter completion (via context) 2025-10-10 10:36:44 -07:00
f1e6f98c99 Combinatory checks now, probably from fixes to eval 2025-10-03 20:34:07 -07:00
404b64a06e npm audit fix 2025-09-29 12:43:43 -07:00
495ed78c80 Use 1-based row/column in error messages 2025-09-29 12:42:13 -07:00
f3a5e9012c Remove original Idris version of newt. 2025-09-29 11:59:13 -07:00
bfaaec867e [ play ] improvements to unicode completion 2025-07-26 07:17:31 -07:00
8569c9c304 improvements to editors 2025-07-10 21:35:48 -04:00
cee1519b8e Improvements to playground editor 2025-06-27 21:31:51 -07:00
8faecfdf9b record update syntax 2025-04-19 20:11:07 -07:00
eeb790f1b2 Keep track of autos to be solved, shaves about 12% off of Elab.newt processing time 2025-04-05 21:27:10 -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
590f344516 use our own input method in vscode
The lean one was annoying for \{...}
2025-04-05 10:32:01 -07:00
8c983dd571 fix definition provider 2025-04-05 10:12:48 -07:00
f006fa875d Classify constructors, only dump modules if they successfully compile 2025-03-31 21:21:37 -07:00
654e5cdb25 split processDecl into separate functions 2025-03-30 11:06:30 -07:00
4ec7519955 remove unused case in TCO output 2025-03-30 09:39:09 -07:00
1abeda66bb update npm packages 2025-02-15 16:44:00 -08:00
7d218a4b94 compiler output compatible with older version 2025-01-25 11:58:03 -08:00
9ed2b2077d fixes and changes for porting
- forward declaration of records
- fixes to projections
- drop record accessors (use projections instead)
- changes to names to disambiguate
2025-01-01 20:21:07 -08:00
39be411c37 Add newt highlighting for markdown files 2025-01-01 11:28:00 -08:00
23a95f70f5 add \case sugar and editor support. fix symlink 2024-12-28 16:02:31 -08:00
95f90c8698 highlighting improvements 2024-12-28 11:04:42 -08:00
3ec2f90770 sugar for data and other improvements
- parse types in let (everything but parser was there)
- add sugar for `data`
- move `joinBy` to prelude
- fix highlighting for char in vscode
- better errors for missing imports
2024-12-28 09:45:21 -08:00
e0c75ff487 improvements to editor support 2024-12-22 14:52:26 -08:00
e396514899 day21 2024-12-21 15:10:40 -08:00
421f5ea208 add jump to def and type on hover for top level 2024-12-07 13:25:29 -08:00
8d8078f968 improvements to erasure checking 2024-12-06 20:34:40 -08:00
71cf4f39f5 Make $ special 2024-11-30 15:51:06 -08:00
370fc8e0aa Add filenames to FC, relocate errors from other files in playground/vscode 2024-11-27 09:57:22 -08:00
d4bcbc5949 primitive erasure implementation, dead code elimination 2024-11-26 14:10:24 -08:00
e265248b11 change syntax for javascript code literals 2024-11-25 21:53:23 -08:00
a809ad1975 remove node dependencies from Prelude.newt 2024-11-23 16:24:08 -08:00
fac34e729c add sugar for typeclass 2024-11-16 21:08:01 -08:00
454dccaa72 add sugar for if/then/else 2024-11-16 15:49:27 -08:00
0589a30d40 Address a few issues in Combinatory.newt 2024-11-13 20:25:02 -08:00
bb749a917a forall / ∀ syntactic sugar 2024-11-09 20:17:38 -08:00
f0c9e3bf63 Add Tour.newt sample and make it the default.
Improvements to editor support.
2024-11-07 21:37:30 -08:00
9148852eb5 character lits, initial work on literal case trees 2024-10-21 22:53:05 -07:00
75015f094a more test cases, problem in Tree.newt 2024-10-07 20:59:50 -07:00
497ef7a9f0 Fix unification issues, add debug messages 2024-10-02 19:56:42 -07:00
9087ee6490 imports 2024-09-29 07:17:55 -07:00
beb7b1a623 1 + 1 = 2 2024-09-28 21:18:03 -07:00
b65a76ccd3 show newt failure in vscode 2024-09-15 21:16:37 -07:00
9db5649446 primitive string and int, primitive functions, codegen fixes 2024-08-22 19:41:24 -07:00
76fae34bcf unification seems to work for kovacs examples 2024-07-14 15:59:57 -07:00