|
Luma 0.1.0
A low-level compiled alternative to C, C++, and more!
|
#include <stdio.h>#include <string.h>#include "../c_libs/color/color.h"#include "ast.h"#include "ast_utils.h"
Functions | |
| const char * | node_type_to_string (NodeType type) |
| const char * | binop_to_string (BinaryOp op) |
| const char * | unop_to_string (UnaryOp op) |
| const char * | literal_type_to_string (LiteralType type) |
| void | print_prefix (const char *prefix, bool is_last) |
| void | print_ast (const AstNode *node, const char *prefix, bool is_last, bool is_root) |
| const char * binop_to_string | ( | BinaryOp | op | ) |
| const char * literal_type_to_string | ( | LiteralType | type | ) |
| const char * node_type_to_string | ( | NodeType | type | ) |
| void print_ast | ( | const AstNode * | node, |
| const char * | prefix, | ||
| bool | is_last, | ||
| bool | is_root | ||
| ) |
| void print_prefix | ( | const char * | prefix, |
| bool | is_last | ||
| ) |
| const char * unop_to_string | ( | UnaryOp | op | ) |