Lazyboy
An EDSL implemented in Haskell for programming the Nintendo Game Boy.
Install / Use
/learn @ix/LazyboyREADME
An embedded domain-specific language + compiler written in Haskell for producing code to run on the Nintendo Game Boy.
Also features a library for manipulating constructs such as memory and graphics.
Currently, RGBASM is the only output target, but in the future native machine code generation is planned.
Syntax example (will be updated as more complex constructs are added):
main :: IO ()
main = rom >>= T.putStrLn
where rom = compileROM $ do
byte A 0xDE
byte B 0xDE
if' ((A == (0xDE :: Word8)) && (A == B)) $ do
write (Address wram0) 0xDE
freeze
See app/Main.hs for a full usage example.
Build a ROM (output will be named main.gb):
stack run > examples/main.asm
cd examples && make NAME=main
About issues
I mostly use the issue tracker on here as a place to write about planned features and compiler development, don't take the count as an indicator of active bugs, and be sure to filter to show only issues that are bugs if you are curious on the state of the project.
Contributing
Please see the Contributing page on the Wiki.
Additional information about the project can also be found on the Wiki.
Special thanks
Thanks to Francesco149 and Bonzi for kindly devoting their time and knowledge to the project. The graphics functionality in particular would not be where it is without their assistance.
Related Skills
docs-writer
99.1k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
335.8kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Design
Campus Second-Hand Trading Platform \- General Design Document (v5.0 \- React Architecture \- Complete Final Version)1\. System Overall Design 1.1. Project Overview This project aims t
arscontexta
2.9kClaude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.
