Skip to content

GabrielYujiYasuda/lexical-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEXICAL ANALYZER

This is a lexical analyzer made in Java, for the Compilers subject at university, to reconize simple comands from a fake language.

Commands

The language includes the following commands:

  • PRINT
  • ADD
  • SUB

Tokens

The tokens are:

  • COMMAND: (PRINT, ADD, SUB)
  • STRING: sequency of characters between quotes
  • NUMBER: a integer number
  • WHITESPACE: spaces, could be ignored

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages