Ask a questionAsk a question
 

Proposed AnswerLexical Analyzer/Parser

  • Tuesday, March 04, 2008 2:55 AMideal24293 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I need to create a lexical analyzer for a class that I am in.  It needs to read in a program and see if it matches a simple grammer.  Is there some easy way to do this with regular expressions, or does someone have some code to help me get started.  I'm kinda stumped right now as I have never done anything like this before.

    Thanks

All Replies