I am trying to understand how the php compiler/interpretor works. I tried to download the php source code and tried to understand how it works. I was not able to find proper documentation. WOuld be
This question already has answers here: Learning to write a compiler [closed] 开发者_如何学C(38 answers)
Hm, this is language - agnostic, I would prefer doing it in C# or F#, but I\'m more interested this time in the question \"how would that work anyway\".
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
I\'m trying to make a meta-language for writing markup code (such as xml and html) which can be directly embedded into C/C++ code.
I\'m asking this because I\'m relatively new to interpreter development and I wanted to know some basic concepts before reinventing the wheel.
I\'m writing an interpreter. I\'ve done that before but never tried one which can work with expressions like 3 + 4 * 2 / ( 1 − 5 ) ^ 2 ^ 3.
In my interpreter, code like the following x=(y+4)*z echo x parses and \"optimizes\" down to four single operations performed 开发者_如何学编程by the interpreter, pretty much assembly-like:
Is speed of the (main/only viable) implementation of an interpreted program开发者_开发问答ming language a criteria today?
I have designed around 5 experimental languages and interpreters for them so far, for educat开发者_JS百科ion, as a hobby and for fun.