Skip to content
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

Add sequential interpreter ontology argument #170

Open
Vaguery opened this issue Feb 6, 2018 · 1 comment
Open

Add sequential interpreter ontology argument #170

Vaguery opened this issue Feb 6, 2018 · 1 comment

Comments

@Vaguery
Copy link
Owner

Vaguery commented Feb 6, 2018

It will be easiest to set up an interpreter's ontology (bindings, instructions, types etc that it recognizes) using something like this (extended from the templates):

  • start with a template interpreter (empty or onewitheverything as defaults)
  • add-type
  • add-module
  • add-instruction (by name)
  • add-binding
  • populate-stack
  • populate-binding
  • set-counter
  • set-limit
  • etc

The initialization then proceeds by threading through these in order given, something like the way the templates are currently done, but in a more programatic way, and leaving net results to convention.

@Vaguery
Copy link
Owner Author

Vaguery commented Mar 6, 2018

Affected by #175

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