Skip to content

An implementation of the Miniscript programming language in C99.

License

Notifications You must be signed in to change notification settings

thacuber2a03/miniscript-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miniscript-c

An unofficial, pure C99 (absolutely no C++) implementation of the Miniscript programming language.

Unlike the official implementations, this one uses a stack-based virtual machine instead of three-argument code, and the files are structured á la Lox (and mainly because I didn't want to deal with register allocation haha).

The implementation is not yet ready, but it's stored here for backup reasons and for the interested.

Current progress

  • Strings, numbers and null
  • Local variables
  • If statements (no else or else if atm)
  • While statements
  • Function expressions
  • Return statement