Skip to content

Possible node design .... #62

@kont395

Description

@kont395

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions