"git@gitlab.caltech.edu:rkalahas/lecture-code.git" did not exist on "65a6176df3802e920ef5df3d2c24257cc4ab5ef1"
compile.h 364 Bytes
#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 */