Nick Fitzgerald
|
6604a26e27
|
Add a top-level parse function
And make `parse_defs` take `self` by ownership. This avoids a couple `Vec`
clones.
|
2021-11-11 15:56:55 -08:00 |
|
Nick Fitzgerald
|
cfaa35d8c0
|
Use structopt to derive CLI flags
Instead of using `clap` directly
|
2021-11-11 15:56:55 -08:00 |
|
Nick Fitzgerald
|
6ffb02d9f6
|
Use miette for reporting errors
This gives us errors with annotated context like this:
```
Error:
× type error: Unknown variable 'x'
╭─[isle_examples/let.isle:24:1]
24 │ (Lower (B.B z))
25 │ (A.Add x y))
· ┬
· ╰── Unknown variable 'x'
╰────
```
|
2021-11-11 15:56:55 -08:00 |
|
Chris Fallin
|
521010cc4f
|
Split into isle and islec crates
|
2021-11-11 15:56:55 -08:00 |
|