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
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!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
