Wow! Great! The problem has been completely solved... :)
And thanks EssGeEich. But I don't really understand what you said. In my opinion using console program to input the code makes me annoyed (just because it's small, less convenient, and ugly)
Did you use notepad or copy-paste some simple code? It seems you actually did not test it...
And, what is realtime interpreter? Compiler? Workspace? or anything else?
Wow! By chance I discovered the parser is able to define variables inside the expression :
1 2 3 4 5 6 7 8
int a;
int b[100];
int *c;
int array[int size = 16];
printf("Pow result = %f\n\n", double result = pow(double value = 4.00, 2.00));
printf("%.3f ^ %.3f = %.3f\n", value, 2.00, result);
A realtime interpreter is where you can type in each line of the script separately and it will instantly be evaluated before you can type in the next line. It is good for testing purposes when you want to set something that is only a few lines or you just want to mess around with the interpreter.
Thanks helios very much, I'll do some research but perhaps I cannot apply this for my intepreter...Because skimmed quickly its conditions and requirements are not fit :(
Catfish - I'll come back later... But it seems the video you mentioned is very insteresting!
EssGeEich - Yes, thank you for your great idea. I should build up macro feature instead of using only linear search method :)
L B - Thank you, now I understand. Completely this is a new idea. But, is this possible????????
??? Yes, I know them, but the question " And where can I use them?". I asked this just because I want to know more information (probably they may be great features and I'll add them into my interpreter) :)
I decided. Before implementing this, I have to get rid of old core machine completely and build up a super...super and ultra super machine that can handle assembly!!!!!!!!!!!!!! :D