An open API service indexing awesome lists of open source software.

https://github.com/thacuber2a03/miniscript-c

An implementation of the Miniscript programming language in C99.
https://github.com/thacuber2a03/miniscript-c

bytecode-interpreter c99 language-implementation miniscript programming-language unofficial

Last synced: about 1 month ago
JSON representation

An implementation of the Miniscript programming language in C99.

Awesome Lists containing this project

README

        

# miniscript-c

An unofficial, pure C99 (absolutely no C++) implementation of the [Miniscript](https://miniscript.org/) programming language.

Unlike the [official implementations](https://github.com/joestrout/miniscript), 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