-
millfork
Millfork: a middle-level programming language targeting 6502- and Z80-based microcomputers and home consoles
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
prog8
high level programming language and compiler targeting 6502 machines such as the C-64 and CommanderX16
Take a look at millfork, it's similar to what you're trying to do
I've been writing Prog8 (in Kotlin) and it generates code for the 6502 cpu instead. I also find that generating reasonable efficient assembly is super hard. This is the first true compiler I've written that actually produces machine code. For now, it generates the assembly straight from the Ast (no intermediate representation yet), and the bulk of optimizations are done straight on the Ast.