Groenbech96 / J--Compiler-Implementation

MIT License
0 stars 0 forks source link

Small things that needs to be clarified #78

Open Groenbech96 opened 4 years ago

Groenbech96 commented 4 years ago

JGreaterThanOp should support doubles?

Groenbech96 commented 4 years ago

codegen emits "class" instead of "interface". (not sure if we can fix this?)

Baizey commented 4 years ago

ville tror at alle ikke bit-wise operators skal supporter doubles

cSkjaerris commented 4 years ago

GreaterThanOp (and less than, if it exists) should support double. The project states we should have full support for doubles

RMichelsen commented 4 years ago

codegen emits "class" instead of "interface". (not sure if we can fix this?)

We now know this is by design, CLEmitter adClass emits .class files which can be either classes or interfaces

Groenbech96 commented 4 years ago

@Baizey : In ForStatements this line was added List list = new ArrayList(); This parses as list < integer, and fails. Do we support generics in j--?

Groenbech96 commented 4 years ago

Is do-while a thing we should support?

RMichelsen commented 4 years ago

Should we support scientific notation for doubles? e.g. 1e-9

RMichelsen commented 4 years ago

(Continue [identifier]) is parsed but no code is generated for it, should we care?

cSkjaerris commented 4 years ago

Is do-while a thing we should support?

It is not a part of the assignment, but we can add it.

Should we support scientific notation for doubles? e.g. 1e-9

If Java supports it, so should we

Groenbech96 commented 4 years ago

Can someone verify JLogicalOrOp codegen?`