Commit Graph

394 Commits

Author SHA1 Message Date
b014e8d3e6 less noisy file errors 2025-10-10 10:36:22 -07:00
2a5e5ae4f5 add error for stray, incorrect constructors 2025-10-10 09:03:25 -07:00
78b9f958de refresh bootstrap 2025-10-06 15:22:12 -07:00
be40c431fe Add error when a constructor is used for a primitive argument.
Add testing for errors.
2025-10-06 15:21:54 -07:00
207d7afecf JS package cleanup 2025-10-06 15:08:53 -07:00
8cfe91343e Lambda lifting (for non-javascript backends) 2025-10-06 15:08:36 -07:00
fc987a6f11 cleanup 2025-10-04 18:11:24 -07:00
8209d2d839 Use numbers for constructor tags. 2025-10-04 14:56:59 -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
bab25f8dce cleanup TODO.md a little 2025-09-29 11:59:57 -07:00
f3a5e9012c Remove original Idris version of newt. 2025-09-29 11:59:13 -07:00
a53c5b4fba cleanup 2025-09-29 10:50:22 -07:00
36d9f81f61 move inline/substMeta to compile step 2025-09-23 21:25:58 -07:00
3143fa7b0a More inlining, fix issues in eval of case 2025-09-23 20:22:50 -07:00
cc7d8b4968 int add becomes + 2025-09-20 19:58:39 -07:00
49c90cce6d inline "simple" functions and inline after app in inline 2025-09-20 17:21:19 -07:00
de71ea2f26 Initial implementation of inlining 2025-09-20 10:54:54 -07:00
97c50a254a the "mode" argument to eval was unused and not fully propagated 2025-09-02 21:10:32 -07:00
a3801b8ba0 Remove some unnecessary assignments from codegen 2025-09-01 16:28:55 -07:00
1432316fac SortedMap uses any comparator 2025-09-01 15:48:20 -07:00
27d9250d34 Fix build of newt3.js 2025-09-01 12:06:49 -07:00
f90d171598 improve QName comparison time 2025-08-29 11:08:34 -07:00
33a4cf6070 Fix issue building newt 2025-08-28 21:24:29 -07:00
fcee117260 [ libs ] move prelude file to src 2025-07-27 15:02:53 -07:00
0c72d690e3 [ libs ] add DecEq to Prelude 2025-07-27 15:02:49 -07:00
bcf34c0941 [ auto ] try autos if a meta in their type is solved
Also cut tryEval if the result is a lambda
2025-07-27 14:52:24 -07:00
ff23deb825 [ fix ] error messages mangled by Idris to Newt translation 2025-07-27 14:29:14 -07:00
a79f92793b [ fix ] solve autos in data declarations 2025-07-26 08:09:46 -07:00
0e110cd14f [ unify ] unify literals correctly 2025-07-26 08:07:48 -07:00
2d53976602 [ cleanup ] dead code 2025-07-26 07:23:48 -07:00
1bdac27097 [ codegen ] PiType no longer hard-coded JS 2025-07-26 07:23:16 -07:00
43c06e7377 [ cleanup ] consistent arrows in prelude 2025-07-26 07:20:09 -07:00
bfaaec867e [ play ] improvements to unicode completion 2025-07-26 07:17:31 -07:00
8386331752 playground improvements 2025-07-24 20:11:45 -07:00
800cec28de cleanup 2025-07-18 20:47:45 -04:00
bb2ae861b3 Playground enhancements 2025-07-15 21:30:42 -04:00
3289c95e6a remove dead files, update bootstrap 2025-07-10 22:28:20 -04:00
8569c9c304 improvements to editors 2025-07-10 21:35:48 -04:00
9bd9ab21b6 fix env (should have used an index...) 2025-07-10 21:14:42 -04:00
cee1519b8e Improvements to playground editor 2025-06-27 21:31:51 -07:00
5743eb39ea Fix some strings that were messed up by the initial Idris -> Newt perl code 2025-06-27 21:29:12 -07:00
67d1e54ffb Seperate CAppRef constructor for top level apps 2025-06-24 21:12:30 -07:00
a3137319bb remove lezer code 2025-06-17 18:14:00 -07:00
64652edf4b remove monaco, add input method to codemirror 2025-06-17 17:32:12 -07:00
e167d7e629 switch to codemirror 2025-06-17 11:48:01 -07:00
ab276ca992 TODO updates, remove unused file 2025-06-03 20:54:29 -07:00
8dae8880f9 Remove unnecessary IORef for meta context 2025-05-20 21:36:52 -07:00
cae4368cd9 misc cleanup 2025-04-22 20:30:29 -07:00