madlib
madlib copied to clipboard
Madlib language compiler
Original comment which sparked more discussion in Slack: > Iām writing a decent amount of stuff that I think a compiler could do for me: ``` canAfford :: Integer ->...
How it works within the JS backend and how we should make it work for the llvm backend as well: ``` \x[2 hexa digits] \u[4 hexa digits] \u{whatever amount of...
When we compile a module we have a few steps: - source ast - canonical ast - solved ast - core ast - generated object file or js file The...
``` type Cool a => Cool(a) type Shit a => Shit(a) nice = Cool("nice") not_nice = Shit("shit") Cool.is(nice) // true Cool.is(not_nice) // false ``` I'd like some kind of affordance...
When trying to run `scripts/build && scripts/run test -i .`, there is a persistent error when using node < 13.0.0 ``` Error: Cannot find module 'fs/promises' Require stack: - /Users/brekk/work/madlib/tools/test-runner/dist/test-runner.js...
Some convenience functions for `List`: - `without` drops any matching items - `dropEq` drops a single matching item
- [x] - Added `skip` function which can be used to eschew `test` function calls in lieu of incrementing a skipped test count - [ ] - Added `--verbose` flag...
I regularly end up manually adding: ``` "importAliases": { ".": "src" } ``` to `madlib.json`, so I thought automatically adding it would save me some time (and honestly, I don't...