Clone this repo to begin: https://github.com/alonsovm44/glupe-tutorial
Glupe
Glupe is a semantic metaprogramming language. Unlike traditional metaprogramming systems that operate within a single language (C++ templates, Lisp macros), Glupe operates at the level of human intent and can materialize that intent into any target programming language. This positions Glupe as a 'meta' language not just in the technical sense of generating code, but in the philosophical sense of being one level above all programming languages.
Example meta-program:
% this is a comment $$ include { standard io library vector library }$$ $$ABSTRACT rules{ every printed message must end with "!" }$$ $$ABSTRACT rules2{ every printed message must begin with "?" }$$ $$ main -> rules, rules2 { let v = vector[1,2,3] print v }$$
Result:
? 1,2,3 !
This code can be compiled into 40+ supported languages or native executables.
But what does Glupe do?
The one liner
... continue reading