source: icGREP/icgrep-devel/icgrep/re_compiler.h @ 4129

Last change on this file since 4129 was 3914, checked in by cameron, 5 years ago

Updates for icgrep-0.9: re simplifications, re names, replimit mods, debugged while loops

File size: 1.5 KB
Line 
1/*
2 *  Copyright (c) 2014 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 *  icgrep is a trademark of International Characters.
5 */
6
7#ifndef RE_COMPILER_H
8#define RE_COMPILER_H
9
10#include "hrtime.h"
11
12//Regular Expressions
13#include "re_re.h"
14#include "re_alt.h"
15#include "re_cc.h"
16#include "re_name.h"
17#include "re_end.h"
18#include "re_rep.h"
19#include "re_seq.h"
20#include "re_start.h"
21#include "re_nullable.h"
22#include "re_simplifier.h"
23#include "re_reducer.h"
24
25#include "printer_pablos.h"
26#include "printer_re.h"
27
28#include "utf8_encoder.h"
29#include "utf_encoding.h"
30
31#include "parseresult.h"
32#include "parsesuccess.h"
33#include "parsefailure.h"
34#include "re_parser.h"
35#include "cc_compiler.h"
36#include "cc_codegenobject.h"
37#include "cc_compiler.h"
38
39#include "pbix_compiler.h"
40#include "symbol_generator.h"
41#include "llvm_gen.h"
42
43//FOR TESTING AND AND ANALYSIS
44//#include "pbix_counter.h"
45
46#include <fstream>
47#include <iostream>
48#include <string>
49#include <sstream>
50#include <vector>
51#include <ctype.h>
52
53struct processed_parsetree_results{
54    RE* re;
55    std::string remaining;
56};
57
58class RE_Compiler
59{
60public:
61    RE_Compiler();
62    LLVM_Gen_RetVal compile(bool show_compile_time,
63                            bool ascii_only,
64                            std::string basis_pattern,
65                            std::string gensym_pattern,
66                            UTF_Encoding encoding ,
67                            std::string input_string);
68};
69
70#endif // RE_COMPILER_H
Note: See TracBrowser for help on using the repository browser.