2017-04-22 18:39:52 +00:00
|
|
|
/**********************************
|
|
|
|
* C02 Expession Parsing Routines *
|
|
|
|
**********************************/
|
|
|
|
|
2018-02-13 22:25:57 +00:00
|
|
|
char term[255]; //Term parsed from equation
|
2017-04-22 18:39:52 +00:00
|
|
|
|
2017-05-01 01:17:50 +00:00
|
|
|
char fnstck[MAXFNS][VARLEN+1]; //Function Call Stack
|
|
|
|
int fnscnt; //Number of Functions in Stack
|
|
|
|
|
2018-02-13 23:16:23 +00:00
|
|
|
int chkadr(int adract); //Check for and Process Address or String
|
2018-02-13 22:25:57 +00:00
|
|
|
void chkidx(); //Check for, Parse, and Process Index
|
|
|
|
void prsadr(int adract); //Parse and Compile Address of Operator
|
|
|
|
void prsfnc(char trmntr); //Parse function call
|
|
|
|
void prsidx(); //Parse Array Index
|
|
|
|
void prstrm(); //Parse Term in Expression
|
|
|
|
void prsxpr(char trmntr); //Parse Expression
|
2017-04-22 18:39:52 +00:00
|
|
|
|
2017-05-01 01:17:50 +00:00
|
|
|
|