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
15
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:9
error_code_t mya_lexer(module_t *module)
Make the lexical analysis on the given module.
Definition lexer.c:53
Struct that represents a Mya module.
Definition module.h:34
struct module module_t
Struct that represents a Mya module.