Mescal
Loading...
Searching...
No Matches
parse_regexp.h
1#ifndef PARSE_REGEXP_H_
2#define PARSE_REGEXP_H_
3
4#include "main.h"
5#include "nfa.h"
6#include "printing.h"
7#include "regexp.h"
8#include "regexp_tonfa.h"
9#include "shell_commands.h"
10#include "shell_help.h"
11#include "shell_languages.h"
12#include "shell_test.h"
13#include "tools.h"
14#include <fcntl.h>
15#include <stdio.h>
16#include <stdlib.h>
17#include <string.h>
18#include <unistd.h>
19
20int regexp_lex(void);
21
22void regexp_error(regexp **thereg, char *s);
23
24regexp *parse_string_regexp(const char *in);
25
26#endif // PARSE_REGEXP_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.
Type used to represent a single node in a regular expression.
Definition regexp.h:123