Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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
    • 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.

Project details


Download files

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

Files for loxpy, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size loxpy-0.1.1-py3-none-any.whl (16.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size loxpy-0.1.1.tar.gz (11.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page