I understand a good part of it, but I am not sure how to actually run the program I am trying to create.
For now I am just trying to do something simple then move forward. Here's some details of what I'm trying to do.
1.Write a flex program such that it generates a scanner tokens defined below:
1) Identifiers: An identifier is a sequence of letters, digits, and underscores, starting with a letter. Uppercase letters are distinguished from lowercase.
2) Integer literals: A sequence of decimal digits is an integer constant that denotes the corresponding integer value. In this appendix the symbol INTEGER_LITERAL stands for an integer constant
3) operators which are listed below (quoted):
"&&" | "||" | "==" | "!=" | "<" | ">" | "<=" | ">=" | "+" | "-" | "*" | "/"
I pulled these instructions from a university web site.
Can someone please enlighten me?
This post has been edited by pcboyyyy: 07 September 2013 - 10:43 PM