Commit Graph

74 Commits

Author SHA1 Message Date
567a357dee Day20 2024-12-20 17:06:55 -08:00
f2c6b409fe desugaring record implementation (TODO - dependency) 2024-12-19 20:43:10 -08:00
d22f3844f6 At patterns on LHS 2024-12-14 20:10:43 -08:00
00a8678bd4 dead code 2024-12-14 13:29:02 -08:00
71cf4f39f5 Make $ special 2024-11-30 15:51:06 -08:00
d2bbf681ea destructuring lets and arrows 2024-11-30 15:20:51 -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
d4bcbc5949 primitive erasure implementation, dead code elimination 2024-11-26 14:10:24 -08:00
e265248b11 change syntax for javascript code literals 2024-11-25 21:53:23 -08:00
07cbeec6cc add quantity to parser 2024-11-25 21:17:56 -08:00
1a9d44434c first pass at where clauses 2024-11-19 22:40:52 -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
6b36dd1cd1 First pass at sugar for instances. 2024-11-17 19:33:19 -08:00
fac34e729c add sugar for typeclass 2024-11-16 21:08:01 -08:00
454dccaa72 add sugar for if/then/else 2024-11-16 15:49:27 -08:00
e6944bc842 Add example from youtube, allow unicode type names 2024-11-14 21:07:49 -08:00
91bb79a998 Mixfix operators 2024-11-10 21:13:18 -08:00
6abd97ee85 Improvements to grammar 2024-11-09 21:43:38 -08:00
bb749a917a forall / ∀ syntactic sugar 2024-11-09 20:17:38 -08:00
eb1388caa8 change {A} to mean {_ : A} instead of {A : _} 2024-11-06 21:10:05 -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
b844d0b676 parsing and desugaring of do blocks. (Some inference issues remain.) 2024-10-29 21:05:47 -07:00
e8de2d4ccd Combine parser of app and operator 2024-10-29 17:59:24 -07:00
e1ef6b5ee5 Preliminary work on autos 2024-10-25 21:07:12 -07:00
8fe9613c02 additional syntactic sugar
- allow multiple names in infix, typesig, and dcon defs
- align fixities with Idris
2024-10-23 21:41:36 -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
9148852eb5 character lits, initial work on literal case trees 2024-10-21 22:53:05 -07:00
3cbbd8abc2 Better file locations 2024-10-15 22:08:35 -07:00
75015f094a more test cases, problem in Tree.newt 2024-10-07 20:59:50 -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
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
eb281fa3b3 Drop incompatible constructors in case 2024-09-27 20:50:57 -07:00
ac7a61e1fd operators in case patterns 2024-09-14 21:44:41 -07:00
086f3d6541 matching on mixfix 2024-09-14 19:46:15 -07:00
331d966ef3 drop commit/mustWork for parsec approach. allow mixfix constructors 2024-09-14 14:46:04 -07:00
e066a304cd Cleanup comments, codegen for primitive type constructors. 2024-09-14 11:39:03 -07:00
4e8f15c3fb add operators 2024-09-14 09:54:20 -07:00
7a681e5239 implicit patterns 2024-09-11 21:19:40 -07:00
391c9449ac Zonk metas in functions, optional type signature on ptype 2024-09-07 21:32:57 -07:00
24ce520680 Wire casetree into checking for embedded case statements 2024-09-04 22:14:40 -07:00
27432840a8 investigating issue 2024-08-31 20:45:46 -07:00
f3c02ed987 more work on casetree 2024-08-31 14:47:49 -07:00
987ab18b94 case builder starting to work 2024-08-30 22:07:47 -07:00
9db5649446 primitive string and int, primitive functions, codegen fixes 2024-08-22 19:41:24 -07:00
9c5bdf5983 switch to fc 2024-08-07 16:35:27 -07:00
09227e444a case checking partially working 2024-08-04 15:46:43 -07:00