Commit Graph

221 Commits

Author SHA1 Message Date
8d8078f968 improvements to erasure checking 2024-12-06 20:34:40 -08:00
3227bffaa6 Day6 2024-12-06 09:37:20 -08:00
3aa127c42b turn three crashes into proper errors 2024-12-05 17:10:05 -08:00
ccbd617671 Day5, add SortedMap 2024-12-05 16:13:12 -08:00
21b03368d4 day4 2024-12-03 22:07:52 -08:00
dbc5670a52 link prelude copies to same file 2024-12-03 17:42:11 -08:00
ee50677d4b add missing function, todo items 2024-12-03 17:16:02 -08:00
f573736b7f don't switch to empty console 2024-12-03 16:41:33 -08:00
47657090c1 tweak to day3 2024-12-03 16:36:52 -08:00
4d67db9fe4 2024 day3, fix bug in prelude 2024-12-02 22:34:53 -08:00
ebaee19bcb work around worker stack issues in safari 2024-12-02 21:03:18 -08:00
52bbb5aa65 Day2, prelude additions/fixes, better fc on do block errors 2024-12-02 10:58:10 -08:00
5c56458b6b Fill in more prelude, 2024d1 2024-11-30 21:46:36 -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
067293ea85 Day5 2024-11-30 12:01:55 -08:00
d5a4d6253f port aoc2023 day4
more stuff in Prelude, typechecking fixes, solving autos
2024-11-30 10:27:06 -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
052bab81cb remove main from Tour.newt since it is no longer required 2024-11-27 10:14:39 -08:00
370fc8e0aa Add filenames to FC, relocate errors from other files in playground/vscode 2024-11-27 09:57:22 -08:00
a8363c7a45 Async, HasIO, and get aoc examples working in web 2024-11-26 20:05:25 -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
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
da1cbd2ce6 support dark mode 2024-11-25 16:25:55 -08:00
6f954b1183 tweaks to playground files 2024-11-25 16:25:05 -08:00
acb37a2882 Only log metas for top file, remove metas from Context 2024-11-23 17:48:03 -08:00
a809ad1975 remove node dependencies from Prelude.newt 2024-11-23 16:24:08 -08:00
5cbe594993 merge aoc lib and prelude 2024-11-23 15:08:49 -08:00
dda0bf6fb9 playground: add ability to run code 2024-11-23 10:21:09 -08:00
affae1fecf Allow where defs to refer to themselves 2024-11-20 19:51:25 -08:00
7c8c0c9df0 keep newt.js separate in playground 2024-11-20 19:45:32 -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
9b19c569c9 sugar in samples 2024-11-19 05:35:29 -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
b185065fb0 Port Prettier.idr to newt 2024-11-16 12:01:48 -08:00
26119be8b6 update readme 2024-11-15 21:16:32 -08:00
9767d92952 more tweaks to pretty printing. 2024-11-15 20:16:02 -08:00
9faee86886 tweaks to output, fix scope issue in pprint 2024-11-15 16:49:31 -08:00
e6944bc842 Add example from youtube, allow unicode type names 2024-11-14 21:07:49 -08:00
60abe813dc better names on solutions 2024-11-14 16:28:40 -08:00
a186c15477 suppress closure env in printing 2024-11-13 22:03:00 -08:00
f80fc9c0ff check for shadowed names at top level 2024-11-13 21:54:00 -08:00
0589a30d40 Address a few issues in Combinatory.newt 2024-11-13 20:25:02 -08:00