Skip to content

haitrungle/primox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Primox: implementing Lox in Rust (WIP)

This project creates a programming language, following the book Crafting Interpreters, but in Rust instead of Java.

So far the language has:

  • Numbers, booleans, and strings
  • Print and expression statements
  • Arithmetic and logical expression

Everything lies in the "src" folder, including:

  • "scanner.rs": scanner and lexer
  • "ast_printer.rs": print out the abstract syntax tree
  • "parser.rs": recursive descent parser
  • "interpreter.rs": evaluate the program

About

Lox language in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages