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

Feature: Extending with javascript #39

Closed mitra42 closed 3 years ago

mitra42 commented 3 years ago

We need a way to add new Javascript when extending since jsFunctionAttributes is read once at startup.

mitra42 commented 3 years ago

Two ways currently - a: Pass extensions into the constructor call - same format as jsFunctionAttributes, will add to or replace those in jsFunctionAttributes b: Superclass Forth (see test_dump.mjs)