cbc/net/loveruby/cflat/ast
Minero Aoki 63170db30b * now many tests work (30/1709 failed).
* net/loveruby/cflat/compiler/Simplifier.java: set location of AssignStmtNode.
* net/loveruby/cflat/compiler/Simplifier.java: allocate tmp variable in scope.
* net/loveruby/cflat/compiler/Simplifier.java: opAssign/inc/dec handling was completely wrong (there still be some problems yet).
* net/loveruby/cflat/compiler/CodeGenerator.java (compileLHS): implemented for IR.
* net/loveruby/cflat/compiler/CodeGenerator.java (loadVarible): implemented for IR.


git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4142 1b9489fe-b721-0410-924e-b54b9192deb8
2009-04-19 18:52:12 +00:00
..
AST.java * net/loveruby/cflat/ast/IR.java: new class to represents IR. 2009-04-19 15:39:18 +00:00
ASTLHSVisitor.java * net/loveruby/cflat/compiler/CodeGenerator.java: split compileLHS by using visitor pattern. 2008-09-06 23:06:41 +00:00
ASTVisitor.java * new class Simplifier (it is really a IR generator). Passes compilation, but not tested. 2009-04-19 14:52:48 +00:00
AbstractAssignNode.java * net/loveruby/cflat/compiler/Visitor.java: make destructive again. 2009-04-12 07:37:18 +00:00
AddressNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
ArefNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
AssignNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
AssignStmtNode.java * now many tests work (30/1709 failed). 2009-04-19 18:52:12 +00:00
BinaryOpNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
BlockNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
BranchIfNode.java * new class Simplifier (it is really a IR generator). Passes compilation, but not tested. 2009-04-19 14:52:48 +00:00
BreakNode.java * new class Simplifier (it is really a IR generator). Passes compilation, but not tested. 2009-04-19 14:52:48 +00:00
BreakableStmt.java import cbc from stdcompiler repository (rev185) 2007-12-24 08:19:51 +00:00
CaseNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
CastNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
CflatToken.java * convert all source codes to Java 5 using generics and foreach stmt. 2008-09-28 18:46:56 +00:00
CompositeTypeDefinition.java * convert all source codes to Java 5 using generics and foreach stmt. 2008-09-28 18:46:56 +00:00
CondExprNode.java * net/loveruby/cflat/compiler/Visitor.java: make destructive again. 2009-04-12 07:37:18 +00:00
ConstantEntry.java * name code symbols lazily. 2008-10-24 18:40:21 +00:00
ConstantTable.java * name code symbols lazily. 2008-10-24 18:40:21 +00:00
ContinueNode.java * new class Simplifier (it is really a IR generator). Passes compilation, but not tested. 2009-04-19 14:52:48 +00:00
ContinueableStmt.java import cbc from stdcompiler repository (rev185) 2007-12-24 08:19:51 +00:00
Declarations.java * convert all source codes to Java 5 using generics and foreach stmt. 2008-09-28 18:46:56 +00:00
DefinedFunction.java * net/loveruby/cflat/ast/IR.java: new class to represents IR. 2009-04-19 15:39:18 +00:00
DefinedVariable.java * now many tests work (30/1709 failed). 2009-04-19 18:52:12 +00:00
DereferenceNode.java * new class Simplifier (it is really a IR generator). Passes compilation, but not tested. 2009-04-19 14:52:48 +00:00
DoWhileNode.java * new class Simplifier (it is really a IR generator). Passes compilation, but not tested. 2009-04-19 14:52:48 +00:00
Dumper.java * convert all source codes to Java 5 using generics and foreach stmt. 2008-09-28 18:46:56 +00:00
Entity.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
ExprNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
ExprStmtNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
ForNode.java * new class Simplifier (it is really a IR generator). Passes compilation, but not tested. 2009-04-19 14:52:48 +00:00
FuncallNode.java * new class Simplifier (it is really a IR generator). Passes compilation, but not tested. 2009-04-19 14:52:48 +00:00
Function.java * net/loveruby/cflat/compiler/CodeGenerator.java: should access file-local gvar directly (with @GOTOFF) in PIE. 2008-11-16 11:01:10 +00:00
GotoNode.java * new class Simplifier (it is really a IR generator). Passes compilation, but not tested. 2009-04-19 14:52:48 +00:00
IR.java * net/loveruby/cflat/ast/IR.java: new class to represents IR. 2009-04-19 15:39:18 +00:00
IfNode.java * new class Simplifier (it is really a IR generator). Passes compilation, but not tested. 2009-04-19 14:52:48 +00:00
IntegerLiteralNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
LabelNode.java * new class Simplifier (it is really a IR generator). Passes compilation, but not tested. 2009-04-19 14:52:48 +00:00
LiteralNode.java * net/loveruby/cflat/ast/*.java: minimize references to asm/*. 2008-10-24 14:03:31 +00:00
LocalScope.java * now many tests work (30/1709 failed). 2009-04-19 18:52:12 +00:00
Location.java * net/loveruby/cflat/compiler/Compiler.java: use CflatToken to dump token list. 2008-09-14 11:08:26 +00:00
LogicalAndNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
LogicalOrNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
MemberNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
Node.java * net/loveruby/cflat/ast/IR.java: new class to represents IR. 2009-04-19 15:39:18 +00:00
OpAssignNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
ParamSlots.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
Parameter.java * net/loveruby/cflat/ast/Parameter.java: simplify dump output. 2008-01-20 15:42:54 +00:00
Params.java * convert all source codes to Java 5 using generics and foreach stmt. 2008-09-28 18:46:56 +00:00
PrefixOpNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
PtrMemberNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
ReturnNode.java * new class Simplifier (it is really a IR generator). Passes compilation, but not tested. 2009-04-19 14:52:48 +00:00
Scope.java * convert all source codes to Java 5 using generics and foreach stmt. 2008-09-28 18:46:56 +00:00
SizeofExprNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
SizeofTypeNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
Slot.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
StmtNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
StringLiteralNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
StructNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
SuffixOpNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
SwitchNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
ToplevelScope.java * net/loveruby/cflat/ast/ToplevelScope.java: use SemanticException instead of SemanticError for duplicated declarations/definitions. 2008-12-07 08:09:20 +00:00
TypeDefinition.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
TypeNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
TypedefNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
UnaryArithmeticOpNode.java * net/loveruby/cflat/ast/ASTVisitor.java: #visit returns a node which has same type with the argument, to allow non-destructive AST rewriting. 2009-04-04 14:47:11 +00:00
UnaryOpNode.java * new class Simplifier (it is really a IR generator). Passes compilation, but not tested. 2009-04-19 14:52:48 +00:00
UndefinedFunction.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
UndefinedVariable.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
UnionNode.java * net/loveruby/cflat/compiler/Visitor.java: make all return types generic. 2009-04-12 06:31:12 +00:00
Variable.java * net/loveruby/cflat/compiler/TypeResolver.java: an array on the parameter list is a pointer really. 2008-11-16 14:57:11 +00:00
VariableNode.java * now many tests work (30/1709 failed). 2009-04-19 18:52:12 +00:00
WhileNode.java * new class Simplifier (it is really a IR generator). Passes compilation, but not tested. 2009-04-19 14:52:48 +00:00