Commit Graph

44 Commits

Author SHA1 Message Date
f4e96d06ec changes to support translation 2024-12-30 22:34:03 -08:00
d224099e4a more js keywords 2024-12-27 16:00:35 -08:00
9655434b2a add namespaces to names 2024-12-26 18:51:46 -08:00
2f2a737f00 fix issue with dup names in output 2024-12-17 16:17:51 -08:00
62b4bc15c4 day13 2024-12-13 08:02:43 -08:00
2f518a953d Day9 2024-12-09 16:53:32 -08:00
421f5ea208 add jump to def and type on hover for top level 2024-12-07 13:25:29 -08:00
0c0b1668d7 fix erasure issues inside where clauses (add type to LetRec) 2024-12-06 20:55:16 -08:00
8d8078f968 improvements to erasure checking 2024-12-06 20:34:40 -08:00
5c56458b6b Fill in more prelude, 2024d1 2024-11-30 21:46:36 -08:00
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
18e44cb7d3 Improvements to erasure checking, fix to codegen issue 2024-11-29 10:02:45 -08:00
e2db5a77df tweaks to playground samples 2024-11-26 17:04:00 -08:00
d4bcbc5949 primitive erasure implementation, dead code elimination 2024-11-26 14:10:24 -08:00
5cbe594993 merge aoc lib and prelude 2024-11-23 15:08:49 -08:00
affae1fecf Allow where defs to refer to themselves 2024-11-20 19:51:25 -08:00
c665310653 Address issues with unify's case tree in idris
Clean up some stuff in prelude
Add parser for where
2024-11-19 21:35:50 -08:00
9767d92952 more tweaks to pretty printing. 2024-11-15 20:16:02 -08:00
375c16f4fd Search includes scope, tweak to code formatting 2024-11-06 20:53:44 -08:00
3379e6ba3f escape some javascript keywords 2024-10-26 08:02:57 -07:00
8c8cdf4f7f aoc2023 day2, codegen fixes, parsing fix 2024-10-23 20:36:39 -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
9148852eb5 character lits, initial work on literal case trees 2024-10-21 22:53:05 -07:00
33ec03f2da codegen fixes 2024-10-19 06:42:43 -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
e066a304cd Cleanup comments, codegen for primitive type constructors. 2024-09-14 11:39:03 -07:00
90f3229af5 Don't run switch for single cases 2024-09-11 16:23:14 -07:00
06f7ba0984 remove zero-argument functions / applications in generated code 2024-09-07 11:41:16 -07:00
796d93d7d9 tighten up generated code 2024-09-07 11:26:11 -07:00
26ed1355f5 case statement fixes 2024-09-07 10:55:51 -07:00
1d1dd678c3 I think I have case expressions compiling 2024-09-05 22:05:21 -07:00
24ce520680 Wire casetree into checking for embedded case statements 2024-09-04 22:14:40 -07:00
9db5649446 primitive string and int, primitive functions, codegen fixes 2024-08-22 19:41:24 -07:00
1fef9dcfc6 fresh names, move case stuff along a little 2024-08-13 07:43:00 -07:00
023e9e61ad codegen improvements 2024-08-12 11:54:08 -07:00
d39c9aa9b2 Add CExp 2024-08-11 22:22:09 -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
0058b6b724 Tighten up generated code 2024-08-09 07:12:42 -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
13dd77345c Process pattern in correct order 2024-08-08 10:53:45 -07:00
c0f9262c9a nf the types, block comments, more eq example now that we have implicits 2024-07-16 08:10:43 -07:00
a385d1225d wip compile, drop let 2024-07-14 16:50:39 -07:00