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

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

The following is a C++ implementation of a lexical analyzer for token

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages