diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2023-11-18 08:13:19 -0500 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2023-11-18 08:13:19 -0500 |
commit | 6e4c0430de5ade2c8375ddcdeec93d4df3b163b1 (patch) | |
tree | 33886ae29401d4508298c6d63592ccdfb37a0e17 /libalee/corewords.hpp | |
parent | a3fca07d87a2d057657af9bb79de9f595e4b1a10 (diff) |
add _nx word, use for most of core
not seeing performance improvement yet
Diffstat (limited to 'libalee/corewords.hpp')
-rw-r--r-- | libalee/corewords.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libalee/corewords.hpp b/libalee/corewords.hpp index 959d2e8..5d2e5ca 100644 --- a/libalee/corewords.hpp +++ b/libalee/corewords.hpp @@ -43,6 +43,8 @@ void user_sys(State& state); class CoreWords { public: + static void initialize(State& state); + /** * Searches for the token/index of the given word if it is part of the * fundamental word-set. @@ -81,7 +83,7 @@ public: "<<\0>>\0:\0_'\0execute\0" "exit\0;\0_jmp0\0_jmp\0" "depth\0_rdepth\0_in\0_ev\0find\0" - "_uma\0u<\0um/mod\0"; + "_uma\0u<\0um/mod\0_nx\0"; /** * Count of total fundamental words. @@ -114,6 +116,7 @@ private: return -1; } +public: static void word_lit(State&); static void word_drop(State&); static void word_dup(State&); |