For those of you who have never owned a Ford Escort then you either know better or have really good karma. I bought one as a get-a-rounder last year for 2Gs and it has been in to the shop at least 3 times. As I write the transmission fluid is pouring out of the differential axels, estimated cost 2Gs! So I've been busy looking around for a new car and this has interfered with my usual routine. I want something that will last a little more than a year this time. My choice is a Honda Civic. If there is anybody here who has reason to protest this union, let them speak now or forever hold their peace.
What I have done...
I finished up on integers by adding the unary minus operator. I also redesigned the way vector and float types will be held in memory (more on this later). Before adding the rest of the built in types, however, I wanted to get some program control in place. The first step was to add a boolean expression parser. This will be used in if-then-else and while control statements.
I am currently using : as an equivalence operator and do not yet have >= , <=, or != operators in place. This is because my tokenizer cannot yet identify multiple character operators. I'll add those later. Here is an example of what the parser can handle:
evaluate( (0 | !( 5 < 5 )) & !0 );
output: 1