diff options
| author | Rose Hogenson <rhogenson@posteo.net> | 2023-02-11 09:41:54 -0800 |
|---|---|---|
| committer | Rose Hogenson <rhogenson@posteo.net> | 2023-02-11 09:41:54 -0800 |
| commit | 4c3b2fec322feb8afd23703866d81f1dda51b6ae (patch) | |
| tree | cae4d14c66f639c13198a4bfafc9425cb8aa70bf /bytecode/oper.h | |
| parent | Finish the compiler. (diff) | |
| download | sml-4c3b2fec322feb8afd23703866d81f1dda51b6ae.tar.zst | |
Add a bytecode interpreter.
I wrote it in C because I actually like programming in C. Turns out
setting up a Makefile is really easy too.
Diffstat (limited to 'bytecode/oper.h')
| -rw-r--r-- | bytecode/oper.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bytecode/oper.h b/bytecode/oper.h new file mode 100644 index 0000000..f3bb688 --- /dev/null +++ b/bytecode/oper.h @@ -0,0 +1,8 @@ +#ifndef _OPER_H_ +#define _OPER_H_ + +#include "slice.h" + +void run(struct slice); + +#endif |
