mirror of
https://github.com/enso-org/enso.git
synced 2024-12-25 01:33:16 +03:00
8b48637691
Translate syntax warnings and attach to IR when translating operator applications. We should ensure that all Trees are checked for warnings and every warning is attached to some IR. That would require a bit of refactoring: In TreeToIr, we could define helpers wrapping every IR constructor and accepting a `Tree` parameter. The `Tree` could be used to populate the `IdentifiedLocation` when constructing the IR type, and then to attach all warnings after constructing the IR object. # Important Notes - Update JNI dependency. - Introduces a `cargo bench` runner for parser.
23 lines
491 B
TOML
23 lines
491 B
TOML
[package]
|
|
name = "enso-parser-jni"
|
|
version = "0.1.0"
|
|
authors = ["Enso Team <enso-dev@enso.org>"]
|
|
edition = "2021"
|
|
description = "Enso Parser JNI dynamic library."
|
|
readme = "README.md"
|
|
homepage = "https://github.com/enso-org/enso"
|
|
repository = "https://github.com/enso-org/enso"
|
|
license-file = "../../LICENSE"
|
|
|
|
[dependencies]
|
|
enso-prelude = { path = "../../prelude" }
|
|
enso-parser = { path = "../" }
|
|
jni = "0.21.0"
|
|
|
|
[lib]
|
|
name = "enso_parser"
|
|
crate-type = ["cdylib"]
|
|
|
|
[lints]
|
|
workspace = true
|