Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..7e147b0
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,7 @@
+mod run;
+use proc_macro::TokenStream;
+
+#[proc_macro]
+pub fn i(i: TokenStream) -> TokenStream {
+ run::exec(&i.to_string()).into()
+}