2020-12-31 17:12:01 -05:00
|
|
|
#ifndef COMPILER_EXPRESSIONS_H
|
|
|
|
#define COMPILER_EXPRESSIONS_H
|
|
|
|
#include "vm-lines.h"
|
|
|
|
#include "compiler.h"
|
|
|
|
|
|
|
|
/* compiler-expressions
|
2020-12-31 18:02:04 -05:00
|
|
|
* Functions for dealing and compiling expressions and singular terms. */
|
2020-12-31 17:12:01 -05:00
|
|
|
|
|
|
|
// Dealing with singular terms
|
|
|
|
LINEBLOCK* compilesubroutcall(SCOPE* s, SUBROUTCALL* call);
|
|
|
|
|
|
|
|
// Dealing with whole expressions
|
|
|
|
LINEBLOCK* compileexpression(SCOPE* s, TERM* e);
|
|
|
|
LINEBLOCK* compileexplist(SCOPE* s, EXPRESSIONLIST* explist);
|
|
|
|
#endif
|