Skip to content
/ plam Public

Python tree-walking interpreter for a simple prorgamming language

Notifications You must be signed in to change notification settings

xxori/plam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plam

Simple tree-walking interpreter with a C-like syntax.

Python implementation of a slightly modified version of the language from Crafting Interpreters. I'll probably make some changes once I finish this part of the book, perhaps to make it follow more functional style i.e. pattern matching, a type system, etc..

After I finish the simple tree-walking interpreter, I plan to implement the bytecode VM from the book using Zig and then research and play around with type systems.

Currently implemented:

  • Arithmetic operators with runtime type checking
  • Number and string literals
  • Global variable declarations and assignment
  • Simple REPL and file running

About

Python tree-walking interpreter for a simple prorgamming language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages