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

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

License

Notifications You must be signed in to change notification settings

abdulmlik/simple-lexical-scanner

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

License

Stars

Watchers

Forks

Packages

No packages published

Languages