Repository navigation
GSET v2.0.2
GSET v2.0.2
Generic Syntax Extension Tool - Write in any language syntax, compile to any language.
What is GSET?
GSET is a transpiler that allows you to write code in any language syntax and compile it to any other language using configurable keyword mappings.
Example: Write in Python syntax, compile to Go:
# GSET file (Python-like syntax)
print("Hello from Python!")
# Compiles to:
fmt.Println("Hello from Python!")
Features
- Write in Python, JavaScript, Java, Go, or custom syntax
- Map keywords to any target language functions via
gset.conf - Cross-platform compiler support (Python, Node, Go, Java, etc.)
- Fully configurable - no hardcoded values
- Open source, non-commercial license
Installation
Linux (AUR)
yay -S gset-git
# or
paru -S gset-gitLinux (Direct Download)
wget https://github.com/Crazygiscool/GSETLang/releases/download/v2.0.2/gset-linux-amd64
chmod +x gset-linux-amd64
sudo mv gset-linux-amd64 /usr/local/bin/gsetmacOS
- Download
GSET-2.0.2-macOS.zip - Extract
GSET.app - Drag to
/Applications - Run:
gset --version
Windows
- Download
gset-setup-2.0.2.exe - Run installer
- Choose install location
- Add to PATH (optional)
Debian/Ubuntu
wget https://github.com/Crazygiscool/GSETLang/releases/download/v2.0.2/gset_2.0.2_amd64.deb
sudo dpkg -i gset_2.0.2_amd64.debQuick Start
- Create a GSET file (e.g.,
hello.gset):
print("Hello, World!")
- Run it:
gset hello.gset- Output:
Hello, World!
Custom Keywords
Add to file header or gset.conf:
shout=fmt.Println
---
shout("Hello from GSET!")
Multiple Languages
GSET auto-detects file extension:
| Extension | Target Compiler |
|---|---|
.py |
Python (python3) |
.js |
Node.js (node) |
.go |
Go (go run) |
.java |
Java (javac + java) |
| Example - Write in JavaScript syntax: |
console.log("Hello from JavaScript syntax!")Configuration
Edit gset.conf to customize keywords and compilers:
# Global keywords
say=fmt.Println
print=fmt.Print
# Language-specific
ext.py.say=print
ext.js.say=console.log
ext.java.say=System.out.println
# Compilers
compiler.py.command=python3
compiler.go.wrapper=package main\nfunc main() {\n##CODE##\n}License
This software is licensed under CC BY-NC 4.0 (Creative Commons Attribution-NonCommercial 4.0).
- ✅ Use and remix allowed
- ✅ Attribution required
- ❌ No commercial/economic use
See LICENSE for full text.
Links
Version: 2.0.2
License: CC BY-NC 4.0
Copyright: 2026 GSET Team
Full Changelog: https://github.com/Crazygiscool/GSETLang/commits/v2.0.2