-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hayes test suite - currently passes Core and CoreExt - working through CorePlus #83
Comments
( Pass #1: testing 0 >IN +! ) 0 >IN +! SOURCE TYPE CR 1 2* >IN +! xx.MSG( Pass #15: testing 2*) CR Three issues
|
CLEANUP
|
Pass #20: testing ?F~ ?~~ Pass Error : TST4 ( -- n ) 0 5 0 DO 1+ LOOP ;
|
prelimtest.fth now works - on to rest of runtests.fth |
|
|
|
|
|
Needs definitions of .. (this will be edited)
|
List of words from forth2012: ABORT ABORT" ABS ACCEPT ACTION-OF AGAIN ALIGN ALIGNED ALLOT AND BASE BEGIN BL BUFFER: [ [CHAR] [COMPILE] ['] CASE C, CELL+ CELLS C@ CHAR CHAR+ CHARS COMPILE, CONSTANT COUNT CR CREATE C! : :NONAME , C" DECIMAL DEFER DEFER@ DEFER! DEPTH DO DOES> DROP DUP / /MOD .R .( ." ELSE EMIT ENDCASE ENDOF ENVIRONMENT? ERASE EVALUATE EXECUTE EXIT = FALSE FILL FIND FM/MOD @ HERE HEX HOLD HOLDS I IF IMMEDIATE INVERT IS J KEY LEAVE LITERAL LOOP LSHIFT MARKER MAX MIN MOD MOVE M* - NEGATE NIP OF OR OVER 1- 1+ PAD PARSE-NAME PARSE PICK POSTPONE + +LOOP +! QUIT RECURSE REFILL REPEAT RESTORE-INPUT R@ ROLL ROT RSHIFT R> SAVE-INPUT SIGN SM/REM SOURCE-ID SOURCE SPACE SPACES STATE SWAP ; S" S" S>D ! THEN TO TRUE TUCK TYPE ' * / /MOD 2DROP 2DUP 2/ 2@ 2OVER 2R@ 2R> 2SWAP 2! 2 2>R U.R UM/MOD UM UNLOOP UNTIL UNUSED U. U< U> VALUE VARIABLE WHILE WITHIN WORD XOR 0= 0< 0> 0<> \ . < > <> #> <# # #S ( ?DO ?DUP >BODY >IN >NUMBER >R ] |
Words From proposals to Forth2012: }T -> FIND-NAME-IN FIND-NAME T{ From eForth and possibly other Forths: ?branch ?CSP ?KEY ?RX ?STACK ?UNIQUE 'BOOT 'ECHO 'EMIT 'TAP #TIB !IO Words from Exceptions word set ABORT ABORT" CATCH THROW Words that are part of other words - API may change: <MARK MARK >RESOLVE (?do) (charbase) (loop) (+loop) ( Other: _USER 2RDrop >RESOLVES >MARKSTART >BODY! >MARKTHREAD >RESOLVETHREAD ?\ ?negate ?safe ?test ++ -- -ROT @execute BYTEMASK CELL- COMP debugNA emits Fbreak I-MAX IMED immediate? J-MAX ms stack spop spush spushes sempty str testFlags testDepth ud< userAreaInit userAreaSave vHERE v, vALIGN vALLOT vCREATE VP |
There is a test suite "forth2012-test-suite" .
Its a little complex to run - and appears to be failing. Will address each fail and fix below
This comment is the META - updated frequently - you can ignore comments xx-yy below
But pay attention to CLEANUP comment which may require other issues to be opened.
Current test process ...
cd forth2012-test-suite-master/src
$> node ../../scripts/forth_2012.js
webFORTH V0.01.00
INCLUDE ../../scripts/forth2012_runtests.fth
And be patient ...
As implement extensions - can uncomment test files in runtests.fth
[ ] Also See "CLEANUP" comment below
The text was updated successfully, but these errors were encountered: