Monthly Archives: April 2012

Writing a simple shell using Flex and Lemon: part 2

Introduction In part 1, we created a simple parser and driver for a basic shell that supports piping and command substitution. In order to test our parser, the driver in our last part only simulated reading tokens. In this part, … Continue reading

Posted in Uncategorized | Tagged , | 6 Comments

Writing a basic shell using Flex and Lemon: Part 1

Introduction I’ve recently decided to switch one of my projects from using the Bison parser generator to Lemon. Bison is the go to standard for parser generators, but after looking into Lemon, I really think that Lemon is safer, easier … Continue reading

Posted in Uncategorized | Tagged , | 6 Comments