MCB Guru

Building an RPN to Equation Parser

In the final part of the examination of lex and yacc, here are the rules for building a parser that translates RPN into equation input (the reverse of the Equation to RPN parser. Translating RPN into standard equation format is a lot more difficul…

Building an Equation to RPN Parser

As part of the continuing examination of lex and yacc, here are the rules for building a parser that translates equations into RPN format. The process is actually very simple. Because of the way the parser works, all you have to do is print out wh…

O’Reilly RSS Feeds getting annoying

For some strange reason at the moment, O’Reilly feeds are creating duplicates. It’s obviously deliberate, but I can’t see the logic behind the process. The main culprit (but not the only one) is a series on Refactoring (called Refactoring Everythi…

Building an RPN Calculator

There’s an tutorial shortly due to appear at IBM developerWorks that covers the process behind building a calculator using the lex and yacc (or flex and bison) tools to build a parser. The tutorial covers a natural expression parser, i.e. one capa…

MCslp Coalface is live

I’ve started up a new blog designed to handle the day-to-day thoughts and issues, programming notes, IT tricks and so on that I come across (and use/develop) each day. Called MCslp Coalface, the blog is designed to contain the issues and notes tha…

Sun Ultra3 Mobile Workstation

The full review of the Sun Ultra3 Mobile Workstation is now available at Free Software Magazine. Contrary to the sign off at the end of the article, Sun have not yet asked for it back, and I’ve been using it now almost every day for the last six m…