Skip to main content

The multi-tool of lexical analysis and tokenization.

Project description

plrs Version

The multi-tool of lexical analysis and tokenization.

Install

pip install plrs

Build

maturin build

Examples

API

Global variables

EOF_TOKEN

Classes

Tokens
Settings
Token
  - part
  - token
  - set_part
  - set_token
  - __str__
  - __repr__

Lexer
  - new
  - char_forward
  - skip_over_char_set
  - next

Functions

is_char_symbol
is_char_operator
is_char_whitespace
is_char_numeric
is_single_quote
is_double_quote
ends_token
is_part_numeric
tokenize

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plrs-0.1.3.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file plrs-0.1.3.tar.gz.

File metadata

  • Download URL: plrs-0.1.3.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.11.2

File hashes

Hashes for plrs-0.1.3.tar.gz
Algorithm Hash digest
SHA256 22e16ef2a66c11f599c73199c22e0c4efd3333f45f74469b70ba5dadc59f81ea
MD5 63106c3ed27b5701e8b20cea22d2fb91
BLAKE2b-256 102abe67c2d1c6e713583f84c136ab11ff33c1d61c13c60cfc7c84353b08ba7e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page