Skip to content

largomst/LoxPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    • null
  • expression
    • variable and assign
    • arithmetic and logical
  • statement
    • 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.

Grammar

Visit Lox grammar for more infomation.

About

a implementation of Lox with python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages