basic building blocks - LeFreq/Singularity GitHub Wiki

Basic building blocks are a evaluation buffer (entered text input), some kind of memory format (save input to memory), run space (parse/run the text input), and a stop process interrupt (to terminate running objects). The easiest way to start is with an Assembly type input and work upwards from there.

What happen next depends on how you've architected your system, but something like read/write to storage (save/restore the text input) would be handy also a "shell" object to delineate between user command input and a memory stack (a "prompt"). Then, to create an object which will allow you to NAME a memory stack, creating other "objects" to address and access them by name. That's the start of the kernel. Nothing multi-user, nothing multi-processing yet. Just parse command-line input, run it or store it, etc.

Once this in place you could create a next-level kernel by making an Object "container" and 1/running it. RoundRobinObjects can run object within by fixed instruction amounts. PriorityQueuedObjects can run objects based on a priority, etc. Basically, you can imagine more sophisticated algorithms for scheduling objects until you have a complete system. 1/(PriorityQueueObject>>("Application2"))

Re: Unix

⚠️ **GitHub.com Fallback** ⚠️