Skip to content
Tech News
← Back to articles

Show HN: I made a "programming language" looking for feedback

read original more articles
Why This Matters

Glupe introduces a novel semantic metaprogramming language that operates at the level of human intent, enabling code to be generated across multiple programming languages and environments. Its approach to abstracting algorithmic logic from specific languages offers a transformative way to create more flexible, portable, and future-proof software, impacting both developers and the broader tech ecosystem.

Key Takeaways

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