Gymbo

Namespaces | Functions
compiler.h File Reference

Implementation of compiler. More...

`#include "parser.h"`
`#include "type.h"`
Include dependency graph for compiler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Namespaces
| gymbo

## Functions
void | gymbo::gen_lval (Node *node, Prog &prg)
| Generates virtual instructions for a given AST node, representing the left-hand side of a variable assignment expression. More...
void | gymbo::gen (Node *node, Prog &prg)
| Generates virtual instructions for a given AST node. More...
void | gymbo::compile_ast (std::vector< Node * > code, Prog &prg)
| Compile the Abstract Syntax Tree (AST) into a sequence of instructions. More...

## Detailed Description

Implementation of compiler.

Author
  Hideaki Takahashi