⬢github Prolog · 13 ★ +11 since we first saw it · pushed 8 d ago
no382001/zipc
WIP: A ZIP-style Prolog VM for trilog
zipc is a work-in-progress compiler and runtime that compiles Prolog programs to the ZIP virtual machine from Clocksin's 1984 paper, written in C. The compiler runs on Scryer Prolog and emits a binary image the VM executes. It aims to eventually replace trilog's current ABC-based clause interpreter, running the same programs faster and in less memory.
Why now: It was just discussed on Hacker News as a novel experiment reviving a classic 1984 Prolog abstract machine as a compiler backend.
Who it is for: Prolog enthusiasts and implementers interested in VM design and the trilog project.
Stars over our 659 snapshots: 2 to 13, since 6 d ago.
Where people talked about it
- Yhn A ZIP-style Prolog VM for trilog 6 d ago
API: https://socialmediatrends-api.osmike.com/v1/repos/no382001/zipc