richer Label type consisting of UserLabel containing String and AutoLabel with Int, latter used for code generation
proper codegeneration for IF branches, it turned out, only GOTOs a supported there. So had to generate branch goto logic when compiling hcode into gcode
Merge branch 'if-branch-goto' into codegen
While reimplemented as on basis of If and Goto. We better stand away from builtin Fanuc macro While because of it's poor interation with inner gotos
Fixed label printing in gotos. Added a separate functions for labelling frames and printing label references. This way we can differentiate between user generated and auto generated labels which is helpful for debugging
Merge branch 'while-as-goto' into codegen
Added For loop, like in C it has an initializer, condition and incrementor parts. Unlike C it works precisely with one counter
excess space before Goto is removed
Added 'break' for getting out of while and for loops
Merge branch 'for-loops' into codegen