Impressive and very interesting! Have you talked to John to see if he’d be interested in any of these extensions in Octo itself? I particularly like the struct stuff (and include)… I’m interested myself, but not in a whole new IDE… I might build some of this myself, just as a pre-processor… so that the output of the pre-processor would be 100% valid Octo-8 code.
Currently I did not talk to John. There is already a pre-processor that supports :include, I saw it in Timendus test suits.
The compiler is a completly re-written and supports for...next, switch..case, inline math and some commands to enable the sprite and the tile editor to find and modify the data (which is implemented currently for reading from the source code).
I do not have a pre-processor, but with compile to disassembler you can generate a source code that compiles on any octo or chipper compiler.
Later I will add command line arguments, so that compiler, disassembler, tile and sprite editor and debugger can be used without the ide or in visual studio code.
Comments
Are :struct and :include and with part of Octo8? I’ve never seen them documented anywhere…
I wrote my own compiler/ide with some language extensions: https://github.com/tquester/J-Octo-Chip8-IDE
For compatibility there is a version that compiles with https://johnearnest.github.io/Octo/
Impressive and very interesting! Have you talked to John to see if he’d be interested in any of these extensions in Octo itself? I particularly like the struct stuff (and include)… I’m interested myself, but not in a whole new IDE… I might build some of this myself, just as a pre-processor… so that the output of the pre-processor would be 100% valid Octo-8 code.
Currently I did not talk to John.
There is already a pre-processor that supports :include, I saw it in Timendus test suits.
The compiler is a completly re-written and supports for...next, switch..case, inline math and some commands to enable the sprite and the tile editor to find and modify the data (which is implemented currently for reading from the source code).
I do not have a pre-processor, but with compile to disassembler you can generate a source code that compiles on any octo or chipper compiler.
Later I will add command line arguments, so that compiler, disassembler, tile and sprite editor and debugger can be used without the ide or in visual studio code.