Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
refactor: move builtins to stdlib
  • Loading branch information
leokostarev committed Jun 20, 2024
1 parent cdfab1e commit ce6f1f9
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 15 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
clap = { version = "4.5.4", features = ["derive"] }
clap = { version = "4.5.7", features = ["derive"] }
once_cell = "1.19.0"
proc-macro2 = "1.0.78"
serde_json = "1.0.115"
proc-macro2 = "1.0.85"
serde_json = "1.0.117"
snailquote = "0.3.1"
thiserror = "1.0.58"
tree-sitter = "0.22.5"
thiserror = "1.0.61"
tree-sitter = "0.22.6"
tree-sitter-frugurt = "0.0.11"
#tree-sitter-frugurt = { path = "../tree-sitter-frugurt" }
#uid = "0.1.7"
Expand Down
1 change: 0 additions & 1 deletion src/interpreter/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
mod ast_helpers;
pub mod builtins;
pub mod control;
pub mod error;
pub mod expression;
Expand Down
19 changes: 10 additions & 9 deletions src/interpreter/scope.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
use std::{cell::RefCell, collections::HashMap, rc::Rc};

use crate::interpreter::{
builtins::functions,
builtins::operators,
error::FruError,
identifier::{Identifier, OperatorIdentifier},
value::fru_object::FruObject,
value::fru_type::FruType,
value::fru_value::FruValue,
value::operator::AnyOperator,
use crate::{
interpreter::{
error::FruError,
identifier::{Identifier, OperatorIdentifier},
value::fru_object::FruObject,
value::fru_type::FruType,
value::fru_value::FruValue,
value::operator::AnyOperator,
},
stdlib::builtins::{functions, operators},
};

pub struct Scope {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/stdlib/mod.rs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pub mod builtins;
pub mod scope;

0 comments on commit ce6f1f9

Please sign in to comment.