EU script
- Posted by Chris Bensler <bensler at telus.net> Aug 12, 2001
- 480 views
Has anyone written an EU scripting engine? I didn't see it in the archives. I'm surprised in fact that there isn't one there already. It would solve quite a few problems. Like variable execution, dynamic includes, plugin applications. I have started on one, but I thought I would ask in case it's already out there somewhere and I overlooked it. Side note: What exactly is p-code? I know it's an intermediate language definition, to aid in speeding up the execution. But is there other reasons for using it? I'm already implementing p-code, but I just want to know if there's more I should be doing with it, So far, my script engine can process expressions. And I use the p-code, for the secondary, execution pass, and inlining literal expressions in the parser pass. What's the best way to handle routines? Should I inline them into the p-code? or should the p-code still call the routines? Or CAN I inline the routines? I can't wrap my brain around the concept of branching the p-code. Chris