commit f580ee4
0uppy
·
2026-09-10 17:31:34 +0000 UTC
parent 35d7299
misc - updated the markdown file once again bc it was bothering me a bit, i feel like its more tidy now
3 files changed,
+20,
-14
+16,
-12
1@@ -2,9 +2,7 @@
2
3 
4
5-cotton is a small stack machine for the cot programming language (a concatenative language inspired by Lua*, Forth and Uxntal) written in C99 .
6-
7-cotton originally started as a slightly modified CHIP8 emulator, then was repurposed into being a fantasy computer inspired by [uxn](https://100r.co/site/uxn.html) 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 xP
8+cotton is a small stack machine for the cot programming language (a concatenative language inspired by Lua, Forth and Uxntal) written in C99
9
10 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
11
12@@ -21,21 +19,27 @@ ninja -C build
13 cotton <file.cot>
14 ```
15
16-## docs
17+### docs,
18
19 current docs are a bit outdated, will work on them soon enough
20
21-## cotton's mascot
22+### "roadmap" for (cot)ton,
23+
24+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:
25+
26+* Figure out what i wanna do with the syntax (kinda experimental atm [ ]
27+* Add more features to cot as it is somewhat barebones as of now [ ]
28+* Split(?) `interpreter.c` so as to keep everything tidy and organised [ ]
29+* HOPEFULLY and EVENTUALLY one day, some time soon(TM) figure out how to compile cot to uxntal [ ]
30+
31+## misc but still related to the project:
32+
33+### cotton's mascot,
34
35 
36
37 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
38
39-## to-do list for (cot)ton
40-
41-honestly i dont have alot to write here for the time being, mostly because im afraid to set high expectations that i can't achieve, however:
42+### wee bit of cotton history
43
44-* Repurpose the current code into my new idea for the project and run something [X] (got a little base for tonight and it does work so wooo)
45-* Organise the codebase a bit bc i can see the interpreter getting quite full like on old cotton [ ]
46-* Update the current docs [ ]
47-* One day figure out how to optionally compile cot files into uxntal files (might be too ambitious but one can dream, right :<) [ ]
48+cotton originally started as a slightly modified CHIP8 emulator, then was repurposed into being a fantasy computer inspired by [uxn](https://100r.co/site/uxn.html) 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
+3,
-0
1@@ -0,0 +1,3 @@
2+5 3 > ? if 1 . end
3+5 3 < ? if 1 . else 0 . end
4+// testing conditionals,..,
+1,
-2
1@@ -1,5 +1,4 @@
2 6 7 + .
3-
4 6 9 swap . .
5
6-//im so funny aren't i
7+//im so funny aren't i