John,
Your explanation on Functions make perfect sense. I push and pop off args to regular functions in the same manner. I just havent quite figured out how to handle local variables at the moment. I knew that function overloading would be tricky.
I use a very crude preprocessor (mass text replacement) on the 1st pass of the script and compile it to pcode on the second. If you can accomplish a 3rd pass within reasonable time, i say go for it. Afterall, once the script is compiled it loads first with no additional passes.
So you're moving on to conditional loops. I have to assume you already have Select...Case working? I'm real curious as to how you worked out the opcode sequence.
PS: Dont forget Multi-Dimensional Arrays and Logical conditions.
Your explanation on Functions make perfect sense. I push and pop off args to regular functions in the same manner. I just havent quite figured out how to handle local variables at the moment. I knew that function overloading would be tricky.
I use a very crude preprocessor (mass text replacement) on the 1st pass of the script and compile it to pcode on the second. If you can accomplish a 3rd pass within reasonable time, i say go for it. Afterall, once the script is compiled it loads first with no additional passes.
So you're moving on to conditional loops. I have to assume you already have Select...Case working? I'm real curious as to how you worked out the opcode sequence.
PS: Dont forget Multi-Dimensional Arrays and Logical conditions.