-
-
Save rightfold/0e99480d409fc18efdbe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template<typename CodeIt, typename ArgumentsIt, typename GetGlobal, typename GetString> | |
handle interpret( | |
CodeIt code_begin, CodeIt code_end, // begin and end of bytecode | |
ArgumentsIt arguments_begin, ArgumentsIt arguments_end, // begin and end of arguments | |
GetGlobal&& get_global, // functor that returns a global given its name | |
GetString&& get_string // functor that returns a string given its index in the constant pool | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment