Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Latest commit

 

History

History
56 lines (34 loc) · 1.11 KB

README.md

File metadata and controls

56 lines (34 loc) · 1.11 KB

simple-lexical-scanner

The following is a C++ implementation of a lexical analyzer for token, including a main driver function for testing purposes

Token Lexeme
IDENT result
ASSIGN_OP =
IDENT oldsum
SUB_OP -
IDENT value
DIV_OP /
INT_LIT 100
SEMICOLON ;

How to run

==============

  1. Install software

2.download program

  1. Build
  • Open "Editor code.cbp" with codeblocks.
  • Compile.

===========

This project is a homework
For reference use only.

License

This project is licensed under BSD-2-Clause.