mitra42 / webForth

Forth for the web - implemented in JS and other web technologies
https://www.mitra.biz/forth/console.html
GNU Affero General Public License v3.0
27 stars 1 forks source link

Refactor find etc #84

Closed mitra42 closed 3 years ago

mitra42 commented 3 years ago

Have :

Refactor around: FIND-NAME-IN ( c-addr u wid -- nt | 0 ) FIND-NAME (c-addr u -- nt | 0) NAME>XT like xt2na() na -- xt note that in some FORTHs this will be NAME>INTERPRET or NAME>COMPILE IMMEDIATE? (na | F) FIND (caddr -- caddr 0 | xt 1(immed) | xt -1(not immed))

See: https://forth-standard.org/standard/core/FIND and https://forth-standard.org/proposals/find-name#contribution-58

(At least partially Needed for #83 test suite)

mitra42 commented 3 years ago

Straw person (may get edited)

mitra42 commented 3 years ago

Some things not according to plan above, but all good. (Currently on Forth2012 branch just locally - will merge into master soon)