Mescal
Loading...
Searching...
No Matches
parser.h
1#ifndef PARSER_H_
2#define PARSER_H_
3
4#include "shell_help.h"
5#include "shell_languages.h"
6#include "shell_commands.h"
7#include "shell_errors.h"
8#include "shell_test.h"
9#include "main.h"
10#include "nfa.h"
11#include "printing.h"
12#include "regexp_tonfa.h"
13#include "regexp.h"
14#include "tools.h"
15#include <fcntl.h>
16#include <stdio.h>
17#include <stdlib.h>
18#include <string.h>
19#include <unistd.h>
20
21int yylex(void);
22
23void shell_error(char* s);
24
25void prompt(void);
26
27void parse_string(const char* in);
28
29#endif // PARSER_H_
The main file of the program.
Implementation of NFAs.
Implementation of regular expressions.
Construction of a NFA from a regular expression. Thompson's et Glushkov's algorithms.
Single function which displays the help of the program.
Single function used for tests.