Skip to content

Simple questions #2

@VAK-53

Description

@VAK-53

Dear Alessandro,
Six months ago, I started implementing the Forth interpreter in the Elixir language for embedding calculators in nodes of related processes. I chose your forwardVM on GitHub as my prototype.
I'm not that qualified in the field of crafting interpreters, so I have a lot of questions about your wonderful forwardVM. At the moment, I want to understand:

  • why did you choose the direct method of implementing the words if/then/else in ForthVM.Process through pattern matching; does this provide any advantages?
  • how do you assess the possibility of implementing the words if/then/else using built-in functions? After all, 99% of the work in forwardVM is done by built-in functions, and I understand this standard method.

I hope to get your answer to my simple questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions