by Entangled · 9y ago · 0 comments
My recent endeavour was a language with only five constructs that would mimic mathematics in the way we program:
= assign
$ print
@ loop
? condition ! else
# definition/function
So print hello world would be like: $ 'Hello world'
Every single program in the whole universe can be easily translated to Uno: Universal Notation.I thought developing a browser extension to allow Uno being run from the address bar for quick calculations would be an interesting project.
say 'hello world'
let list = [1,2,3]
for item in list: say item
def add(x,y): ret x+y
is? a=1 say 'ok' no? say 'wrong'
Easier for the compiler and for the human.