libmya 0.1.0
Library to parse Mya language.
Loading...
Searching...
No Matches
mya.h
Go to the documentation of this file.
1#pragma once
2
3#include "module.h"
4#include "token.h"
5#include "types/mir.h"
6
19
30
enum error_code error_code_t
Enumeration of error codes.
error_code_t mya_parser(module_t *module)
Make the syntactical analysis on the given module and construct the AST.
Definition parser.c:12
error_code_t mya_lexer(module_t *module)
Make the lexical analysis on the given module.
Definition lexer.c:53
error_code_t mya_evaluator(mir_t *mir, module_t *module)
Make the semantic analysis on the given module and evaluates the statements, constructing the in-memo...
Definition evaluator.c:6
Mya in-memory intermediate representation.
Definition mir.h:117
Struct that represents a Mya module.
Definition module.h:36
struct mir mir_t
Mya in-memory intermediate representation.
struct module module_t
Struct that represents a Mya module.