Skip to content

JohnDoneth/CIS343-FlexLexingAssignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CIS343-FlexLexingAssignment

This repository contains the 'ZoomJoyStrong' language lexer for CIS 343 at GVSU

The Flex file "zjs.lex" defines the following tokens using Regular Expressions:

  • END. This statement exits the interpreter.
  • END_STATEMENT. All commands should end with a semicolon.
  • POINT. When we match the command to plot a point.
  • LINE. When we match the command to draw a line.
  • CIRCLE. When we match the command to draw a circle.
  • RECTANGLE. When we match the command to draw a rectangle.
  • SET_COLOR. Matches the command to change colors.
  • INT. Matches an integer value.
  • FLOAT. Matches a floating-point value.
  • 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, and on which line.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published