From Mx* language to Linux x86-64 Assembly Compiler
Osa | Selity |
---|---|
asm | kokoonpano objekti |
ast | abstrakti syntaksipuu |
core | ydin |
entity | toiminto & muuttuja |
ir | keskitason edustusto |
parser | jäsennin |
type | tyyppi |
Parser Generator: JavaCC (LL)
-
Root
-
ExprNode
-
AbstractAssignNode
-
AssignNode (=)
-
OpAssignNode (+=, -=, ...)
-
-
BinaryOpNode (+, -, ...)
-
LogicalAndNode (&&)
-
LogicalOrNode (||)
-
-
FuncallNode
-
LHSNode
-
ArefNode (a[i])
-
MemberNode (a.memb)
-
VariableNode
-
-
LiteralNode
-
IntegerLiteralNode
-
StringLiteralNode
-
-
NewTypeNode
-
NullNode
-
UnaryOpNode
-
UnaryArithmeticOpNode
-
PrefixOpNode (++i)
-
SuffixOpNode (i++)
-
-
-
-
Entity
-
Variable
-
DefinedVariable
- Parameter
-
-
Function
- DefinedFunction
-
-
ParamSlots
- Params
-
StmtNode
-
BlockNode
-
BreakNode
-
ContinueNode
-
ExprStmtNode
-
ForNode
-
IfNode
-
ReturnNode
-
WhileNode
-
-
TypeDefinitionNode
- ClassNode
-
TypeNode
-
Visitor
-
TypeResolver
-
LocalResolver
-
DereferenceChekcer
-
TypeChecker
-
-
Scope
-
TopLevelScope
-
LocalScope
-