r/learnpython • • 10d ago

Making my own golfing language in python

Im not that active on reddit, but the moment I came into the osdev subreddit (I tried making my own OS with a python shell) and I INSTANTLY got my inbox filled with hate comments.

I heard from one reddit post that this subreddit is much friendlier and more helpful, thats why I switched to this subreddit.

So I started making my own golfing language, array-oriented ofcourse, where data and code are seperated.

As of now I haven't really done anything except plan on what instructions to make, I have a total of 20 letters and symbols on board.

So, I'd like to hear some tips about making interpreters/compilers that I should keep in mind.

0 Upvotes

28 comments sorted by

View all comments

1

u/Lyaw_Lyawa 10d ago edited 10d ago

Si el lenguaje es declarativo ahorras más líneas que con uno imperativo.

No sé. Ponle IA a algo y verás que a todos le va a gustar (es broma).

¿No hay un Subreddit de Esolangs creo que es lugar más apropiado para este tipo de cosas?

Documenta bien tus proyectos. Es un tema interesante, pero por cosas de tiempo, recursos y utilidad nunca lo he profundizado.