Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A tree-walk interpreter and a bytecode virtual machine interpreter written in the Rust Programming Language.

License

NotificationsYou must be signed in to change notification settings

lffg/rs-lox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My implementation of the first interpreter presented in "Crafting Interpreters", by Robert Nystrom.

This repository holds two implementations for the same language. The first one,tree-lox implements a tree-based interpreter and the other,vm-lox uses a bytecode virtual machine to interpret the code.

Quick start

This project can by compiled using Cargo. Use the--project flag to choose the implementation.

Run an existing file:

$ cargo r -p tree-lox -- script-name.lox

Open the REPL:

$ cargo r -p tree-lox

Project overview

todo

License

Code licensed under the MIT license.

About

A tree-walk interpreter and a bytecode virtual machine interpreter written in the Rust Programming Language.

Topics

Resources

License

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp