Commit Graph

36 Commits

Author SHA1 Message Date
151f678f75 Work on usable codegen
- escape js names
- executable output
- better FC in parsing
- experiment with IO
2024-09-29 22:17:51 -07:00
76e627825c write output to file (if -o), cmd line parser, handle dup imports 2024-09-29 11:06:48 -07:00
fa7d803ebb restructure Raw to separate import directives 2024-09-29 09:33:09 -07:00
9087ee6490 imports 2024-09-29 07:17:55 -07:00
4f9c7fa8a9 rearrange deck chairs 2024-09-28 11:39:34 -07:00
38f01065eb mechanism for multiple errors printed at end of file 2024-09-18 22:21:10 -07:00
391c9449ac Zonk metas in functions, optional type signature on ptype 2024-09-07 21:32:57 -07:00
7154f874bf add smoke tests 2024-09-07 17:24:25 -07:00
987ab18b94 case builder starting to work 2024-08-30 22:07:47 -07:00
d39c9aa9b2 Add CExp 2024-08-11 22:22:09 -07:00
f27c03ef20 cleanup 2024-08-11 12:18:07 -07:00
32536fc264 notes 2024-08-09 10:25:28 -07:00
c1c1cc0e0e compile data constructors (need to get arity in funcalls) 2024-08-09 10:03:22 -07:00
449b6762a6 codegen for functions.
- I think next is slightly messed up (wrong indent on first line)
- dcon need code
2024-08-08 22:59:07 -07:00
0bb2d48d72 Additional work
- Move processDecl to separate file
- Add missing files
- Move Syntax.idr to Lib
2024-07-21 21:16:47 -07:00
f0d0743ccb improved printing 2024-07-17 22:13:11 -07:00
3d477be52b Add more stuff to equality and more logging
Need to get names in there though.
2024-07-16 22:53:09 -07:00
c0f9262c9a nf the types, block comments, more eq example now that we have implicits 2024-07-16 08:10:43 -07:00
76fae34bcf unification seems to work for kovacs examples 2024-07-14 15:59:57 -07:00
b37fa56c70 fix issue in prettier 2024-07-11 22:17:42 -07:00
a4d851b563 implicits working, but _slow_ 2024-07-09 22:53:21 -07:00
46ddbc1f91 Preliminary work on data and holes 2024-07-06 14:45:26 -04:00
b9f921ab3b Add vscode extension, command line argument, and positioned error handling. 2024-07-04 23:40:38 -04:00
968327cdb3 working. checkpoint before messing with parser 2024-06-25 13:27:11 -07:00
a9c72d5a6d drop HOAS, add Monad stack.
HOAS was dropped while fixing unrelated bug, but I think I'll keep it
out.
2024-04-11 21:09:42 -07:00
6a59aa97f8 Add monad, quote/eval broken 2024-04-11 16:27:51 -07:00
46f9caccab checkpoint 2024-04-11 15:21:13 -07:00
3b1bd4aad1 Fix implicit/explicit printing, various other issues 2024-04-10 22:07:50 -07:00
1f2afb279e Add prettyprint, merge plicity types 2023-09-30 06:36:19 -07:00
59f726ab96 Lib/TT.idr is well scoped 2023-07-13 20:06:03 -07:00
ec3cf04db4 fix comment parsing 2023-05-20 16:20:36 -07:00
c9fdd33770 Move unused files to ATTIC (not committed) 2023-04-10 21:34:43 -07:00
5c294850a8 Checkpoint some existing changes. 2023-04-10 21:24:07 -07:00
6e7a7c7d04 Parse modules 2022-09-15 22:03:20 -07:00
1ed884eff9 Show instances, fixed a bunch of bugs in parsing
- The case / let / indent stuff actually works
- Needed a bunch of defers
- Idris silently builds loops in immediate definitions
2022-09-12 07:46:04 -07:00
39deff1465 chkpt 2022-09-08 22:45:07 -07:00