Skip to content
Tech News
← Back to articles

M/PC – A Concatenative OS

read original more articles

•/PC

M/PC is a concatenative operating system for Varvara, inspired by Openfirmware, designed to manage files on system without a file browser. It uses the postfix notation, meaning that the function success their operands:

( Get the number of bytes in folder/file_name ) folder/ file_name cat len dec

Files can store reusable sequences of commands, the tilde prefix includes the content of the file:

( Content of ./show-slide ) slide_ swp cat 3cx22.icn cat 1 icn

1 ~show-slide

The interface uses a single prompt at the top of the screen to input commands:

Controls

The operating system can be used largely without a keyboard to navigate folders and launch roms:

left/right Navigate Stack

... continue reading