Skip to content

20jasper/interpreter-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Interpreter

Interpreter inspired by Monkey language from the book "Writing an Interpreter in Go" by Thorsten Ball—now written in Rust!

Features

Currently, this interpreter lexes the following tokens

  • '='
  • '=='
  • '!='
  • '+'
  • '-'
  • '!'
  • '*'
  • '/'
  • '<'
  • '>'
  • ','
  • ';'
  • '('
  • ')'
  • '{'
  • '}'
  • 'let'
  • 'fn'
  • 'if'
  • 'else'
  • 'return'
  • 'true'
  • 'false'
  • Identifiers containing alphabetic characters
  • non negative 32 bit integers

About

interpreter-rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages