Questions tagged [interpreters]
For questions about designing and implementing interpreters, language implementations that execute source code directly, as opposed to compilers, which convert source code to executable code, which can then be executed later.
4 questions from the last 365 days
3
votes
1
answer
230
views
How to save C struct pointers in interpreted language? [closed]
I am making an interpreter based on the lox from the book Crafting Interpretes. I have modified the language implementation heavily but the core still remains the same.
Currently I am adding standard ...
11
votes
5
answers
3k
views
Should a virtual machine stack have a limited size?
I'm writing a register- and stack-based virtual machine. My goal is to have something easy to use and general purpose, so I abstain from any form of hardware limitation in its design. Since my VM's ...
8
votes
2
answers
237
views
How can I more effectively test for differences between my implementation and the official implementation of a language?
I built my own interpreter for the esolang ><>. However, over time I've been notified of various ways my version differs from the official interpreter. Each time I patch things but it's ...
0
votes
1
answer
375
views
How would you implement a language in which the function-name could be separated from function arguments two different ways?
Suppose that there was a programming language in which there were two different syntaxes for function calls.
An example of this is shown below:
...