General "Curiouser and curiouser!" cried Alice
Hi
Assuming his methodology is not entirely screwed up, indeed curious.
https://pypl.github.io/PYPL.html (as at December 2026)
Cheers, Ian
Welcome to the monthly r/ada What Are You Working On? post.
Share here what you've worked on during the last month. Anything goes: concepts, change logs, articles, videos, code, commercial products, etc, so long as it's related to Ada. From snippets to theses, from text to video, feel free to let us know what you've done or have ongoing.
Please stay on topic of course--items not related to the Ada programming language will be deleted on sight!
Hi
Assuming his methodology is not entirely screwed up, indeed curious.
https://pypl.github.io/PYPL.html (as at December 2026)
Cheers, Ian
r/ada • u/Shot-Confusion8356 • 4d ago
All,
Today is December 1st, which means you have 1 more month to go to submit your crate to the Alire index to be eligible for the crate of the year award.
We will select 3 winners in early 2027. More information is available in the blog post:
Regards,
Mark
r/ada • u/Dmitry-Kazakov • 5d ago
The current version provides a full Ada 2022 syntax analyzer library. The analyzer parses the source and creates the syntax tree and cross reference of defining identifiers in the source. Both structures are allocated in an arena pool storage and can be released as a whole. The code source can be file, stream or a user-defined container implementing multi-line source interface. Unicode is fully supported as well as Unicode identifiers normalization checks.
https://www.dmitry-kazakov.de/ada/ada_syntax_analyzer.htm
Changes to the preious version:
r/ada • u/Dmitry-Kazakov • 5d ago
The current version provides implementations of smart pointers, directed graphs, sets, maps, B-trees, stacks, tables, string editing, unbounded arrays, expression analyzers, lock-free data structures, synchronization primitives (events, race condition free pulse events, arrays of events, reentrant mutexes, deadlock-free arrays of mutexes), arbitrary precision arithmetic, pseudo-random non-repeating numbers, symmetric encoding and decoding, IEEE 754 representations support, streams, persistent storage, multiple connections server/client designing tools and protocols implementations.
https://www.dmitry-kazakov.de/ada/components.htm
Changes to the previous version:
r/ada • u/Dmitry-Kazakov • 5d ago
The library provides string handling facilities like I/O formatting, Unicode and obsolete code pages support.
https://www.dmitry-kazakov.de/ada/strings_edit.htm
Changes to the previous version:
r/ada • u/_Heziode • 7d ago
Hi all,
I've just made Aclida public: https://github.com/adarium-labs/aclida I've been working alone on it, in my spare time, since May 2025 (a year and a half now 😱).
Why. Ada/SPARK keeps losing ground partly because the building blocks are missing (it's my PoV). Rust rewrote coreutils and sudo; I'd like to do something similar in Ada, but a real tool needs a serious CLI layer first. So I started with one. The name is CLI set inside Ada: a·CLI·da.
What it is. A CLI framework for Ada, inspired by Clap (Rust), Cobra (Go), Click (Python), picocli (Java) and optparse-applicative (Haskell), designed for Ada/SPARK. You declare an argument once and read its typed value through the same handle (no lookup by name).
What it does today:



Two features I'm particularly happy with:
app cg database.url is rewritten to app config get database.url before parsing, so the command tree stays untouched. Diagnostics are drawn on the expanded command line and a note names the shortcut, so users see what was actually run. Providers are pluggable (in memory, file-backed with your own format, or custom). It is inspired by the shortcus system of Alire.

Env vars can be prefixed per application (MYAPP_PORT) or declared by their exact name (NO_COLOR).
Where it is going. The goal for 1.0.0 is that libs/cli is formally proved with SPARK: absence of run-time errors, with the few non-SPARK boundaries listed and justified. It is not there yet (127 unproved checks at last count): no release, the API will still change, and the crates are not in the Alire index. You can build from a clone (see "Building from a clone" in the README).
Around it, the repo already holds early crates for styling, text wrapping and terminal output; a layout crate is a skeleton. The long-term target is a meta-framework (think Rich, Spectre.Console or Ratatui for Ada): components, interactive prompts, then a TUI. That comes much later.
An open question: string types. Aclida is built on anystrings, a small library of mine that lets the user pick the string type at build time (Unbounded_String, wide strings, UXStrings, VSS). It was meant to avoid forcing one string type on every user, but it costs a lot: five backends to test, backend-specific bugs (one backend counts UTF-8 bytes, others code points), a stack overflow under VSS from large records, a quadratic slowdown on UXString that took a storage change to fix, and more trusted code for the proof. The alternative is to commit to Wide_Wide_String, manage code points and encodings myself, and convert at the API edge. Has anyone been through this trade-off in a SPARK project? Would you use a library that only supports one string type?
I'd especially like opinions on:
Issues are open; pull requests are limited to collaborators (me) for now. Thanks!
The workflow behind it. Along the way I built an agentic development workflow, not specific to Aclida but grown out of working on it. It starts from what you want (a PRD or similar) and goes through requirements (HLR, LLR) and a technical design, then loops:
.ads files, with no bodies;For the requirements-to-proof traceability I integrated AdaCore's GNAT Foundry: Intersection (https://github.com/AdaCore/gnat-foundry-intersection) where it did the job better than mine, and kept my own tasks for the parts it was missing. I plan to publish the workflow later as a separate kit, ready to drop into any AI harness.
Disclaimer: I used AI for the dev process. I started with ideas and building blocks by hand, but a substantial part of the code (~45k LoC currently) was written with AI (mainly Claude Code with Opus, Sonnet and Haiku, plus OpenCode/Pi/OMP with DeepSeek V4.1 Flash). This journey deserves its own article: there's so much to say about it.
Other libs that I wrotte as other building block for this project:
r/ada • u/ComplexLeading6582 • 9d ago
Updates to https://github.com/RajaSrinivasan/assignments.git
This project is now getting on the AI bandwagon. Used to be the usual suspects like ChatGPT and Claude were used as the next generation of googling with somewhat mixed results - within the free framework. This thanksgiving season - I plunked down for some serious plans with grok. Many experiments followed. The journey is ongoing, pushing the envelope each time.
Others are in various stages of testing. Many exciting collaborations!
r/ada • u/Adzvokatix • 11d ago
I am creating an Ada 2022 course.
This is the introductory volume. It can be a little dense or unclear at places, but I am working on it.
The next volume will be pointers/access types, tagged types , generics, tasking, etc.
You can try the course for yourself from this link too https://beyondfealty.com/ada22fromzero.html
Or view the code and download from github, it just an html page it will run locally in your browser.
The windows and mac tools might be wrong, I did the best I could, but I run linux and I couldn’t test the Windows and Mac steps.
Git is open for any contributions, pull and push requests.
ESP-IDF GNAT Runtime 0.3.0 is out! This release introduces a new embedded runtime for ESP32-S3, featuring expanded tasking and interrupt support alongside tighter integration with the ESP-IDF build system.
runtime-embedded-esp32s3.json) — Adds support for FreeRTOS-backed Ada tasks, protected objects, and runtime initialization.-fstack-check) — Adds support for compiler-generated stack checks in both task and interrupt contexts, raising Storage_Error when a check fails.CONFIG_GNAT_RUNTIME_ATCB_TLS_SLOT.espidf_add_ada_application CMake helper connects Alire builds and their relocatable objects to the firmware build, handling SDK constant generation automatically.bb-runtimes sources and a compatible, up-to-date a0b-tools generator. The ESP-IDF component requires ESP-IDF 6.0 or later (the ESP32-S3 integration has been tested against ESP-IDF 6.1).-Q3). Code compiled with -fstack-check requires an extra 12 KiB of primary stack allowance beyond the application workload.FIFO_Within_Priorities policy. Exceptions must not propagate out of ordinary callbacks exported to C, and ISR code must strictly use nonblocking, ISR-safe operations.r/ada • u/camille_pris • 13d ago
I've written an ECAD tool for schematics and PCB layout in Ada. I chose Ada because hardware designed with it may end up in mission-critical systems, and the tool should hold itself to the same standard.
It has plain-text design files, a script processor, hierarchical reusable blocks and multi-board design, and it runs on Linux.
I'd welcome feedback on the code, the build and the docs: https://github.com/Blunk-electronic/ET
r/ada • u/gneuromante • 14d ago
alr2appimage version 1.1 has been released and successfully published in the Alire index thanks to the new alire-index-mergebot.
The main new feature is support for generating deb and rpm packages automatically from your binary crate. The list of desired packages is specified with the new --out-package argument and AppImage continues to be the default target.
The easiest way to generate Linux packages from your application crate in a GitHub action is through the alr2appimage-action.
--out-package.--single-exe option to keep only the selected executable in generated packages.--debug option to keep the generation directory after a correct run.spoon crate by aShell for spawning processes. No user-visible changes.Full Changelog: v1.0.0…v1.1.1
r/ada • u/DiligentBill2936 • 15d ago
i am planning to do setup for Ada. Bit confused on Alire/GNat/Gnat Studio.
Just downloaded GNat studio thinking its 'all in one' but its asking 'gpr build missing'
Can someone point to basic tutorial on how to setup the environment?
Thanks
r/ada • u/I_hate_posting_here • 16d ago
ada-lang.io crosspost: https://forum.ada-lang.io/t/sparrow-web-stack-0-1-0/4961
Hey fellow Ada enthusiasts.
I was watching some youtube and I came on this video: https://www.youtube.com/watch?v=sQXFhh_PiG4
Where everyone implements a web server with some specific requirements and constraints. 8 CPUs, a fixed postgres database with a specific config. A benchmark script, and some rules etc…
Unfortunately I’m not a member of this guy’s community so I was a bit late to take part in the challenge but I did see the typical languages up at the top of the leader board. Some rust, some zig, etc etc. I decided I would take some time and make a late entry and see how far I could push Ada. Could I get to the top of the leader board? I tried some experiments with AWS and while it is a good piece of software it wasn’t exactly written with performance in mind. It uses blocking sockets and it doesn’t have pools of reactors that handle responses in bulk.
Here was my submission: https://github.com/arjaythedev/multicore-server-challenge/pull/235
Yes I used Claude Opus 5.5 in the preparation of the submission, but it is not vibe coded. The engineering decisions were made by me. I chose the features and the path forward. I suspect if it ever gets accepted and bench marked it should place near the top. The top of the leader board is 230k users before breaking. On my machine I got just above 500k but that’s on 8 AMD Ryzen 9 9950X3D cores and not whatever weaker VCPU the bench marking machine has.
I spent some time extracting the core of the submission and building a web programming stack that would work with how people build web applications these days. The result is here: https://github.com/michael-hardeman/sparrow
What do you think of the repo? Should I take it any further? Should I publish it? Should we take the improvements and apply them to AWS?
The stack so far has:
We have spark silver proof of absence of runtime errors throughout the stack. There is fuzzing testing using libfuzz across all communicating interfaces.
r/ada • u/GeneralAd3382 • 17d ago
Disclosure first: I help Mario Blunk with promotion for this project. He wrote it, and he answers the technical questions here.
System ET is an ECAD tool for schematic capture and PCB layout. GPL-3.0, written in Ada, in development since 2017. The repo is about 10.8 MB of Ada today.
What I think this sub might actually find interesting is the file format. Design and library files are plain ASCII text, one file per module, symbol, package and device, so a schematic diffs like source code and lives in git without a database. Submodules are instantiated by reference with defined interfaces at the module boundary, and there is a virtual two-port component called a Netchanger that handles the net transitions between modules. Everything the GUI does is also available as a CLI command or a script file, which is what makes scripted or CI-driven hardware work possible.
Honest state: Linux only, builds from source with GNAT, GtkAda and gprbuild, no installer yet, parts of the GUI are still under construction. Screenshots are in the repo.
https://github.com/Blunk-electronic/ET
Manual: http://www.blunk-electronic.de/ET/pdf/caesystemet.pdf
For the Ada people here: the GUI layer is GtkAda, the whole thing is one codebase that has been alive for nine years, and the CLI is not a wrapper around the GUI but the other way round. Happy to answer anything about how that is structured.
r/ada • u/lispLaiBhari • 17d ago
Anything to do with Ada? 'Analysts' on channels were saying systems/flight management software are outdated and need modernization.
r/ada • u/data_in_void • 21d ago
GitHub: https://github.com/bladeacer/adacovex
Docs: https://adacovex.readthedocs.io/en/latest/
Yeah there is a lot of them 😅
Wow it's been almost a month since I last posted on adacovex, here is what went into the time.
The TOML configuration file now comes with an adacovex init helper, this just provides you with the default configuration file you can use to override default flag values/toggle options.
There is also a WIP implementation for compiler-like proof diagnostics. Lets you contextualise gnatprove outputs with suggested fixes, relevant line and details on the errors. Inspired by what gnatprove can already do as well as compiler diagnostics/error messages as seen in Rust/Go and other ecosystems. Better support and documentation for this will come in future updates.
I am also working to improve contextual help text so it feels more cohesive.
Performance, as well as technical debt like the lack of proof coverage will come after critical fixes like making our SBOM less rudimentary. IMO there is a lot I can learn from syft, the gold standard of SBOM tooling.
There are some good first issues on GitHub I will be looking to create. Feel free to create new ones for bugs, proposed features, polish or edge cases I might have missed out on. I believe I have implemented most of what I set out to do pre 2.0.0. The remaining work is polishing up "tooling ergonomics" as well as addressing technical debt and performance.
I am also thinking of creating a Matrix room/Discord server for adacovex if there is any interest. Do let me know :D
As usual the alire release will come later. I also posted about this earlier in the forum.
To think that this started off as a silly idea of mine for improving developer experience for a language I still have a long way to go in. Thank you all for the support all this time ^_^
r/ada • u/Adzvokatix • 23d ago
https://github.com/Adzvokatix/Castle-Game-Engine
Hello, if any of you are interested, here is a medieval colony sim, I am working on. I have completed production of the underlying engine. Everything is a result of procedural generation. Completed so far,
The world | Terrain, Geology, Deposits, Hydrology, Flora, Chunks, Worldgen, Maps
Climate | Seasons, Temperature, Wind, Weather
Rendering | Streaming, Mesher, Textures, Render, Camera, Colors, Currents
The interface | Font, UI, HUD, Input, Views, Pick, Rays (will be redone, rough implementation for production)
Editing and saves | Edits, World_Blocks, Saves
Live water | Fully flowing dynamic water systems
People | Bodies, Poses, Second_Order, Figures, Serfs, Props, Fire
Deer | Deer, Animals, Herds
Routes | Nav, Marks
The colony | Colony, Actions, Scenario
Food and needs
Habitation (prototype) | Buildings, Iso
See to the video, this shows a compilation of alpha stage production milestones and state change comparisons.
Apart from the OpenGL and GLFW bindings (the thin Castle.GL and Castle.GLFW packages that just import the C symbols, plus the -lglfw -lGL link lines), the project has no external libraries. The alire.toml declares no dependencies. The .gpr file pulls in nothing beyond the standard Ada runtime.
What appears in the with clauses is almost entirely the Ada standard library:
Everything else—noise, hydrology, geology, deposits, climate, water simulation, navigation, colony logic, serf bodies and poses, procedural buildings, the edit store, the mesher, the UI, the save format—is code written for this project. There are roughly 64 Castle.* package specs; the bindings to GLFW/GL are two of them.
r/ada • u/Blady-com • 27d ago
SparForte is a scripting language, template language and shell based on Ada and Bourne shell. It has been in development for over 20 years and has about 135,000 lines of code.
SparForte 3 is now available with Alire.
Full announcement on forum.ada-lang.io
r/ada • u/Ok-Cat976 • 28d ago
Hey everyone!
I'm a Software Developer, and I've recently started exploring Ada because of its applications in aerospace, embedded systems, and safety-critical software.
I decided to build a simple CLI Task Manager to get familiar with the language.
The project supports:
Coming from a background in backend development, I'm finding Ada's strong typing and focus on reliability really interesting.
I'm planning to explore more advanced concepts like concurrency, real-time programming, and SPARK.
I'd love to connect with experienced Ada developers, get some feedback, and learn more about real-world applications.
I'm also open to freelance opportunities, small projects, and collaborations involving Ada or general software development.
What would you recommend building next to gain more practical experience with Ada?
r/ada • u/Yossep237 • 29d ago
Cardiovascular diseases are the leading cause of death worldwide. In Africa, their impact has continued to grow over the last two decades.
In light of this, I decided to take on a challenge: to design a portable, connected ECG (electrocardiogram) that would enable anyone to view and monitor changes in their heart activity from the comfort of their own home.
It is important to note that this prototype is not a certified medical device and cannot replace an examination carried out by a healthcare professional. It is, first and foremost, a technological experiment and a learning exercise.
But beyond the device itself, this project has a greater ambition: to demonstrate that it is possible to move from theory to practice, to transform scientific and technical knowledge into concrete solutions that address the challenges facing our continent.
Your feedback is very welcome.
Thanks
r/ada • u/NoHabit1277 • Nov 04 '26
Every habit is a cockpit button. Complete it and the lamp turns green. When everything is green, you’re cleared for takeoff.
This is a small programming experiment: about 1,200 lines of Ada, serving plain HTML and CSS with no JavaScript.
A few things I explored:
• Distinct types for habit IDs and day numbers, so accidentally mixing them fails at compile time.
• Preconditions that reject logging a habit for tomorrow.
• Eight worker tasks handling requests, with a dedicated recorder task serializing changes through rendezvous.
• An append-only, hash-chained event log that rebuilds the state on startup. Editing an old entry locks the panel, although someone could deliberately recompute the hashes.
One early bug had my HTTP parser reading past an array boundary. Getting a range error with a line number was a nice introduction to Ada’s checks.
Source and build instructions: https://github.com/nick-friedrich/ada-preflight
Five-minute walkthrough: https://youtu.be/5ax_a3xQJhE
I’d be interested in feedback from experienced Ada developers, particularly on the tasking structure and whether the contracts are idiomatic.
r/ada • u/thindil • Nov 01 '26
Welcome to the monthly r/ada What Are You Working On? post.
Share here what you've worked on during the last month. Anything goes: concepts, change logs, articles, videos, code, commercial products, etc, so long as it's related to Ada. From snippets to theses, from text to video, feel free to let us know what you've done or have ongoing.
Please stay on topic of course--items not related to the Ada programming language will be deleted on sight!