CS 440/540 Sample Lex/YACC Code

    We will be using lex (flex, jflex) and yacc (bison, byacc) based tools in this class for implementation. I will go over the tools in class and I have pages with lex/yacc examples for the following languages:
    • C
    • C++
    • Java
    You may submit your assignments in any of these languages; choose the one with which you are most comfortable as I will be assuming you are proficient in your chosen language. In other words, I will not be teaching any Java, C or C++ programming in this class.

    These tools have many features that I will not go over in class. You will not need to use these features but may use them if you choose (at your own risk).