From f9b6a64b845dabdf1773da49f248def479659934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Mon, 1 Feb 2021 21:49:12 +0100 Subject: tihdy -> sylt --- src/main.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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, @@ -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)) }, ); -- cgit v1.2.1