Skip to content

Commit

Permalink
Merge pull request #139 from kenarab/main
Browse files Browse the repository at this point in the history
First version of  linear checker
  • Loading branch information
igaray authored Jun 7, 2024
2 parents dceb27e + 36a3006 commit 8f9e32e
Show file tree
Hide file tree
Showing 11 changed files with 1,216 additions and 87 deletions.
171 changes: 86 additions & 85 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,12 @@ Features:
- casts ✔️
- arrays 🏗️
- iterators :x:
- for :x:
- for 🏗️
- match :x:
- option :x:
- enums :x:
- impl :x:
- linear type checker :x:
- linear type checker 🏗️
- borrow checker :x:
- generics :x:
- traits :x:
Expand Down
2 changes: 2 additions & 0 deletions crates/concrete_check/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ concrete_ir = { version = "0.1.0", path = "../concrete_ir" }
concrete_session = { version = "0.1.0", path = "../concrete_session" }
itertools = "0.12.0"
thiserror = "1.0.56"
tracing.workspace = true

2 changes: 2 additions & 0 deletions crates/concrete_check/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ use ariadne::{ColorGenerator, Label, Report, ReportKind};
use concrete_ir::lowering::errors::LoweringError;
use concrete_session::Session;

pub mod linearity_check;

/// Creates a report from a lowering error.
pub fn lowering_error_to_report(
error: LoweringError,
Expand Down
Loading

0 comments on commit 8f9e32e

Please sign in to comment.