Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

Subleq

< >

Subleq is an instruction set architecture created in 2009 by David Roberts.

#1709on PLDB 15Years Old
Download source code:
git clone https://github.com/davidar/subleq

Try now: Riju

CPU design and toolchain for a simple computer architecture


Example from Riju:
12 12 3 36 37 6 37 12 9 37 37 12 0 -1 15 38 36 18 12 12 21 53 37 24 37 12 27 37 37 30 36 12 -1 37 37 0 39 0 -1 72 101 108 108 111 44 32 119 111 114 108 100 33 10 53
Example from hello-world:
loop: hello (-1) minusOne loop minusOne checkEnd+1 checkEnd: Z hello (-1) Z Z loop . minusOne: -1 . hello: "Hello World\n" Z: 0

View source

- Build the next great programming language About Resources Acknowledgements Part of the World Wide Scroll