r/ProgrammingLanguages • u/BetterEquipment7084 • Apr 23 '26
Lutra | stack based toy language just started
Hi
I wanted to learn OCaml, but I don't really got that much time, so I thought, why don't I write a small stack based language for myself
I also got up a verse in latin so it didn't take many minutes after I got basics working to just do it all in latin
I also try to see if I can manage to use it for some of my needs for checking for my other tasks and actually make a usable tool.
https://codeberg.org/trondelag/lutra
So does someone one have some tips for how to go on, important bits to implement or make
I have if, if else, do/for, while, variables/functions, some basic stack manipulation and basic math so far
All with latin ocean themed names
I ask now for any and all criticism or feedback or tip
Only dependency is ocaml
--the other project--
View all comments
Show parent comment
1
u/Entaloneralie Apr 24 '26 edited Apr 24 '26
I used the english-latin dictionary from stardict for mine, and I looked up some of the words you picked and they mostly check out. I also have a copy of Peano's writing, which I tried to emulate in style, but it's not traditional Latin.