Skip to content

An interpreter for the Sal programming language written in Zig

License

Notifications You must be signed in to change notification settings

Dr-Nekoma/salem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salem

Salem is the Sal Execution Model. It is a Zig implementation of the Sal programming language.

Data model

  • Basic data types:

    • RRB-Trees for arrays and byte arrays
    • B-Trees, for dictionaries, sets and multisets
    • Pairs and Variables
    • Primitive and constructed functions
    • A very minimal object system (needed for efficient mutual recursion)
    • Promises for lazy evaluation
  • Numeric tower:

Inspirations