Skip to content

jrmo14/pact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pact, a tiny language based on Lox from Crafting Interpreters

Differences from book

  • Arrays, cribbed from here
  • String indexing
  • Integer numbers
  • Bitwise operations
  • Separate compiler and interpreter
  • Compress chunks larger than 256 bytes
  • User input native fn
  • Number range native fn

TODO

  • Tests for new features
    • String indexing
    • Array addition
    • Integer math

About

A Lox based language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published