r/ProgrammingLanguages • • Mar 06 '26

Discussion can i call this a programming language?

i wanted to make the algorithms they teach in CS class actually executable so i made AlgoLang. can i call this a programming language?

repo: https://github.com/omnimistic/algo-lang

27 Upvotes

29 comments sorted by

View all comments

Show parent comment

3

u/Inconstant_Moo 🧿 Pipefish Mar 06 '26 edited Mar 06 '26

BTW, I do something like this in my VM and I treat is so that a RETURN when there's nothing on the stack means END, which has a certain elegance, and in your case would mean that you could write a subroutine as though it was the main program and test it before then going on to write the main program, and it could end in RETURN in either context.

This community is remarkably welcoming to beginners considering what a lot of megabrained geniuses we have knocking about. I think we can all remember the thrill of first getting an interpreter to add 2 and 2 and get 4.