From 17face3633686e374aa0859271ccf462a48e60aa Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sun, 4 Feb 2024 16:46:20 -0800 Subject: Rewrite the bytecode interpreter in Rust. --- bytecode/value.h | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 bytecode/value.h (limited to 'bytecode/value.h') diff --git a/bytecode/value.h b/bytecode/value.h deleted file mode 100644 index 3fa78c4..0000000 --- a/bytecode/value.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef _VALUE_H_ -#define _VALUE_H_ - -#include -#include - -typedef uint64_t value; - -bool is_int(value); - -int64_t to_int(value); - -value from_int(int64_t); - -bool is_pointer(value); - -value *to_pointer(value); - -value from_pointer(value *); - -#endif -- cgit v1.3.1