Commit Graph

35 Commits

Author SHA1 Message Date
747ab08dd6 remove external dependency for Token/WithBounds 2024-12-29 14:04:22 -08:00
9a2eac0bd7 remove a Text.Parser dependency (about 10%), and alternate tokenizer 2024-12-28 21:51:55 -08:00
3ec2f90770 sugar for data and other improvements
- parse types in let (everything but parser was there)
- add sugar for `data`
- move `joinBy` to prelude
- fix highlighting for char in vscode
- better errors for missing imports
2024-12-28 09:45:21 -08:00
4289c5c6e8 negative integers 2024-12-19 16:36:59 -08:00
d22f3844f6 At patterns on LHS 2024-12-14 20:10:43 -08:00
53a0f96207 Day6 and let identifiers contain ? 2024-11-30 17:07:49 -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
370fc8e0aa Add filenames to FC, relocate errors from other files in playground/vscode 2024-11-27 09:57:22 -08:00
e265248b11 change syntax for javascript code literals 2024-11-25 21:53:23 -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
91bb79a998 Mixfix operators 2024-11-10 21:13:18 -08:00
bb749a917a forall / ∀ syntactic sugar 2024-11-09 20:17:38 -08:00
6baee23a73 addZero now works
distinguish two modes of unification
while pattern matching we return constraints on variables, and normally
we are more aggressive about evaluating when matching against a variable.
fixes to `let`
surface #check in vscode
2024-11-02 18:23:46 -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
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
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
4e8f15c3fb add operators 2024-09-14 09:54:20 -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
f5b1998afb checkpoint before FC 2024-08-05 21:31:06 -07:00
ac0cf8c3e8 mostly parsing tweaks 2024-07-20 10:53:44 -07:00
c0f9262c9a nf the types, block comments, more eq example now that we have implicits 2024-07-16 08:10:43 -07:00
349115d055 Checkpoint some stuff so I can rollback the rest. 2023-09-30 06:40:54 -07:00
ec3cf04db4 fix comment parsing 2023-05-20 16:20:36 -07:00
5c294850a8 Checkpoint some existing changes. 2023-04-10 21:24:07 -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