-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEAT: added Red interpreter FEAT: added temporary tokenizer FEAT: added %console.red script FEAT: added DO and LOAD natives FEAT: added actions jump table and runtime registration support FEAT: added natives jump table and runtime registration support FEAT: now actions, natives and functions store a pointer to their compiled version in their value slot. FEAT: added "load-in" internal constructor FEAT: added `dump-symbols` debugging function for dumping global context content FIX: several context! internal bugs FIX: string/rs-head was not taking account of string offset FIX: fixed volative UTF-8 symbols buffer issues by duplicating them on creation Current limitations: ------------------ Tokenizer: temporary implementation, will be upgraded soon. - Latin-1 only input (no Unicode support) - supports: integer!, block!, word!, lit-word!, get-word!, set-word!, string!, paren! - no support for negative integers - no paths support Interpreter: - able to evaluate all predefined actions, natives and functions. - intrinsic natives not supported (includes: if unless either any all while until loop repeat foreach forall break halt func function does has exit return switch case routine ) - refinements not supported - path notation not supported - simple infix notation supported - chained infix partially supported (mix of math ops and comparison not working) Console: - Windows only - relies on command.com for features like editing and history - Latin-1 only, no Unicode support (limitation of the tokenizer)
- Loading branch information
Showing
25 changed files
with
1,042 additions
and
74 deletions.
There are no files selected for viewing
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
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
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
Oops, something went wrong.