Build behaviour (Flow-Driven Development)
Programming languages
What works in which programming language: anchors and highlighting in all of them, plus code generation, code impact, API routes, security rules and code snippets.
Every language
Every language below gets the basics: FDD: anchors in its own comments (so code impact and rabbinatix status see the code), its test files told apart, and highlighting. For anything a language doesn't have below, your AI assistant reads and writes every language: AI assistant or CLI.
An anchor is a comment above the code that implements a logic or one of its steps, written with the language's own comment:
LOGIC-… marks the code of a logic at a revision (r9); NODE-… marks one of its steps. Files generated by Rabbinatix carry their logic and revision in their first line instead.
What works where
- Code generation: the Code panel and
rabbinatix generate. TypeScript is verified in the browser; Python is verified on your machine withrabbinatix verify(needs Python 3.10+); C# is verified on your machine withrabbinatix verify(needs .NET 8 SDK); Java is verified on your machine withrabbinatix verify(needs JDK 21); Go is verified on your machine withrabbinatix verify(needs Go 1.22+); Kotlin is verified on your machine withrabbinatix verify(needs Kotlin 1.9+ (kotlinc) with a JDK); Swift is verified on your machine withrabbinatix verify(needs Swift 5.9+); Dart is verified on your machine withrabbinatix verify(needs Dart 3+); PHP is verified on your machine withrabbinatix verify(needs PHP 8.1+ with mbstring); Ruby is verified on your machine withrabbinatix verify(needs Ruby 3.1+); Rust is verified on your machine withrabbinatix verify(needs Rust 1.70+ (rustc)). - Code impact follows calls:
rabbinatix impactfollows a changed line through the functions that call it, to the nearest anchor or route. In other languages it uses the anchors in the changed file. - API routes read: the frameworks whose route declarations code impact and
rabbinatix statusread: Express, NestJS, Fastify, Hono, Koa (koa-router), Next.js (route handlers, pages/api), ASP.NET Core (controllers, minimal APIs), Spring, JAX-RS (Jakarta REST), Ktor, FastAPI, Flask, Django (urls.py, Django REST framework routers), Go net/http (and gorilla/mux), Gin, Echo, chi, Fiber, Ruby on Rails (config/routes.rb), Sinatra, Laravel, Symfony (#[Route]), axum, actix-web, Rocket, Vapor, shelf_router, Dart Frog. Where a route names the function that handles it (Django, Go net/http, Gin, Echo, chi, Fiber, Ruby on Rails, Laravel, axum, actix-web, Vapor, shelf_router), a change anywhere in that function counts as a change to the route, in whichever file the function is. - API calls read: the HTTP clients whose calls code impact reads. A changed call, or a changed line in the function that makes it, reaches the API your system calls and that API's contract. A Retrofit, Feign or Refit interface method counts wherever your code calls it. A web address held entirely in a variable can't be read.
- Security rules: the built-in rules of
rabbinatix scan. For phone apps they also readInfo.plist,AndroidManifest.xmland the Android resource files: certificate checks turned off, unencrypted HTTP allowed, keys in the app, and tokens kept in plain app storage. Secrets are looked for in every file, and vulnerable dependencies in every lock file OSV-Scanner reads ; aPodfile.lockis checked pod by pod through each pod's source repository, which covers pods written in Swift (Objective-C-only pods rarely have published advisories). - Code snippets: how to send a request, in Test APIs (Copy as) and for health signals: cURL, JavaScript / TypeScript, Python, C#, Java, Kotlin, Go, PHP, Ruby, Rust, Swift, Dart. Each uses only the language's own library, except Rust, which uses
reqwest.
Related
- Code generationSee the code for a logic as you build it, take it away as files, and check it returns what the test cases returned.
- Code impact: what a change affectsCheck a code change against the map: a pull request in your pipeline, any two branches or commits, or your AI assistant's own work. Which logic, flows and contracts it reaches, which test cases to run, and whether the map still says what the code does.
- Security checksFind the usual API security mistakes in your design and your code: an API that changes data without sign-in, a password in a response, a token in the URL.
- AI assistant or CLI: which does whatWhere your AI assistant works and where the rabbinatix CLI works, the rules between them, and every feature that touches code.
- The rabbinatix CLIEvery rabbinatix command: what it does, what it sends, the token it needs and how it ends, for your terminal and your CI.
