Ribosome
Jump to navigation
Jump to search
Ribosome is a low-level concurrent esoteric programming language created by User:.yazic
Overwiew
Every thread has two pointers. Pointer *o points to a location in memory where the current operation is. Pointer *i points to a location of the data thats being operated on. Pointer *i in the beginning starts in a temporary location where it cant interfere with the code.
TODO: needs a way to halt
| OPcode | Name | 0x | Operation | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| G | No op | 00 | Broadcast o and Move i Backward.
| ||||||||||
| A | Act | 01 | Change *i according to the table and move i Forward.
| ||||||||||
| C | Connect | 10 | Wait for a broatcast.
Set incoming broadcast to | ||||||||||
| T | Fold | 11 | Create a concurrent thread and set its o to this i
|
TODO: clean this up