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.5.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

plrs-0.1.5-cp38-cp38-manylinux_2_24_x86_64.whl (186.1 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64

Supported by

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