diff options
Diffstat (limited to 'libalee/corewords.hpp')
-rw-r--r-- | libalee/corewords.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libalee/corewords.hpp b/libalee/corewords.hpp index 993a420..d4d7ef2 100644 --- a/libalee/corewords.hpp +++ b/libalee/corewords.hpp @@ -31,20 +31,20 @@ void user_sys(State&); class CoreWords { public: - constexpr static std::size_t WordCount = 37; - constexpr static int Semicolon = 26; + constexpr static Cell WordCount = 37; + constexpr static Cell Semicolon = 26; /** * Finds execution token that corresponds to the given word. * Returns -1 if not found. */ - static int findi(const char *); - static int findi(State&, Word); + static Cell findi(const char *); + static Cell findi(State&, Word); /** * Executes the given CoreWord execution token using the given state. */ - static void run(unsigned int, State&); + static void run(Cell, State&); constexpr static char wordsarr[] = "_lit\0drop\0dup\0swap\0pick\0sys\0" |