Skip to content

Possible node design .... #62

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

Open
kont395 opened this issue Mar 20, 2025 · 0 comments
Open

Possible node design .... #62

kont395 opened this issue Mar 20, 2025 · 0 comments

Comments

@kont395
Copy link

kont395 commented Mar 20, 2025

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 mitra42/webForth#23 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant