Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Implement interpreter #4

Open
miguelmartin75 opened this issue Apr 23, 2013 · 0 comments
Open

Implement interpreter #4

miguelmartin75 opened this issue Apr 23, 2013 · 0 comments

Comments

@miguelmartin75
Copy link
Owner

I've decided to interpret the language, as writing a compiler will take too much work. In order to write a compiler I would have these choices:

  • Compile to machine code (assembly) - this will require me to learn assembly
  • Compile to C, C++ or another language

Compiling to C or C++ will require another compilation step and learning assembly will probably take too long. Therefore, I think I will not compile to any language.

Fast interpretation does require compilation to an IR, however, for now, I shall just interpret the AST.

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

No branches or pull requests

1 participant