DEV Community

Danishk Sinha
Danishk Sinha

Posted on

GLX: A New Programming Language for System Scripting, Replacement For Bash

 LINK: https://github.com/glx101/GLX

GLX is an experimental programming language designed for system-level scripting with a cleaner and more structured syntax than traditional shell scripts.

It aims to reduce the complexity of Bash-like scripting by providing readable control flow, built-in data types (arrays, maps, ranges), bitwise operations, macros, and labels.

The language is implemented from scratch, including its lexer, parser, and interpreter.

GLX is open source and still evolving. I would love feedback from developers interested in language design, interpreters, or system programming.

Top comments (2)

Collapse
 
danishk_sinha_050b8e04527 profile image
Danishk Sinha

Nice

Collapse
 
onlineproxyio profile image
OnlineProxy

Honestly, I’ll switch to GLX when it feels boringly predictable: no surprise splitting/globbing, strict-by-default errors with try/catch/defer, and first-class, typed pipelines with cancellation/timeouts. Keep startup snappy, make POSIX interop a non-event, and ship solid tooling out of the box with reproducible installs. Make quoting/globbing explicit-interpolation is literal, opt into split()/glob()-and kill the classic footguns. Default to text across process boundaries with easy adapters to structured data, keep macros hygienic and compile-time, hit Linux/macOS/WSL parity, and ship a batteries-included stdlib-keen for head-to-heads with Bash/Nushell/Oil/PowerShell.