diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2024-02-04 16:46:20 -0800 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2024-02-04 16:46:20 -0800 |
| commit | 17face3633686e374aa0859271ccf462a48e60aa (patch) | |
| tree | 6a5482717ef1b8194ccf347a6d8af06d664902cd /bytecode/value.h | |
| parent | d940187fd8720e0ab3c00e5a6a7ae8f181c7752d (diff) | |
| download | sml-17face3633686e374aa0859271ccf462a48e60aa.tar.zst | |
Rewrite the bytecode interpreter in Rust.
Diffstat (limited to 'bytecode/value.h')
| -rw-r--r-- | bytecode/value.h | 21 |
1 files changed, 0 insertions, 21 deletions
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 <stdbool.h> -#include <stdint.h> - -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 |
