jackc/compiler/compiler-expressions.h

16 lines
478 B
C
Raw Permalink Normal View History

2021-01-04 15:00:48 -05:00
#ifndef COMPILER_EXPRESSIONS_H
#define COMPILER_EXPRESSIONS_H
#include "vm-lines.h"
#include "compiler.h"
/* compiler-expressions
* Functions for dealing and compiling expressions and singular terms. */
// Dealing with singular terms
LINEBLOCK* compilesubroutcall(SCOPE* s, SUBROUTCALL* call);
// Dealing with whole expressions
2021-01-06 19:18:52 -05:00
LINEBLOCK* compileexpression(SCOPE* s, DEBUGINFO* d, TERM* e);
LINEBLOCK* compileexplist(SCOPE* s, DEBUGINFO* d, EXPRESSIONLIST* explist);
2021-01-04 15:00:48 -05:00
#endif