Skip to main content

pylox

pylox is Python implementation of Lox programming language which is a demo language from [Crafting Interpreters](http://www.craftinginterpreters.com/) book by [Bob Nystrom](https://github.com/munificent).

I’m doing this because:

  1. I want to learn about language design and implementation

  2. I don’t want to just read the book or copy and paste the code from it and I want to do something else than C or Java

  3. Python is my main language these days and I want to use something I’m most comfortable with

  4. Maybe after Python version I decide to reimplement it (or make my own toy language) in Go. Or force myself to learn Rust which seems like a good idea.

  5. Fun.

This is work in progress.

Requirements

Python 3.6 for no particular reasons except f-strings are used in few places. Other than that, it could easily be ported to even Python 2.7 (but I don’t plan to).

Run it

python3 -m pylox [script]

License

MIT.

Metadata

Release files for pylox 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylox 0.0.1
File Size Uploaded Provenance Actions
pylox-0.0.1.tar.gz 4.7 kB Without provenance Details for pylox-0.0.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pylox 0.0.1
File Interpreter ABI Platform Actions
pylox-0.0.1-py3.6.egg Legacy Egg format - - Details for pylox-0.0.1-py3.6.egg
pylox-0.0.1-py3-none-any.whl Python 3 none any Details for pylox-0.0.1-py3-none-any.whl

Total release size: 20.9 kB

Release files / pylox-0.0.1.tar.gz

Download URL pylox-0.0.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
109a4511425c488c5d0a1619ae50a0126b84f2c6b5eb3dfba6e7be544675a3da
BLAKE2b-256 checksum
How to use checksums
9df40e2b8cbd85110fab94d51aa49fc87d6fa113faa1b6b5eed7ff0412445472
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pylox-0.0.1-py3.6.egg

Download URL pylox-0.0.1-py3.6.egg
Size 9.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
3871806a554a7b2c92292e5060eccea21eba3cc06de082ce754a53e472950f05
BLAKE2b-256 checksum
How to use checksums
2065d69a885160542d77b17c1c609053fa7fe1f88a85042cf9726ddec3383e70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pylox-0.0.1-py3-none-any.whl

Download URL pylox-0.0.1-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b705b6553d83f84baa759a1d2432c2fe920a6a23593455fb0cadbaf801d41640
BLAKE2b-256 checksum
How to use checksums
6e3490b3971a190104c9cd49b4288b78435ca54f6e6f5fcb76e670c4e037f017
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pylox 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

3 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page