Commit Graph

51 Commits

Author SHA1 Message Date
baeaf4295d Day3 working
- Fix string and character encoding in output
- Fix autos not solving if another extends context
2024-11-29 22:10:43 -08:00
370fc8e0aa Add filenames to FC, relocate errors from other files in playground/vscode 2024-11-27 09:57:22 -08:00
acb37a2882 Only log metas for top file, remove metas from Context 2024-11-23 17:48:03 -08:00
5cbe594993 merge aoc lib and prelude 2024-11-23 15:08:49 -08:00
1a9d44434c first pass at where clauses 2024-11-19 22:40:52 -08:00
6abd97ee85 Improvements to grammar 2024-11-09 21:43:38 -08:00
69693a4995 defer skolem issue from unsolved meta application 2024-11-09 14:50:50 -08:00
d82c224bc3 address overflow in Prettier,
move Pi constructor to before it is constructed
2024-11-06 06:59:23 -08:00
182876d16b Playground highlights and shows info/errors from build 2024-11-05 13:44:16 -08:00
6164893da5 Parsing updates for unicode
- Allow unicode characters in indents and operators
- Show lexing errors
2024-11-02 10:22:04 -07:00
d41558c219 thinking about IO 2024-10-31 22:17:22 -07:00
8c8cdf4f7f aoc2023 day2, codegen fixes, parsing fix 2024-10-23 20:36:39 -07:00
fe323618e7 Visible infix info from imports 2024-10-22 22:08:34 -07:00
c7593e831e Get AOC day1 working
- Fixes to codegen for literal cases.
- Fix parsing of string literals
- Work around stack overflow in Prettier
2024-10-22 20:30:20 -07:00
497ef7a9f0 Fix unification issues, add debug messages 2024-10-02 19:56:42 -07:00
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