how to start writing a very simple programming language
Posted
by Rex Homming
on Stack Overflow
See other posts from Stack Overflow
or by Rex Homming
Published on 2010-06-09T17:46:41Z
Indexed on
2010/06/09
18:12 UTC
Read the original article
Hit count: 180
Recently, I was going around looking for ideas on what I can build using C this summer and I came across this post: http://stackoverflow.com/questions/1257376/interesting-project-to-learn-c
Implement a programming language. This doesn't have to be terribly hard - I did the language that must not be named - but it will force you to learn a lot of the important parts of C. If you don't want to write a lexer and/or parser yourself, you can use lex/flex and yacc/bison, but if you plan on that you might want to start with a somewhat smaller project.
I was kinda intrigued about the implementing a programming language answer and I'm wondering how do I go about starting this? I've gone through the whole K&R book and I've done some of the exercises as well. I also have a bit of experience in C++ and Java if that matters. Any tips? Thanks!
© Stack Overflow or respective owner