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.
- Host: GitHub
- URL: https://github.com/thacuber2a03/miniscript-c
- Owner: thacuber2a03
- License: mit
- Created: 2024-02-08T01:50:42.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-02-27T17:58:41.000Z (about 1 year ago)
- Last Synced: 2025-01-20T20:41:07.288Z (3 months ago)
- Topics: bytecode-interpreter, c99, language-implementation, miniscript, programming-language, unofficial
- Language: C
- Homepage: https://miniscript.org
- Size: 226 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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