Skip to main content

A Pyhton Implemetation of Lox

This is a python implemetation of a experimental programming language Lox. Lox is a programming designed by Nystrom Bob, Thanks for his project Crafting Interpreters

For some reason, the project is not full implemetation of lox features.

Features

The interpreter support:

  • atoms
    • str
    • bool
    • number
  • express
    • variable and assign
    • arithmetic and logical
  • statment
    • print
    • if
    • for and while loop
    • lexical scopes
    • function
    • class
    • clourse

Usage

  1. Use pip install loxpy to install.
  2. Use loxpy in termianl to run.

Grammer

Visit Lox grammer for more infomation.

Release files for loxpy 0.1.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 loxpy 0.1.1
File Size Uploaded
loxpy-0.1.1.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for loxpy 0.1.1
File Interpreter ABI Platform
loxpy-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 28.5 kB

Release files / loxpy-0.1.1.tar.gz

Download URL loxpy-0.1.1.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e7d24f55566f8ce189a832cd917ef19f28fac81c653f1ecf751772e3ec6de58c
BLAKE2b-256 checksum
How to use checksums
38c87374d8ad5dc6dec0790dbe24d0941f229c283606e52409c2b264f5cc7050
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Release files / loxpy-0.1.1-py3-none-any.whl

Download URL loxpy-0.1.1-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d52dd72115e231c0d8d78391c18aead183e6f3ea6163f53e60f5e72cb31d1dc2
BLAKE2b-256 checksum
How to use checksums
77023214f44710dc8a5db20b9452d983b0ff81061e43b7745dae575403acadcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

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