Just Released: Maya Programming Language

Around one year ago, I had started experimenting with concepts of creating programming languages. I first started with building few DSLs (Domain Specific Languages) using Ruby and Boo. It was quite interesting to work on development of DSLs. While doing this, I learnt a lot about how the programming languages are developed.

Eventually, I thought of writing my own programming language. While I was in engineering college as a student, we had a subject on language translators. This subject taught us lot of theory on how languages are compiled or interpreted. However, we never got a chance to write even a simple programming language during our practicals. According to few, it was not possible to write one in one semester’s time.

That turned out to be my main motivation. I decided to write this programming language without using any compiler tools like LEX and YACC. I ended up writing my own lexical analyzer, the grammar parser and the language using the concepts taught to us in engineering college only. I worked on it daily for around an hour and within two weeks, I had the basic language ready.

Today, the code is released under GPL license. It’s available on GitHub at http://github.com/kamatanay/MayaLanguage

I hope it would be useful for students learning language translators.

Why did I name it Maya? Well, that’s the name of my sweetheart wife. Isn’t that a sweet name?

Fun: Adsense and Deepika Padukone

Yesterday I was reading an article on “How to Uninstall Symantec AntiVirus”. The article was from EzineArticles. While reading it, I suddenly noticed that the AdSense block is showing a complete unrelated ad on the page. Take a look at the screen-shot below.

adsense showing a completely unrelated ad

For those who don’t know, Deepika Padukone is a bollywood actress. The article I was reading was related to removing a software (Symantec Antivirus) which was not related to film industry or actors in any context.

I found this quite funny and thought of sharing it. Do you find it interesting as well? Let me know your thoughts through comments.

Enjoy!!!