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'
╰────
```
14 lines
348 B
TOML
14 lines
348 B
TOML
[package]
|
|
name = "islec"
|
|
version = "0.1.0"
|
|
authors = ["Chris Fallin <chris@cfallin.org>"]
|
|
edition = "2018"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
|
|
[dependencies]
|
|
log = "0.4"
|
|
isle = { version = "*", path = "../isle/" }
|
|
env_logger = { version = "0.8", default-features = false }
|
|
clap = "2.33"
|
|
miette = { version = "3.0.0", features = ["fancy"] }
|