A while back I designed a HLL that would readily compile to CPUs found in old-school consoles, especially 6502 and z80. Some false starts and a lot of work later, I've got a compiler that generates a single file of 6502 code. This is a preliminary release to measure everybody's interest. Right now it shows off the things I really wanted to implement: Nested parentheses, conditional statements with arithmetic and more than one condition using || and && symbols, and register variables for looping and indexing. Function calls are implemented but local vars and passing parameters are pointless until I get the compiler to spit out data segments for the assembler.
Most of the bugs mentioned in the first demo file have been fixed and now you can write a working program, though you'll have to manage the asm project manually.
There's a lot of little bugs that have to be fixed before it can be really useful (mainly with function calls), but I'll start fixing them immediately if I think people will use it.
I was encouraged that over a dozen people downloaded the initial release. If anyone needs a windows .exe made let me know via PM.
Usage: python noism.py demo.noi
The jump labels are compatible with wla-dx
Most of the bugs mentioned in the first demo file have been fixed and now you can write a working program, though you'll have to manage the asm project manually.
I was encouraged that over a dozen people downloaded the initial release. If anyone needs a windows .exe made let me know via PM.
Usage: python noism.py demo.noi
The jump labels are compatible with wla-dx