..
Makefile
* test/Makefile: testing entry point is run.sh.
2008-08-29 08:05:09 +00:00
add.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
aref-semcheck.cb
* net/loveruby/cflat/compiler/TypeChecker.java: check aref base expr and index expr.
2008-01-01 15:38:50 +00:00
aref-semcheck2.cb
* net/loveruby/cflat/compiler/DereferenceChecker.java: throw SemanticError on invalid expr and catch it on each statement.
2008-01-12 21:53:46 +00:00
array-semcheck1.cb
* test/struct-semcheck10.cb: test struct which contains void.
2008-01-03 18:23:38 +00:00
array.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
array2.cb
* test/pointer2.cb: test multiple level of pointer.
2008-01-04 21:51:37 +00:00
assign.cb
fix typo
2008-09-13 16:23:11 +00:00
assoc.cb
* net/loveruby/cflat/parser/Parser.jj: 5-1-1 should be 3, not 5.
2007-12-25 17:46:37 +00:00
bitand.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
bitnot.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
bitor.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
bitxor.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
block.cb
* net/loveruby/cflat/compiler/TypeChecker.java: ptr==ptr should work.
2008-08-30 11:07:44 +00:00
break-semcheck.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
cast.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: implement cast.
2008-09-06 15:59:02 +00:00
cast2.cb
* test/cast2.cb: test cast from long* to int*.
2008-01-04 22:36:45 +00:00
charops.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
charops2.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: implement cast.
2008-09-06 15:59:02 +00:00
comm.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: should handle global string literal.
2008-08-29 07:35:31 +00:00
condexpr.cb
* net/loveruby/cflat/parser/Parser.jj: implement NULL.
2008-08-30 11:21:49 +00:00
continue-semcheck.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
dec.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
defun-semcheck.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
defun-semcheck2.cb
* net/loveruby/cflat/compiler/TypeChecker.java: check return type.
2008-01-02 10:18:38 +00:00
defun-semcheck3.cb
* net/loveruby/cflat/compiler/TypeChecker.java: check return type.
2008-01-02 10:18:38 +00:00
defun-semcheck4.cb
* net/loveruby/cflat/compiler/TypeChecker.java: check return type.
2008-01-02 10:18:38 +00:00
defun-semcheck5.cb
* net/loveruby/cflat/compiler/TypeChecker.java: check return type.
2008-01-02 10:18:38 +00:00
defun-semcheck6.cb
* net/loveruby/cflat/compiler/TypeChecker.java: check return type.
2008-01-02 10:18:38 +00:00
defun-semcheck7.cb
* net/loveruby/cflat/compiler/TypeChecker.java: check return type.
2008-01-02 10:18:38 +00:00
defun-semcheck8.cb
* net/loveruby/cflat/compiler/TypeChecker.java: check return type.
2008-01-02 10:18:38 +00:00
defvar.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
deref-semcheck1.cb
* net/loveruby/cflat/compiler/TypeChecker.java: better error message.
2008-01-01 16:32:15 +00:00
deref-semcheck2.cb
* net/loveruby/cflat/compiler/TypeChecker.java: better error message.
2008-01-01 16:32:15 +00:00
deref-semcheck3.cb
* net/loveruby/cflat/compiler/TypeChecker.java: better error message.
2008-01-01 16:32:15 +00:00
deref-semcheck4.cb
* net/loveruby/cflat/compiler/TypeChecker.java (PtrMemberNode): allow array for base expr.
2008-01-03 16:46:44 +00:00
deref-semcheck5.cb
* net/loveruby/cflat/compiler/TypeChecker.java (PtrMemberNode): allow array for base expr.
2008-01-03 16:46:44 +00:00
div.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
dowhile-break.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
dowhile-continue.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
dowhile1.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
dowhile2.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
dowhile3.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
duplicated-import.cb
* net/loveruby/cflat/ast/Declarations.java: reject duplicated symbols to support duplicated import.
2008-08-31 06:18:26 +00:00
empstruct.cb
test if empty struct is allowed
2008-08-29 05:03:19 +00:00
eq.cb
* net/loveruby/cflat/compiler/TypeChecker.java: ptr==ptr should work.
2008-08-30 11:07:44 +00:00
for-break.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
for-continue.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
for1.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
fork.cb
* test/cbc: provide -I option to add load path.
2008-01-14 12:49:03 +00:00
funcall-semcheck.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
funcall-semcheck2.cb
* net/loveruby/cflat/compiler/TypeChecker.java: check aref base expr and index expr.
2008-01-01 15:38:50 +00:00
funcall0.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
funcall1.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
funcall2.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
funcall3.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
funcall4.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
funcall5.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
funcptr.cb
* net/loveruby/cflat/compiler/TypeResolver.java: refactoring: unify gvar/lvar initializer resolver.
2008-01-03 18:15:31 +00:00
funcptr2.cb
* net/loveruby/cflat/compiler/TypeChecker.java: check if parameter type is valid.
2008-01-03 09:00:13 +00:00
gt.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
gteq.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
gvar.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: should handle global string literal.
2008-08-29 07:35:31 +00:00
hello.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
hello2.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
hello3.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
hello4.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
if1.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
if2.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
inc.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
initializer.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: should handle global string literal.
2008-08-29 07:35:31 +00:00
integer.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
intops.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
list-untested.rb
* net/loveruby/cflat/type/ArrayType.java (size): returns pointer size if the type is not allocated.
2008-01-12 20:21:11 +00:00
logicaland.cb
* net/loveruby/cflat/compiler/TypeChecker.java: ptr==ptr should work.
2008-08-30 11:07:44 +00:00
logicalnot.cb
* net/loveruby/cflat/parser/Parser.jj: implement NULL.
2008-08-30 11:21:49 +00:00
logicalor.cb
* net/loveruby/cflat/parser/Parser.jj: implement NULL.
2008-08-30 11:21:49 +00:00
longops.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
lshift.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
lt.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
lteq.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
lvar1.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
lvar2.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
mbc.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
mdarray.cb
* net/loveruby/cflat/compiler/CodeGenerator.java (arefNode): calculate element address of multi-dimension array correctly.
2008-09-13 13:15:38 +00:00
mdarray2.cb
* net/loveruby/cflat/compiler/CodeGenerator.java (arefNode): calculate element address of multi-dimension array correctly.
2008-09-13 13:15:38 +00:00
mod.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
mul.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
neq.cb
* net/loveruby/cflat/compiler/TypeChecker.java: ptr==ptr should work.
2008-08-30 11:07:44 +00:00
noreturn.cb
* test: test void function without return.
2008-09-13 12:34:51 +00:00
one.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
opassign.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: opassign should not spill DX because division uses DX.
2008-09-06 22:37:39 +00:00
param.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
pointer.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
pointer2.cb
* test/pointer2.cb: test multiple level of pointer.
2008-01-04 21:51:37 +00:00
pointer3.cb
* test/pointer2.cb: test multiple level of pointer.
2008-01-04 21:51:37 +00:00
pointer4.cb
* net/loveruby/cflat/compiler/CodeGenerator.java (DereferenceNode): reduce compileLHS call.
2008-01-04 22:33:14 +00:00
ptrarray.cb
* net/loveruby/cflat/compiler/CodeGenerator.java (arefNode): calculate element address of multi-dimension array correctly.
2008-09-13 13:15:38 +00:00
ptrmemb.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: opassign should not spill DX because division uses DX.
2008-09-06 22:37:39 +00:00
recursivetypedef.cb
* net/loveruby/cflat/compiler/TypeResolver.java: should check duplicated type definition.
2008-02-11 21:49:42 +00:00
rshift.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
run.sh
* net/loveruby/cflat/compiler/TypeChecker.java: reject incomplete multi-dimension array for function parameters.
2008-09-13 17:28:00 +00:00
scomm.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: should handle global string literal.
2008-08-29 07:35:31 +00:00
sgvar.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: should handle global string literal.
2008-08-29 07:35:31 +00:00
shortops.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: implement cast.
2008-09-06 15:59:02 +00:00
shortops2.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: implement cast.
2008-09-06 15:59:02 +00:00
shunit.sh
* net/loveruby/cflat/compiler/TypeChecker.java: reject incomplete multi-dimension array for function parameters.
2008-09-13 17:28:00 +00:00
sizeof-expr.cb
* net/loveruby/cflat/parser/Parser.jj: parse sizeof expr.
2008-09-06 20:10:49 +00:00
sizeof-struct.cb
* net/loveruby/cflat/parser/Parser.jj: parse sizeof expr.
2008-09-06 20:10:49 +00:00
sizeof-type.cb
* net/loveruby/cflat/parser/Parser.jj: parse sizeof expr.
2008-09-06 20:10:49 +00:00
sizeof-union.cb
* net/loveruby/cflat/parser/Parser.jj: parse sizeof expr.
2008-09-06 20:10:49 +00:00
slcomm.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: should handle global string literal.
2008-08-29 07:35:31 +00:00
slvar.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: should handle global string literal.
2008-08-29 07:35:31 +00:00
staticfunc.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: static function should be local in the file.
2008-08-31 16:27:08 +00:00
string.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
struct-semcheck.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
struct-semcheck2.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
struct-semcheck3.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
struct-semcheck4.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
struct-semcheck5.cb
* net/loveruby/cflat/compiler/TypeChecker.java: check member validity for s.memb, s->memb, u.memb, u->memb.
2008-01-01 16:24:09 +00:00
struct-semcheck6.cb
* net/loveruby/cflat/compiler/TypeChecker.java: check member validity for s.memb, s->memb, u.memb, u->memb.
2008-01-01 16:24:09 +00:00
struct-semcheck7.cb
* net/loveruby/cflat/compiler/TypeResolver.java: pass ErrorHandler to TypeType#semanticCheck.
2008-01-01 18:17:50 +00:00
struct-semcheck8.cb
* net/loveruby/cflat/compiler/TypeChecker.java: try semantic check and catch semantic errors (mainly thrown from *Node#type).
2008-01-03 14:31:26 +00:00
struct-semcheck9.cb
* net/loveruby/cflat/type/TypeTable.java: should use #getComplexType to dereference UserType into real ComplexType.
2008-01-03 14:37:41 +00:00
struct-semcheck10.cb
* test/struct-semcheck10.cb: test struct which contains void.
2008-01-03 18:23:38 +00:00
struct.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
struct2.cb
* net/loveruby/cflat/ast/MemberNode.java: has always non-constant address.
2008-08-31 10:59:40 +00:00
sub.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
switch.cb
* net/loveruby/cflat/parser/Parser.jj: pass location node to the CaseNode explicitly.
2008-08-31 16:49:26 +00:00
syntax1.cb
* net/loveruby/cflat/compiler/TypeChecker.java: reject incomplete multi-dimension array for function parameters.
2008-09-13 17:28:00 +00:00
syntax2.cb
* test/Makefile: testing entry point is run.sh.
2008-08-29 08:05:09 +00:00
syntax3.cb
* test/Makefile: testing entry point is run.sh.
2008-08-29 08:05:09 +00:00
test_cbc.sh
* net/loveruby/cflat/compiler/CodeGenerator.java (arefNode): calculate element address of multi-dimension array correctly.
2008-09-13 13:15:38 +00:00
ucharops.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
ucharops2.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: implement cast.
2008-09-06 15:59:02 +00:00
uintops.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
ulongops.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
unaryminus.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
unaryplus.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
union-semcheck.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
union-semcheck2.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
union-semcheck3.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
union-semcheck4.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
union-semcheck5.cb
* net/loveruby/cflat/compiler/TypeChecker.java: check member validity for s.memb, s->memb, u.memb, u->memb.
2008-01-01 16:24:09 +00:00
union-semcheck6.cb
* net/loveruby/cflat/compiler/TypeChecker.java: check member validity for s.memb, s->memb, u.memb, u->memb.
2008-01-01 16:24:09 +00:00
union-semcheck7.cb
* net/loveruby/cflat/compiler/TypeResolver.java: pass ErrorHandler to TypeType#semanticCheck.
2008-01-01 18:17:50 +00:00
union-semcheck8.cb
* net/loveruby/cflat/compiler/TypeChecker.java: try semantic check and catch semantic errors (mainly thrown from *Node#type).
2008-01-03 14:31:26 +00:00
union-semcheck9.cb
* net/loveruby/cflat/type/TypeTable.java: should use #getComplexType to dereference UserType into real ComplexType.
2008-01-03 14:37:41 +00:00
union-semcheck10.cb
* test/struct-semcheck10.cb: test struct which contains void.
2008-01-03 18:23:38 +00:00
union.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
usertype.cb
* net/loveruby/cflat/compiler/TypeResolver.java: refactoring: unify gvar/lvar initializer resolver.
2008-01-03 18:15:31 +00:00
ushortops.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
ushortops2.cb
* net/loveruby/cflat/compiler/CodeGenerator.java: implement cast.
2008-09-06 15:59:02 +00:00
utf.cb
* net/loveruby/cflat/compiler/Compiler.java: use #dumpString.
2008-09-06 17:46:17 +00:00
utf.out
* net/loveruby/cflat/compiler/Compiler.java: use #dumpString.
2008-09-06 17:46:17 +00:00
vardecl.cb
* net/loveruby/cflat/asm/Reference.java: new constructor Reference(String) for instance.
2008-02-10 13:33:19 +00:00
while-break.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
while-continue.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
while1.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
while2.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
while3.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00
zero.cb
import cbc from stdcompiler repository (rev185)
2007-12-24 08:19:51 +00:00