Commit Graph

26 Commits

Author SHA1 Message Date
11ffd96a91 Remove erased function arguments 2025-10-23 22:34:14 -07:00
15b892510e Map Bool-shaped things to javascript bool, add if/then and tertiary to code gen 2025-10-20 11:08:12 -07:00
2794f8fe85 Cleanup some old comments, use record update a bit more 2025-10-11 21:47:38 -07:00
c39d1354c8 Primitive "Add missing cases" for vscode 2025-10-11 13:17:44 -07:00
2a5e5ae4f5 add error for stray, incorrect constructors 2025-10-10 09:03:25 -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
8209d2d839 Use numbers for constructor tags. 2025-10-04 14:56:59 -07:00
3143fa7b0a More inlining, fix issues in eval of case 2025-09-23 20:22:50 -07:00
97c50a254a the "mode" argument to eval was unused and not fully propagated 2025-09-02 21:10:32 -07:00
27d9250d34 Fix build of newt3.js 2025-09-01 12:06:49 -07:00
33a4cf6070 Fix issue building newt 2025-08-28 21:24:29 -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
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
800cec28de cleanup 2025-07-18 20:47:45 -04:00
9bd9ab21b6 fix env (should have used an index...) 2025-07-10 21:14:42 -04: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
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
f006fa875d Classify constructors, only dump modules if they successfully compile 2025-03-31 21:21:37 -07:00
5ab2a28bcf Prep to switch from Def to CExp for backend passes. 2025-03-15 15:46:56 -07:00
041521ab47 fix regressed error message for missing cases 2025-02-16 21:46:19 -08:00
3c2615ecc1 move idris version to orig and newt version to src.
Development is being done on the newt version now.
2025-02-15 16:36:29 -08:00