GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - aymanizz/python-tokenizer: A tokenizer for the python programming language in C

BranchesTags
Open more actions menu

Latest commit

 

History

31 Commits
31 Commits

Folders and files

NameName
Last commit message
Last commit date
lib
lib
 
 
src
src
 
 
test
test
 
 
.gitmodules
.gitmodules
 
 
README.md
README.md
 
 
makefile
makefile
 
 

Repository files navigation

A Python Tokenizer

A tokenizer for the python programming language in C.

Differences

There are a couple of differences between this tokenizer and what cpython tokenizer does.

This tokenizer:

  • does not emit NL.
  • does not recognize encoding comment.
  • does not support unicode.
  • does emit tokens for each reserved keyword.

I plan on adding support for some of these but not all. The implementation will differ from the cpython's in many ways.

Building And Testing

  1. Clone the repository and initialize the submodules.
    git clone --recurse-submodules https://github.com/aymanizz/python-tokenizer.git
    
  2. Run make. The following make commands (targets) are available:
    • build the tokenizer: make.
    • build the tests runner and run it: make test.
    • remove the binaries directory: make clean.

Ouput executable files can be found in bin directory after building.

About

A tokenizer for the python programming language in C

Topics

cpythontokenizer

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.