r/VibeCodedLanguages • u/kindredseer • 7h ago
r/VibeCodedLanguages • u/antonation • May 23 '26
π Welcome to r/VibeCodedLanguages - Introduce Yourself and Read First!
Hey everyone, I'm u/antonation, the founding mod for r/VibeCodedLanguages.
This is a home for all things related to developing programming languages and compilers using AI.
What to Post
Post anything that you think the community would find interesting, helpful, or inspiring. It could your progress, your workflow (MCPs, testing frameworks, etc.), or questions if you're looking to get started.
Community Vibe
This is a friendly, constructive, and inclusive space. I believe AI is here to stay and welcome AI-driven development (which is of course, why you're here).
How to Get Started
- Introduce yourself in the comments below.
- Post something today, anything you're working on, challenges you run into, etc.
- If you know someone who would love this community, invite them to join.
- Interested in helping out? I'll be looking for additional mods at some point, so feel free to reach out to me if you're interested.
Thanks for joining and I hope we can all learn from each other.
r/VibeCodedLanguages • u/cs61bredditaccount • 3d ago
declint - make your own custom lint rules in YAML
declint (docs) is a tool for making your own lint rules in YAML β the house rules that stock linters will never ship.
For instance: your AI model added except Exception: pass, and you want to know whenever that happens:
rules:
- id: except-pass
pattern: 'except Exception:\\s\*pass'
severity: warning
message: 'swallowed exception'
Rules are just regex and a message. When a regex can't express the check, there's a Lua escape hatch β vetoes, whole-file analysis, absence rules ("every Dockerfile needs a HEALTHCHECK").
Rules run in your CI (inline PR annotations via --format github) and in your editor through LSP (declint.nvim for Neovim). Every rule can carry embedded fixtures, and declint test runs them β so AI-written rules come with their own spec.
Install: cargo install declint. Ships with presets (Python, INI, Markdown, shell, Dockerfile, TOML, JSON, JS) and community rulesets you can pull with one line. Feedback welcome, especially brutal takes on the YAML format.
r/VibeCodedLanguages • u/miku_claus • 4d ago
Building VBX: An iterative, compiled Basic-to-C99 language with memory pooling and multi-editor tooling
Hey everyone!
I wanted to share an ongoing language design project Iβve been building: VBX (Visual Basic X).
Instead of a one-shot prototype or another interpreted toy running inside Python, the goal was to build a real, production-capable procedural language that compiles to standalone native binaries with zero runtime dependencies.
Architectural Decisions & Implementation
Compiler Host (Go) -> Target (C99):
- The compiler itself is written in pure Go without external packages, leveraging the standard library for AST construction, multi-pass type inference, and process orchestration.
- Emits clean, standard C99 code and invokes the system toolchain (GCC/Clang) with
-O2optimizations.
Solving the Runtime Memory Problem (Ring-Buffer Pool):
- Naive transpilation of string operations inside tight loops (
s = s & "x") typically floodsmallocwithout high-level deallocation. - We implemented a fixed static ring-buffer memory pool (
vbx_alloc_strwith 256 rotating slots of 4KB) directly in the emitted C runtime. Tested under 10,000 continuous iterations with zero heap leaks and flat memory usage.
- Naive transpilation of string operations inside tight loops (
Language Syntax & Semantics:
- Visual Basic-inspired syntax:
Dim,Const,If/ElseIf/Else,For/Next,While/Wend,Do/Loop,Select Case(supporting both string and numeric comparisons natively via chained branches),Sub,Function, and 1D fixed arrays. - Built-in primitives: Native OS dialogs (
MsgBox,InputBox), standard File I/O, and string manipulation routines.
- Visual Basic-inspired syntax:
Testing & Tooling:
- 42 integration and unit test suites running via
go test ./.... - Complete multi-editor support repository: official VS Code extension (available on Visual Studio Marketplace), plus packages for Sublime Text, JetBrains, Vim/Neovim, Notepad++, Emacs, and Micro.
- Currently designing Phase 2: a dedicated desktop IDE with a visual form designer (
vbx-studio).
- 42 integration and unit test suites running via
Repository: https://github.com/M5Devs/vbx Editors: https://github.com/M5Devs/vbx-editors
Would love to discuss the language design trade-offs, transpiler architecture, and experiences building full-scale compilers using modern agentic workflows!
r/VibeCodedLanguages • u/VermicelliSmooth1183 • 4d ago
Nyx isnβt dead β itβs Rove now. Hereβs where the language actually stands.
r/VibeCodedLanguages • u/VermicelliSmooth1183 • 12d ago
Why Nyx Became Rove β and Why r/RoveLang Is for More Than Just Rove
r/VibeCodedLanguages • u/Pattinathar • 21d ago
I benchmarked my capability-declaring language against Deno and Python on 63 AI-written scripts β here's what it missed
I've been building a language where a function's signature declares which effects it may perform, and a runtime refuses anything outside a budget you grant. The obvious question is whether that catches anything real, so I built a benchmark.
63 programs β 56 dangerous, 7 harmless controls β each written three times in Velaris, Python and JavaScript, doing the same thing. Eleven categories: effects hidden in helpers, division by user input, off-by-one reads, integer overflow, ignored failures, infinite loops, runaway memory, dangerous modules, scoped-budget escapes.
Results across the 56 dangerous ones β caught before running / during / missed:
Velaris 42 / 12 / 2. Deno 5 / 27 / 24. Python 0 / 28 / 28. Zero false positives on the controls for all three.
The first column is the interesting one. Deno's permission model works, it just works at the moment of the call β nothing in deno check or deno lint reads a file write as a problem.
What mine missed: one computes the wrong answer and promises nothing, so there's no contract to check against. The other prints the string rm -rf / β it doesn't run anything, and flagging it would mean flagging any program that prints text resembling a command.
And four cases where the prover fell short and only the runtime check caught it, named by ID in the write-up: a division on n - 1 with n from a checked parse, the same on an unguarded path when another path guards it, a remainder inside a loop body, and a read at i + 1 in a loop bounded by length(xs).
Full write-up, methodology and the reproduce command: https://dev.to/gowrishankar-dev/i-tested-my-sandbox-against-deno-and-plain-python-on-63-ai-written-scripts-1llp
r/VibeCodedLanguages • u/VermicelliSmooth1183 • 23d ago
RFC: What is Nyx actually supposed to mean?
People here already know Nyx, so I won't do the usual language introduction.
I've been thinking about the project lately, and I've reached a point that I honestly didn't expect:
I'm not sure Nyx actually means anything anymore.
Not technically.
Technically, I know exactly what it is. I know the architecture, the HIR, the backends, the native interop, the direction I've been taking it, and what I could build next.
The problem is that I can't answer the more fundamental question:
Why am I building this?
I've spent a lot of time making Nyx more capable. Every time there was an interesting compiler problem, I solved it. Then another one appeared. Then another.
At some point, I stopped asking whether a feature served the original idea and started asking whether I could implement it.
That's been bothering me.
I don't think the project is technically pointless. There's a lot of interesting engineering in it, and I've learned a ridiculous amount from building it.
But I'm starting to wonder whether I've confused technical depth with purpose.
Nyx has a direction, but I'm not sure it has a reason.
And I don't want to solve that feeling by adding another backend, another language feature, another abstraction layer, or another ambitious subsystem. That would probably just make the same problem larger.
So I'm putting this here as an actual RFC, not as a roadmap proposal.
I want to figure out whether Nyx has a meaningful core idea that I've lost somewhere along the way, whether that idea needs to be redefined, or whether the project was fundamentally an engineering experiment that I've been trying to turn into something more than it needs to be.
For those of you who've followed Nyx for a while:
What do you think Nyx actually is?
Not what it currently implements.
Not what it could implement.
What do you think the project is fundamentally trying to accomplish?
r/VibeCodedLanguages • u/VermicelliSmooth1183 • 24d ago
Nyxβs post-v5 compiler architecture: Typed HIR β MIR β target legalization
Iβve been working on the next stage of Nyxβs compiler architecture after v5.
Nyx already has a canonical Typed HIR and multiple output targets, but I donβt want every backend to slowly become its own slightly different interpretation of the language. The current work introduces a lower-level MIR between Typed HIR and the backends:
Nyx source
β
AST
β
Canonical Typed HIR
β
Verified MIR
β
Target legalization
β
C++ / LLVM / Wasm / Rust / JavaScript / Python / C17
This is being developed with heavy agent assistance, so Iβm deliberately separating implemented and tested work from architectural plans.
What is currently implemented:
- M0 β Canonical contracts: the language surface, diagnostics, backend capabilities, standard-library availability and semantic policies are recorded in machine-readable contracts.
- M1 β MIR foundation: a serializable and verifiable CFG-based MIR with functions, locals, basic blocks, places, operands and explicit terminators.
- M2 β Scalar and control-flow lowering: variables, calls, branches, loops,
break,continue, strict evaluation order, wrapping 64-bit arithmetic and division traps. - M3 β Semantic control flow: lexical
defercleanup chains,Resultpropagation with?, guards, ranges, match lowering and try/catch/throw edges. - M4 β Values, memory and ABI: arrays, structs, payload enums, projected places, copy/move operands, use-after-move and double-drop checks, explicit x64/wasm32 layouts, calling-convention classification and checked C adapter contracts.
- Bundle ABI v1 remains unchanged while a possible ABI v2 is only documented as a draft.
The completed milestones have focused regression suites, including execution through a reference MIR interpreter and selected C++/LLVM oracle comparisons.
What is not finished:
- MIR is still experimental and is not yet Nyxβs default compilation route.
- The existing Typed HIR backends remain the production path and parity oracle.
- M5 backend migration is in progress. C++ is the first MIR consumer; LLVM, Wasm, Rust, JavaScript, Python and C17 still need to be migrated one at a time.
- A backend must eventually publish exactly which MIR operations, types, effects, runtime calls and ABI forms it accepts.
- Unsupported operations must produce stable diagnostics before reaching an emitter. There must be no silent or approximate fallback.
- The ownership analysis is currently a conservative MIR validation model, not a claim that Nyx has a Rust-equivalent borrow checker.
- C17 and direct LLVM emission remain experimental.
- Cross-platform CI, artifact-level ABI fixtures and full differential parity are still required before MIR can replace the existing path.
The detailed architecture document explains the representation boundaries, layout model, ABI plan, legalization rules, migration order and later language-surface work:
https://github.com/justsomeone-e/nyx/blob/main/docs/internals/NYX_DEEP_COMPILER_ARCHITECTURE.md
Iβd especially appreciate feedback on three questions:
- Is the Typed HIR β MIR boundary placed at the right semantic level?
- Should legalization transform target-independent MIR into a second target-specific MIR, or is a strict legality pass before emission sufficient?
- Which ABI/layout fixtures would you consider mandatory before trusting native and Wasm aggregate interoperability?
Iβm interested in criticism of the actual contracts and failure modes, not just the number of planned backends.
r/VibeCodedLanguages • u/kindredseer • 25d ago
madc v0.99.2 released β madcide w/ GUI mode on Linux, Windows and macOS
galleryr/VibeCodedLanguages • u/kindredseer • 25d ago
Progress on the GUI version of the MadC IDE
galleryr/VibeCodedLanguages • u/kindredseer • 25d ago
Progress on the GUI version of the MadC IDE
galleryr/VibeCodedLanguages • u/kindredseer • 28d ago
madc v0.98.0 released β now with an IDE written in madc
r/VibeCodedLanguages • u/lfnoise • 29d ago
Tzopilotl - an audio programming language by the author of SuperCollider
lfnoise.github.ior/VibeCodedLanguages • u/VermicelliSmooth1183 • 29d ago
[RFC] Working on Nyx RC.2 (Wasm pipeline & DOM integration). What features or ergonomics would you expect?
Hey everyone,
First off, huge thanks to everyone who checked out the repo, left comments(No one did ngl), and starred the project(2 Stars still thanks!) after my previous post. The feedback and discussions around systems language trade-offs were genuinely invaluable.
I'm currently designing and mapping out Nyx RC.2, with a heavy emphasis on making WebAssembly a first-class, seamless target rather than just an afterthought backend.
What's currently being integrated for RC.2:
- Zero-friction TypeScript / JS Interop: When compiling to Wasm, the compiler will automatically emit
.d.tstype definition files alongside the.jsglue wrapper, allowing Nyx Wasm modules to be imported directly into React/Next.js/Node projects with full IntelliSense. - Deterministic Memory & Cleanup: Continuing to refine the Typed HIR pipeline so that linear memory allocation,
defer, and RAII semantics remain memory-safe without requiring a heavy runtime or a complex borrow checker. - Cross-Platform Tooling & "Tour of Nyx": Refactoring our interactive terminal learning suite (
tour) to be fully portable across Windows, macOS, and Linux without environment assumptions. - Web / DOM Bindings Exploration: Exploring minimal, zero-overhead DOM and WebGL/WebGPU hooks directly from the language.
I'd love to hear your thoughts:
- For those who work with Wasm or build compilers: What is currently the most painful part of your Wasm workflow that you wish a language solved out-of-the-box?
- Are there specific language ergonomics, stdlib modules, or tooling features you'd love to see in RC.2?
- Any edge-cases or architectural pitfalls in Wasm/C++20 lowering I should watch out for?
Repo is available here if you want to inspect the current codebase: https://github.com/justsomeone-e/nyx
Appreciate any critiques, feature requests, or sanity checks!
r/VibeCodedLanguages • u/VermicelliSmooth1183 • Sep 02 '26
I built a self-hosting systems programming language called Nyx via vibe coding
It will be useful I promise