Skip to content

Python to the rescue

January 29, 2006

Python is my now unequivocally my favorite general purpose programming language. I’m working on a project to build a compiler for a subset of Ada for my Compilers course.

After spending the better part of my Sunday trying to write something to translate a CFG written in BNF into standard notation using C++ I decided to hand the task off to Python instead. About 2 hours later I finished my translator and was a lot more confident in the correctness of my code than I would ever be with a C++ program.

Advertisements

From → Python

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: