Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1.  
  2.  
  3. void set_exp(char *exp, double x);
  4. // puts the token back to line
  5. void putback(double *hold);
  6. // gets the expression. This function is used externally
  7. int get_exp(double *hold);
  8. // works with +-
  9. void level2(double *hold);
  10. // works with */%
  11. void level3(double *hold);
  12. // works with ^
  13. void level4(double *hold);
  14. // works with ()
  15. void level5(double *hold);
  16. // works with elementary tokens
  17. void level6(double *hold);
  18. // gets value of number, function or variable
  19. void primitive(double *hold);
  20. // performs arithmetical operation
  21. void arith(char op, double *r, double *h);
  22. // performs unary (one-operand) operation
  23. void unary(char op, double *r);
  24. // gets variable value by name
  25. double find_var(char *s);
  26. // stops execution of parser and return error code
  27. void serror(int code);
  28. // checks the function table to see if such a function exists
  29. int look_up(char *s);
  30.