A small implemetation of lox with python
Project description
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
- if
- for and while loop
- lexical scopes
- function
- class
- clourse
Usage
- Use
pip install loxpy
to install. - Use
loxpy
in termianl to run.
Grammer
Visit Lox grammer for more infomation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
loxpy-0.1.1.tar.gz
(11.7 kB
view details)
Built Distribution
loxpy-0.1.1-py3-none-any.whl
(16.9 kB
view details)
File details
Details for the file loxpy-0.1.1.tar.gz
.
File metadata
- Download URL: loxpy-0.1.1.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e7d24f55566f8ce189a832cd917ef19f28fac81c653f1ecf751772e3ec6de58c
|
|
MD5 |
d21f375820845236a3610bf1361096a4
|
|
BLAKE2b-256 |
38c87374d8ad5dc6dec0790dbe24d0941f229c283606e52409c2b264f5cc7050
|
File details
Details for the file loxpy-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: loxpy-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d52dd72115e231c0d8d78391c18aead183e6f3ea6163f53e60f5e72cb31d1dc2
|
|
MD5 |
d3ee26a88925bc0ec7b2b0a07d8419c0
|
|
BLAKE2b-256 |
77023214f44710dc8a5db20b9452d983b0ff81061e43b7745dae575403acadcf
|