forked from zephir-lang/zephir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompiler.php
executable file
·77 lines (72 loc) · 3.93 KB
/
compiler.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?php
/*
+--------------------------------------------------------------------------+
| Zephir Language |
+--------------------------------------------------------------------------+
| Copyright (c) 2013-2014 Zephir Team and contributors |
+--------------------------------------------------------------------------+
| This source file is subject the MIT license, that is bundled with |
| this package in the file LICENSE, and is available through the |
| world-wide-web at the following url: |
| http://zephir-lang.com/license.html |
| |
| If you did not receive a copy of the MIT license and are unable |
| to obtain it through the world-wide-web, please send a note to |
| [email protected] so we can mail you a copy immediately. |
+--------------------------------------------------------------------------+
*/
error_reporting(E_ALL);
define('ZEPHIRPATH', __DIR__ . '/');
require ZEPHIRPATH . 'Library/ParseException.php';
require ZEPHIRPATH . 'Library/CompilerException.php';
require ZEPHIRPATH . 'Library/CompilationContext.php';
require ZEPHIRPATH . 'Library/HeadersManager.php';
require ZEPHIRPATH . 'Library/StringsManager.php';
require ZEPHIRPATH . 'Library/ClassDefinition.php';
require ZEPHIRPATH . 'Library/ClassProperty.php';
require ZEPHIRPATH . 'Library/ClassConstant.php';
require ZEPHIRPATH . 'Library/ClassMethod.php';
require ZEPHIRPATH . 'Library/Bootstrap.php';
require ZEPHIRPATH . 'Library/Compiler.php';
require ZEPHIRPATH . 'Library/CompilerFile.php';
require ZEPHIRPATH . 'Library/SymbolTable.php';
require ZEPHIRPATH . 'Library/Variable.php';
require ZEPHIRPATH . 'Library/GlobalConstant.php';
require ZEPHIRPATH . 'Library/Expression.php';
require ZEPHIRPATH . 'Library/CompiledExpression.php';
require ZEPHIRPATH . 'Library/CodePrinter.php';
require ZEPHIRPATH . 'Library/ClassMethodParameters.php';
require ZEPHIRPATH . 'Library/StatementsBlock.php';
require ZEPHIRPATH . 'Library/Detectors/ReadDetector.php';
require ZEPHIRPATH . 'Library/Detectors/WriteDetector.php';
require ZEPHIRPATH . 'Library/Statements/Abstract.php';
require ZEPHIRPATH . 'Library/Statements/ThrowStatement.php';
require ZEPHIRPATH . 'Library/Statements/EchoStatement.php';
require ZEPHIRPATH . 'Library/Statements/LetStatement.php';
require ZEPHIRPATH . 'Library/Statements/DeclareStatement.php';
require ZEPHIRPATH . 'Library/Statements/ReturnStatement.php';
require ZEPHIRPATH . 'Library/Statements/IfStatement.php';
require ZEPHIRPATH . 'Library/Statements/LoopStatement.php';
require ZEPHIRPATH . 'Library/Statements/DoWhileStatement.php';
require ZEPHIRPATH . 'Library/Statements/WhileStatement.php';
require ZEPHIRPATH . 'Library/Statements/SwitchStatement.php';
require ZEPHIRPATH . 'Library/Statements/ForStatement.php';
require ZEPHIRPATH . 'Library/Statements/BreakStatement.php';
require ZEPHIRPATH . 'Library/Statements/ContinueStatement.php';
require ZEPHIRPATH . 'Library/Statements/UnsetStatement.php';
require ZEPHIRPATH . 'Library/Optimizers/EvalExpression.php';
require ZEPHIRPATH . 'Library/Builder/Operators/BinaryOperatorBuilder.php';
require ZEPHIRPATH . 'Library/Builder/VariableBuilder.php';
require ZEPHIRPATH . 'Library/Call.php';
require ZEPHIRPATH . 'Library/FunctionCall.php';
require ZEPHIRPATH . 'Library/MethodCall.php';
require ZEPHIRPATH . 'Library/StaticCall.php';
require ZEPHIRPATH . 'Library/Passes/LocalContextPass.php';
require ZEPHIRPATH . 'Library/Passes/LoopBreakPass.php';
require ZEPHIRPATH . 'Library/Passes/SkipVariantInit.php';
require ZEPHIRPATH . 'Library/Passes/StaticTypeInference.php';
require ZEPHIRPATH . 'Library/Config.php';
require ZEPHIRPATH . 'Library/Logger.php';
require ZEPHIRPATH . 'Library/Color.php';
require ZEPHIRPATH . 'Library/Utils.php';
Bootstrap::boot();