4 ms·
I play language designer in my free time, I have like ten languages buried in folders with thousands of abandoned projects. My recent endeavour was a language
by Entangled 10y ago
I play language designer in my free time, I have like ten languages buried in folders with thousands of abandoned projects.
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.
- zephyrfalcon 10y agoThat reminds me a bit of PILOT: https://en.wikipedia.org/wiki/PILOT https://en.wikipedia.org/wiki/PILOT
- Entangled 10y agoWhat a coincidence, I am also working on a language that uses three letters for instructions and every single line starts with one, same concept as Uno: 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.