polserver/pol-core/bscript/compiler/ast
Eric Swanson 002ea6fbba
Add support for dictionary creation (#277)
Adds:
- ast/DictionaryEntry: AST node for a key -> value pair in a dictionary initializdr
- ast/DictionaryInitializer: AST node for creating a new dictionary
- ast/UninitializedValue: AST node for an uninit object
2020-09-06 04:02:37 -07:00
..
Argument.cpp New compiler: Add AST nodes for function calls. Can compile hello world. (#240) 2020-08-24 01:47:38 -07:00
Argument.h New compiler: Add AST nodes for function calls. Can compile hello world. (#240) 2020-08-24 01:47:38 -07:00
ArrayInitializer.cpp New compiler: array initialization (#274) 2020-09-06 00:13:49 -07:00
ArrayInitializer.h New compiler: array initialization (#274) 2020-09-06 00:13:49 -07:00
AssignVariableConsume.cpp New compiler: assignment to local and global variables. (#269) 2020-09-04 00:10:38 -07:00
AssignVariableConsume.h New compiler: assignment to local and global variables. (#269) 2020-09-04 00:10:38 -07:00
BinaryOperator.cpp Add binary operators (#265) 2020-09-01 22:49:48 -07:00
BinaryOperator.h Add binary operators (#265) 2020-09-01 22:49:48 -07:00
Block.cpp Add support for if-then-else statements (#259) 2020-08-30 17:03:26 -07:00
Block.h Add support for if-then-else statements (#259) 2020-08-30 17:03:26 -07:00
CaseDispatchDefaultSelector.cpp New compiler: Add support for case statements (#272) 2020-09-05 20:41:58 -07:00
CaseDispatchDefaultSelector.h New compiler: Add support for case statements (#272) 2020-09-05 20:41:58 -07:00
CaseDispatchGroup.cpp New compiler: Add support for case statements (#272) 2020-09-05 20:41:58 -07:00
CaseDispatchGroup.h New compiler: Add support for case statements (#272) 2020-09-05 20:41:58 -07:00
CaseDispatchGroups.cpp New compiler: Add support for case statements (#272) 2020-09-05 20:41:58 -07:00
CaseDispatchGroups.h New compiler: Add support for case statements (#272) 2020-09-05 20:41:58 -07:00
CaseDispatchSelectors.cpp New compiler: Add support for case statements (#272) 2020-09-05 20:41:58 -07:00
CaseDispatchSelectors.h New compiler: Add support for case statements (#272) 2020-09-05 20:41:58 -07:00
CaseStatement.cpp New compiler: Add support for case statements (#272) 2020-09-05 20:41:58 -07:00
CaseStatement.h New compiler: Add support for case statements (#272) 2020-09-05 20:41:58 -07:00
ConstDeclaration.cpp Add support for const declarations (#264) 2020-09-01 00:54:24 -07:00
ConstDeclaration.h Add support for const declarations (#264) 2020-09-01 00:54:24 -07:00
DictionaryEntry.cpp Add support for dictionary creation (#277) 2020-09-06 04:02:37 -07:00
DictionaryEntry.h Add support for dictionary creation (#277) 2020-09-06 04:02:37 -07:00
DictionaryInitializer.cpp Add support for dictionary creation (#277) 2020-09-06 04:02:37 -07:00
DictionaryInitializer.h Add support for dictionary creation (#277) 2020-09-06 04:02:37 -07:00
DoWhileLoop.cpp Add do-while statement (#276) 2020-09-06 02:26:41 -07:00
DoWhileLoop.h Add do-while statement (#276) 2020-09-06 02:26:41 -07:00
ExitStatement.cpp New compiler: add return and exit statements (#261) 2020-08-30 22:55:30 -07:00
ExitStatement.h New compiler: add return and exit statements (#261) 2020-08-30 22:55:30 -07:00
Expression.cpp Add Expression, Statement, Value AST base classes, and TopLevelStatements (#229) 2020-08-17 22:53:03 -07:00
Expression.h Add Expression, Statement, Value AST base classes, and TopLevelStatements (#229) 2020-08-17 22:53:03 -07:00
FloatValue.cpp Add FloatValue (#233) 2020-08-19 19:43:08 +02:00
FloatValue.h Add FloatValue (#233) 2020-08-19 19:43:08 +02:00
ForeachLoop.cpp Add foreach loops (#275) 2020-09-06 01:22:47 -07:00
ForeachLoop.h Add foreach loops (#275) 2020-09-06 01:22:47 -07:00
Function.cpp Add limited support for user functions (#262) 2020-08-31 18:46:27 -07:00
Function.h Add limited support for user functions (#262) 2020-08-31 18:46:27 -07:00
FunctionBody.cpp New compiler: program declarations (#246) 2020-08-28 22:45:07 -07:00
FunctionBody.h New compiler: program declarations (#246) 2020-08-28 22:45:07 -07:00
FunctionCall.cpp New compiler: Add AST nodes for function calls. Can compile hello world. (#240) 2020-08-24 01:47:38 -07:00
FunctionCall.h New compiler: Add AST nodes for function calls. Can compile hello world. (#240) 2020-08-24 01:47:38 -07:00
FunctionParameterDeclaration.cpp Build AST nodes for module function declarations (#239) 2020-08-23 15:01:39 -07:00
FunctionParameterDeclaration.h Build AST nodes for module function declarations (#239) 2020-08-23 15:01:39 -07:00
FunctionParameterList.cpp Build AST nodes for module function declarations (#239) 2020-08-23 15:01:39 -07:00
FunctionParameterList.h Build AST nodes for module function declarations (#239) 2020-08-23 15:01:39 -07:00
Identifier.cpp Compiler rewrite: add global variables (#241) 2020-08-25 00:57:03 -07:00
Identifier.h Compiler rewrite: add global variables (#241) 2020-08-25 00:57:03 -07:00
IfThenElseStatement.cpp Add support for if-then-else statements (#259) 2020-08-30 17:03:26 -07:00
IfThenElseStatement.h Add support for if-then-else statements (#259) 2020-08-30 17:03:26 -07:00
IntegerValue.cpp New compiler: Add IntegerValue (#243) 2020-08-25 23:27:24 -07:00
IntegerValue.h New compiler: Add IntegerValue (#243) 2020-08-25 23:27:24 -07:00
JumpStatement.cpp Add break and continue statements. (#270) 2020-09-04 18:21:08 -07:00
JumpStatement.h Add break and continue statements. (#270) 2020-09-04 18:21:08 -07:00
LabelableStatement.cpp Add support for while loops (#268) 2020-09-03 19:46:27 -07:00
LabelableStatement.h Add support for while loops (#268) 2020-09-03 19:46:27 -07:00
LoopStatement.cpp Add support for while loops (#268) 2020-09-03 19:46:27 -07:00
LoopStatement.h Add support for while loops (#268) 2020-09-03 19:46:27 -07:00
ModuleFunctionDeclaration.cpp Build AST nodes for module function declarations (#239) 2020-08-23 15:01:39 -07:00
ModuleFunctionDeclaration.h Build AST nodes for module function declarations (#239) 2020-08-23 15:01:39 -07:00
Node.cpp Add ast/Node (#227) 2020-08-17 08:03:33 +02:00
Node.h Add ast/Node (#227) 2020-08-17 08:03:33 +02:00
NodeVisitor.cpp Add support for dictionary creation (#277) 2020-09-06 04:02:37 -07:00
NodeVisitor.h Add support for dictionary creation (#277) 2020-09-06 04:02:37 -07:00
Program.cpp var statements in program blocks (#256) 2020-08-30 01:32:38 -07:00
Program.h var statements in program blocks (#256) 2020-08-30 01:32:38 -07:00
ProgramParameterDeclaration.cpp New compiler: program declarations (#246) 2020-08-28 22:45:07 -07:00
ProgramParameterDeclaration.h New compiler: program declarations (#246) 2020-08-28 22:45:07 -07:00
ProgramParameterList.cpp New compiler: program declarations (#246) 2020-08-28 22:45:07 -07:00
ProgramParameterList.h New compiler: program declarations (#246) 2020-08-28 22:45:07 -07:00
ReturnStatement.cpp New compiler: add return and exit statements (#261) 2020-08-30 22:55:30 -07:00
ReturnStatement.h New compiler: add return and exit statements (#261) 2020-08-30 22:55:30 -07:00
Statement.cpp Add Expression, Statement, Value AST base classes, and TopLevelStatements (#229) 2020-08-17 22:53:03 -07:00
Statement.h Add Expression, Statement, Value AST base classes, and TopLevelStatements (#229) 2020-08-17 22:53:03 -07:00
StringValue.cpp New compiler: Add StringValue (#235) 2020-08-20 10:27:35 +02:00
StringValue.h New compiler: Add StringValue (#235) 2020-08-20 10:27:35 +02:00
TopLevelStatements.cpp Add Expression, Statement, Value AST base classes, and TopLevelStatements (#229) 2020-08-17 22:53:03 -07:00
TopLevelStatements.h Add Expression, Statement, Value AST base classes, and TopLevelStatements (#229) 2020-08-17 22:53:03 -07:00
UnaryOperator.cpp New compiler: Add optimized unary expressions (#244) 2020-08-26 19:24:47 -07:00
UnaryOperator.h New compiler: Add optimized unary expressions (#244) 2020-08-26 19:24:47 -07:00
UninitializedValue.cpp Add support for dictionary creation (#277) 2020-09-06 04:02:37 -07:00
UninitializedValue.h Add support for dictionary creation (#277) 2020-09-06 04:02:37 -07:00
UserFunction.cpp Add limited support for user functions (#262) 2020-08-31 18:46:27 -07:00
UserFunction.h Add limited support for user functions (#262) 2020-08-31 18:46:27 -07:00
Value.cpp Add Expression, Statement, Value AST base classes, and TopLevelStatements (#229) 2020-08-17 22:53:03 -07:00
Value.h Add Expression, Statement, Value AST base classes, and TopLevelStatements (#229) 2020-08-17 22:53:03 -07:00
ValueConsumer.cpp Add SourceFileProcessor, ValueConsumer (#232) 2020-08-18 23:32:57 -07:00
ValueConsumer.h Add SourceFileProcessor, ValueConsumer (#232) 2020-08-18 23:32:57 -07:00
VarStatement.cpp Compiler rewrite: add global variables (#241) 2020-08-25 00:57:03 -07:00
VarStatement.h Compiler rewrite: add global variables (#241) 2020-08-25 00:57:03 -07:00
WhileLoop.cpp Add support for while loops (#268) 2020-09-03 19:46:27 -07:00
WhileLoop.h Add support for while loops (#268) 2020-09-03 19:46:27 -07:00