Posts

Showing posts from April, 2022

Protonium Objects and Files

This language also has little bit different syntax for object-oriented programming m@b instead of b.m So elements flow from left to right too   File System Text Files f -> file rw txt f -> open f -> line                read line -> f                write Combined read write while !eof@f1     f1 -> line -> processing -> f2     read                                 write Binary Files f -> file rw bin f -> open f -> buffer             read buffer -> f             write Raw Files f -> file rw raw f -> open f -> block   ...

Protonium Language

Protonium Programming Language Indented and Interpreted like Python No ":" after control flow statement It also has different syntax for assignment operator a - b -> a instead of a = a - b .pro extension module euclid     pro a b -> euclid           while b!=0                  if a>b                       a - b -> a                  else                       b - a -> b           return a     pro main            in -> a b -> euclid -...