boojay
boojay copied to clipboard
java backend for the boo programming language
a = "ONE " + "TWO" generates a compiler error: C:\Users\James\Projects\Boogie\boojay\src\Boojay.Boogie\TestBoo.boo(9,18): BCE0055: Internal compiler error: `bindingFor(node)` failed to match `System.String op_Addition(System.String, System.String)`.
literal char generates compiler error Works ok in BOO but generates error in Boojay Compiler error: BCE0055: Internal compiler error: isInteger(node.Left) and isInteger(node.Right) ``` a = 97 if a ==...
static final constants are not correctly handled. The expectation was that they would be pre-compiled constants but instead are unassigned fields of value = 0 ``` static final pinCount =...
If a class has two methods one of which has the char datatype causes a compile error class A{ public void print(String s){ } public void prting(char c){ } }...
``` l as long = 32768 print l ``` generates the following bytecode 30: ldc 32768 (129) 32: istore_1 33: getstatic java.lang.System.out Ljava/io/PrintStream; (47) 36: iload_1 37: invokevirtual java.io.PrintStream.println (Llong;)V...
The JVM I am working with uses a 16-bit int and a 32-bit long. I would like to make the code generator aware of this as a compile flag. eg...
Adding the enum example from the language guide generates an error enum Python: Eric John TerryG TerryJ Graham Michael generates BCE0055: Internal compiler error : Object reference not set to...