The More Languages You Know...
It has been a while since I heard the czech saying which would roughly translate into english as: “The more languages you know, the more human you are.” Or little more accurately…
Let = the number of languages you know
Let = the amount of humanity in you
Then, we can express the realationship as:
Why am I talking about this? Simple… I have decided to write an assembler for a very strange piece of hardware (which I don’t own, unfortunately) so emulator is the only way to go. I am not going to say exactly what it is, since I want to finish few more things, and release the whole thing under GPL. Those of you who know what I am working on, try not to divulge it for now…hopefully the public annoucement will be by the end of October.
So, back on topic…I decided to use Lex as the tokenizer. I must say, I am very pleased with it. I give it a bunch of regular expressions, and it (almost) magically generates most of a C program for me, that lexes (as in lexical analysis) standard input, and outputs a more parser-friendly data. For the parser, I will probably use yacc, since they almost always are used together.