Skip to content

An attempt to make a RUST based zero-copy PGN tokenizer that operates purely on &[u8] slices.

License

Notifications You must be signed in to change notification settings

lakinwecker/pgn-lexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PGN Tokenizer

Goals

  • Use zero-copy byte slices all the way through.
  • No heap allocations

API

  • A token based iterator that takes a byte slices and returns tokens that reference sub-slices

Example

This example counts the number of games in a PGN file.

About

An attempt to make a RUST based zero-copy PGN tokenizer that operates purely on &[u8] slices.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages