Your Flex file should define the following tokens: POINT. When we match the command to plot a
Fantastic news! We've Found the answer you've been seeking!
Question:
Your Flex file should define the following tokens:
POINT. When we match the command to plot a point.
VECTOR. When we match the command to draw a line.
CIRCLE. When we match the command to draw a circle.
BLOCK. When we match the command to draw a rectangle.
COLOR_CHANGE. Matches the command to change colors.
A way to match tabs, spaces, or newlines, and to ignore them.
A way to match anything not listed above, and to tell the user they messed up.
If this could be done in flex file/code that would be awesome! Regex statements need to be used!
Related Book For
Vector Mechanics for Engineers Statics and Dynamics
ISBN: 978-0073212227
8th Edition
Authors: Ferdinand Beer, E. Russell Johnston, Jr., Elliot Eisenberg, William Clausen, David Mazurek, Phillip Cornwell
Posted Date: