aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-02-01 21:49:12 +0100
committerGustav Sörnäs <gustav@sornas.net>2021-02-01 21:49:29 +0100
commitf9b6a64b845dabdf1773da49f248def479659934 (patch)
treef434d4606f5827d393c20712e2a527a9395d6ad7 /src
parent8089ff61f5ca608e0801e74360203c6fd789b5d7 (diff)
downloadsylt-f9b6a64b845dabdf1773da49f248def479659934.tar.gz
tihdy -> sylt
Diffstat (limited to 'src')
-rw-r--r--src/main.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs
index c52acc8..37ae256 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,6 +1,6 @@
use std::path::{Path, PathBuf};
-use tihdy::run_file;
+use sylt::run_file;
struct Args {
file: Option<PathBuf>,
@@ -39,12 +39,12 @@ fn parse_args() -> Args {
args
}
-tihdy_derive::extern_function!(
+sylt_macro::extern_function!(
extern_test
- [tihdy::Value::Float(x), tihdy::Value::Float(y)] -> tihdy::Type::Float => {
- Ok(tihdy::Value::Float(x + y))
+ [sylt::Value::Float(x), sylt::Value::Float(y)] -> sylt::Type::Float => {
+ Ok(sylt::Value::Float(x + y))
},
- [tihdy::Value::Float(x)] -> tihdy::Type::Float => {
- Ok(tihdy::Value::Float(*x))
+ [sylt::Value::Float(x)] -> sylt::Type::Float => {
+ Ok(sylt::Value::Float(*x))
},
);