starter icon indicating copy to clipboard operation
starter copied to clipboard

Possible node design ....

Open kont395 opened this issue 9 months ago • 0 comments

Possible node design .... In parent package:

require 'webforth'; // defines a "forth" global
require 'foo' // where foo is defined in package.json to be a .js file
forth.load('https://bar.com/foo.f') // Load a forth file. Relative to current URL (e.g. could be a file or HTTP etc)

In forth package something like

forth = { m, c, x, load } 
export forth

Originally posted by @mitra42 in https://github.com/mitra42/webForth/issues/23#issuecomment-698849542

kont395 avatar Mar 20 '25 18:03 kont395