Skip to main content

metaForge: A Multi-Language Build & Automation Compiler

Updated 2 min readMarkdown

I’m excited to share metaForge, a multi-language MFG compiler that makes building, running, and managing code files across languages easy. MetaForge parses .mfg files containing groups, blocks, arguments, and raw commands, expands variables, writes code files, and executes commands automatically. It’s designed for developers who want a flexible, multi-language build system. 📌 Key Features Parse .mfg files into: Groups: collections of blocks with variables Blocks: named code files with optional run commands Args blocks: conditional blocks triggered by CLI arguments Raw variables & commands: global scope Variable Expansion: $var:name, $arg, $block:name, $group:name Automatic File Creation & Execution Verbose Logging (-v or --verbose) ⚙️ Supported Languages C++ (default, compiled, fastest) JavaScript (Node.js based, easy to modify) Python (widely accessible) 🚀 Quick Start Create a .mfg file: group js { var greeting = "Hello World!"

block hello.js {
    code {
        console.log("$var:greeting");
    }
    run "node $block:hello.js"
}

}

run "rm -rf $group:js" Run metaForge: metaForge example.mfg MetaForge will create hello.js with expanded variables, run it, and clean up automatically. Example CLI: metaForge build.mfg build # Builds and runs everything metaForge build.mfg clean # Removes generated files 📖 Documentation Full guides, syntax reference, and advanced examples: metaforge.alsopss.com/docs 🛠 Installation

Build C++ version (default)

make build

Build JS or Python versions

make build LANG=js make build LANG=py

Install

sudo make install LANG=cpp Custom installation paths and packaging are supported via PREFIX and DESTDIR. 🤝 Contributing Contributions are welcome! Submit Pull Requests or open Discussions on GitHub: https://github.com/ALSOPSS/metaForge

About the author

  • I’m Aiden, founder of Al’s-Ops in Utah. I build Vigilhold — host security for small teams that run their own Linux servers and don’t have a security hire. A light agent on each host watches what’s happening, explains findings in plain language with evidence, and only takes disruptive steps within limits you set. I write about practical infrastructure and security: what breaks on real boxes, what “documented” means when the machine disagrees, and how to keep automation under operator control. Previously and alongside that work I’ve shipped full-stack projects and spent a lot of time in the weeds of Linux servers, product tradeoffs, and clear technical writing. Based in Utah’s Silicon Slopes.

No comments yet. Be the first to comment.

More from this blog