latest
a tiny stack machine for the cot programming language
readme
cotton

cotton is a small stack machine for the cot programming language (a concatenative language inspired by Lua, Forth and Uxntal) written in C99
cotton is a passion hobby project being made solely by me, so, dont expect anything grandiose or of high quality - even then, suggestions and ideas are always welcome!! :D
building cotton,
meson setup build
ninja -C build
running cotton,
cotton <file.cot>
docs,
current docs are a bit outdated, will work on them soon enough
"roadmap" for (cot)ton,
honestly i dont have a whole lot to put here for the time being as im afraid to set up goals too high for myself and end up not being able to achieve them, but, for now:
- Figure out what i wanna do with the syntax (kinda experimental atm [ ]
- Add more features to cot as it is somewhat barebones as of now [ ]
- Split(?)
interpreter.cso as to keep everything tidy and organised [ ] - HOPEFULLY and EVENTUALLY one day, some time soon(TM) figure out how to compile cot to uxntal [ ]
misc but still related to the project:
cotton's mascot,

this is cotton's mascot!! his name is ton!! he was drawn by me using old cotton's own colour palette!! say hi to ton!! :3
wee bit of cotton history
cotton originally started as a slightly modified CHIP8 emulator, then was repurposed into being a fantasy computer inspired by uxn but has ultimately ended up turning into what you're seeing right now :) - the old version of the project can be found on the 'old-cotton' branch of this repo, and, as you may be able to guess, its effectively dead and wont get updated anymore, being there purely for archival purposes (subject to change) xP