Dev iconDevJun 24, 2026 ~1 min source read

I am making a programming language

I'm currently building a custom programming language called Swiq using C++. Most modern languages rely entirely on standard garbage collection or strict block scoping.

I am making a programming language

Share this story

Send the public story page.

Useful takeaways from this story.

I'm currently building a custom programming language called Swiq using C++.

Swiq tracks both the current state and the instantiation state of your data.

Most modern languages rely entirely on standard garbage collection or strict block scoping.

Building the complete brief

The page is ready to read now. The fuller skim-friendly version will appear here automatically.

The useful part

I'm currently building a custom programming language called Swiq using C++. Most modern languages rely entirely on standard garbage collection or strict block scoping. Swiq tracks both the current state and the instantiation state of your data.

How it works

  • Here are a few unique features I've built into the memory management system:
  • You can stash a variable away into a hidden memory space and safely pull it back whenever you need it.
  • Swiq remembers the initial value used when a variable was first created, allowing you to instantly reset it to its default state.
  • Functions allow explicit variable closure capturing, much like C++ lambdas.
  • You can check out the source code, read the documentation, or contribute here: šŸ‘‰ github.com/bananakitssu/Swiq I would...

Details worth keeping

Swiq is an open-source project and is still actively under development.

Keep reading in the app

Open the app view to save this story, compare related coverage, and continue from the same source.

Open in app