How ryukzak/wrench works
Wrench is a teaching platform whose main workflow takes assembly and optional YAML configuration through translation and simulation, then presents reports/assertions. The README also documents five supported ISAs, an assembly formatter, and a coursework grading service. Internal Haskell call relationships were not sampled, so those links are omitted rather than inferred; the graph shows only README-supported relationships.
Main entry points: Main.hs Wrench CLI · Simulation.hs Grading Service
Components 18
Users
- Student
- Coursework Submitter
Assembler Simulator
- Wrench CLI
src/wrench/Main.hs - Translator
src/wrench/Wrench/Translator/Parser.hs - Simulator
src/wrench/Wrench/Machine.hs - Reports
src/wrench/Wrench/Report.hs - Assembly Formatter
app/Fmt.hs
CPU Architectures
- Acc32 ISA
src/wrench/Wrench/Isa/Acc32.hs - F32a ISA
src/wrench/Wrench/Isa/F32a.hs - RISC-IV ISA
src/wrench/Wrench/Isa/RiscIv.hs - M68k ISA
src/wrench/Wrench/Isa/M68k.hs - VLIW-IV ISA
src/wrench/Wrench/Isa/VliwIv.hs
Coursework Service
- Grading Service
src/wrench-serv/WrenchServ/Simulation.hs - Service Config
src/wrench-serv/WrenchServ/Config.hs - Usage Statistics
src/wrench-serv/WrenchServ/Statistics.hs
Other components
- Assembly Source
- YAML Config
- Run Results
Connections 6
- Student → Wrench CLI: runs
README.md - Assembly Source → Wrench CLI: provides source
README.md - YAML Config → Wrench CLI: provides settings
README.md - Wrench CLI → Run Results: prints results
README.md - Coursework Submitter → Grading Service: submits work
README.md - Grading Service → Run Results: returns results
README.md