#Where should I start with creating a basic programming language?

1 messages · Page 1 of 1 (latest)

pearl tusk
#

I’m looking into creating a basic programming language that uses the Telugu script as a personal project. I’m using the Ezhil Tamil language as my inspiration, and programming from c++. I’m not sure where to start, as the process seems really overwhelming . Does anyone know how to start creating the language?

I’m looking to implement a few basic things such as loops, Boolean conditions, and variables. I understand there may be significant complications with introducing a new language script so I’m open doing it in the Latin script and adding Telugu characters in the future.

onyx lava
#

It's a nice project idea. Here's what I recommend. Look into lisp dialects. It's a family of programming language that are much easier to implement than languages c-family languages. There's even a GitHub repository with a great guide on how to go about it. The repo contains a guide, documentations, explanation and lots of example.

If you really want to go towards a C-family language, it's a bit more complex. To makes things easier, I would recommend that you build an interpreted language rather than compiled one. This guide could also help.

There's tones a free resources. Start with the guides and do some more research about what the explain. We also have great resources in our #📚・resources channel to build programming languages. Here's a bunch -> #📚・resources message

The first place to start, is to define what you want. Think about exactly the language you want to build. Write on a piece of paper the structure and form you want it to have and then you can start building from here.

pearl tusk
#

Thank you so much! I’ll look into these and will let you know if I have any questions