Skip to content

jampeh99/pythonLexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pythonLexer

A python lexer built using PLY

lextab.py and parsetab.py are python files that help speedup the lexer

This lexer is built using python-ply libraries

Requirements

  • python3

How to run

  1. cd to the lexer directory
  2. run "python3 lexer.py"
  3. A prompt would ask you to enter a file to have it lexed or tokenized
  4. Just enter the name of the file/path where the file you would want to use is located

The program would display the position, kind and value of tokens on the screen

About

A python lexer built using PLY

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages