r/ProgrammingLanguages • • 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--

13 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/BetterEquipment7084 Apr 25 '26

Its more for fun than anything, and as I know 0 latin it is entirely just for fun