Friday, June 29, 2007

Assignment #2

Due Date: Tuesday, July 3, 2007, before or on 3:00 PM
Submission Requirements:
  • computerized (word-processor-application-generated)
  • printed in short bond paper
  • text uses:
    • font: Garamond
    • size: 12 pt.
  • source code uses:
    • font: Courier
    • size: 10 pt.
  • including your test suite (input/output)

PROBLEM:
Write a lex program and definitions named regular expressions for floating point numbers with optional decimal point and exponent.

Test your program with inputs and outputs.

No comments: