SWAG Programming Language
Swag is a system programming language made for fun because, let's be honest, C++ is now an horrible and ugly beast !
This is my third compiler (the other ones were developed for AAA game engines), but that one is by far the most advanced.The Swag compiler can generate fast native code with a custom x64 backend or with LLVM. It can also act as an interpreter for a scripting language.
Imagine C++, but where everything could be constexpr.Swag has full compile-time evaluation, type reflection at both runtime and compile time, meta programming, generics, a powerful macro system...
Enjoy.To take a look at an explained implementation of the Flappy Bird game in one single little script file.
We haven't officially launched anything yet! Everything, even this website, is still a work in progress. So, the rules of the game can change anytime until we hit version 1.0.0. Let's keep the fun going!
Swag is open source and released under the MIT license. You will find the compiler source code on GitHub. You can also visit the YouTube channel to see some little coding sessions.
The language evolves, and those videos can show out of date syntax. But the corresponding scripts on GitHub are always up to date and running.
The pages of this web site and all the related documentations have been generated with Swag, as the compiler can also produce HTML based on markdown files and source code.