# Tres **This project is really big and slow. Please use TurboWarp** Original source code available on my GitHub: `Johan-Mi/tres`. This project is still in development. If you find any bugs, please report them in the comments of this project or file an issue on GitHub. Feature suggestions are also welcome. Tres is an operating system with - Heap-based memory management with leak detection - Somewhat functional preemptive multitasking (running multiple processes at once, waking up one process when another one exits, etc) - A terminal interface (though with a limited font for now) - A stack-based programming language - A basic file system - An interactive shell - Error handling (crashing with a message) # Example usage: Print some text: > "Hello, world!" println Do some simple math: > 6 7 * println Calculate the golden ratio: > 5 sqrt 1 + 2 / println Clear the terminal: > term-clear Turn off the system: > shutdown More instructions are available (read the source code), but not all of them are very useful right now since the language lacks any sort of variables and control flow. The looping shell is in fact implemented by starting an entirely new instance of itself before exiting. # Possible future additions: - Variables - Control flow - Some builtin programs - A text editor?