Work on usable codegen

- escape js names
- executable output
- better FC in parsing
- experiment with IO
This commit is contained in:
2024-09-29 22:17:51 -07:00
parent 76e627825c
commit 151f678f75
7 changed files with 116 additions and 18 deletions

View File

@@ -3,6 +3,7 @@
I may be done with `U` - I keep typing `Type`.
- [ ] Sanitize JS idents, e.g. `_+_`
- [ ] Generate some programs that do stuff
- [x] import
- [ ] consider making meta application implicit in term, so its more readable when printed
@@ -48,6 +49,7 @@ I may be done with `U` - I keep typing `Type`.
- [ ] magic tuple? (codegen as array)
- [ ] magic newtype? (drop in codegen)
- [ ] records / copatterns
- [ ] vscode: syntax highlighting for String
- [ ] Read Ulf Norell thesis