Inspiration

Binary my beloved

What it does

It's a pretty simple programming language! It can do arithmetic and has conditionals, specifically if-else statements and while loops.

How we built it

We started with a python dictionary of commands, a grammar, and then built a lexical analyser to tokenize text and translate it to a form that would easily be transpiled (translated) to Python. We then built a parser (kind of) to take that information and convert it to Python code in a separate file.

Challenges we ran into

We initially had a much more ambitious plan, but due to a lack of good resources on the topic and general tiredness, we ended up changing our goal to something else we enjoyed that was also more manageable.

Accomplishments that we're proud of

It works! We have never done a project like this before, so it was interesting to learn the new concepts and methodologies associated with this challenge.

What we learned

We learned the basic principles of the first few steps of creating and running a programming language. We also learned a lot about Natural Language Processing, despite mostly not using it in the final project.

What's next for BinLang

A proper compiler hopefully, and more functionalities.

Share this project:

Updates