clipka <ano### [at] anonymousorg> wrote:
> Am 13.02.2016 um 09:04 schrieb Theogott:
> > Seeing that in some (for example "plant growing") scenes, the POV uses still a
> > lot of time in "reading Tokens", i suggest a Multi-Pass Parsing system with a
> > human readable front-end and a machine-token (fast to parse) Backend.
> The current plan is to compile the scene script directly into bytecode
> for a virtual machine, and only then actually start executing it. The VM
> will most certainly be a pre-existing one, most likely LLVM, giving us
> access to optimization, JIT-compilation and the like at virtually no
> implementation effort on our part.
> As for a 4-level parser, I suspect that would add unreasonable
> complexity to the whole thing. It might be justified if we had a team of
> half a dozen people working on the parser alone, but at present I don't
> see that happening anytime soon.
What you do is, you expand the Macros and "Compiler-IF's" in the first Pass.
I just said "This is pass 2"
Until here we have just a defintion question.
About the suggestes XML-Backend. I understand that you prefer to use predefines
components. My contribution was more or less just to show some points.
Of course not anything that we can imagine is in reality doable, due to limited
time and resources.
Post a reply to this message