#ifndef COMPILE_H
#define COMPILE_H
#include <stdbool.h>
#include "ast.h"
/**
* Prints x86-64 assembly code that implements the given TeenyBASIC AST.
*
* @param node the statement to compile.
* The root node will be a SEQUENCE, PRINT, LET, IF, or WHILE.
* @return true iff compilation succeeds
*/
bool compile_ast(node_t *node);
#endif /* COMPILE_H */
"git@gitlab.caltech.edu:cs1-24fa/lecture-code.git" did not exist on "53c0fea3f33582a4138937b63db26dfce3e1762d"
-
Caleb C. Sander authored590da2eb