Skip to content
Languages / Languages

Languages

Markdown

The 105 languages, formats and engines Atracode compiles, grouped into seven kinds, and the reference each one is checked against.

Atracode compiles 105 languages, formats and engines into one Semantic Execution Graph (SEG). Every front end lowers to the same graph, so a program gets the same RAVEN hash whichever language it was written in, as long as it computes the same thing.

What’s covered

KindCountHow it’s handled
Programming languages65Compiled to the graph and checked bit for bit against each language’s own compiler or interpreter.
Query and data languages10Atracode stands in for the engine, so queries run with no database server or cluster.
Data and configuration formats18Every document becomes a hashable object, and decoding it is checked against the reference implementation.
Markup, templates and the web6Rendered and resolved the same way every time, with no browser or template server.
Graphics and 3D2Meshes and textures decoded exactly, so every device sees the same data.
Protocols and infrastructure3Wire protocols and server configuration compiled to graphs you can check.
ML artifacts1Model metadata checked like code.

Programming language styles

Each programming language has a style, which says how its semantics are lowered into the graph.

StyleHow it is lowered
SystemsLowered through the memory membrane, with every integer width and pointer operation exact.
ManagedJVM and .NET semantics reproduced exactly.
FunctionalFull algebraic and lazy semantics.
ApplicationModern app languages with checked and wrapping arithmetic.
DynamicLowered via bounded adaptation into exact type-specialized dispatch.
ScientificNumeric and array semantics, including every rounding mode, reproduced exactly.
LegacyMainframe and enterprise modernization with exact decimal arithmetic.
LogicResolution, unification and backtracking in reference order.
Low-levelEach instruction lowered to its exact effect on registers and memory.
HardwareExact cycle-by-cycle simulation with no external simulator.

Checked against the reference

Every front end is checked against the toolchain or implementation people already trust for it. Atracode compiles a program, the reference (for example rustc, GHC 9.6.6, GnuCOBOL 3.1.2 or PostgreSQL) runs the same program, and both are run over large input sweeps. Output and memory have to agree bit for bit before the result counts as verified. The “Checked against” column below names that reference for each entry. Verification describes the process in full.

Some front ends have published figures from these sweeps, such as 10,809 identity checks for Rust, 7,639 cases with zero disagreements for OCaml, and 4,020 cases with zero disagreements for COBOL. Each language page lists the figures that apply to it.

Engines and formats

Most of the entries that aren’t programming languages normally need an engine to run: a database server for SQL and its dialects, a browser for HTML and CSS, a template server for Jinja or Liquid, a simulator for Verilog, a library for every data format. For these, Atracode replaces the engine itself:

  • Queries in SQL, PostgreSQL, DuckDB, Spark SQL, Cypher, SPARQL, MongoDB MQL, Redis and GraphQL lower to a deterministic, content-addressed query engine, with no server or cluster.
  • HTML, CSS, Markdown and templates render the same way every time, independent of any browser.
  • Data and configuration formats, from JSON to Apache Arrow and Nix, become hashable objects with a verified decode.
  • Kafka’s wire protocol and Nginx and Apache httpd routing compile to graphs, so you can prove where every request goes.

The result is a SEG like any other, so it has a RAVEN hash and runs on the runtime.

Dynamic languages

Dynamic languages such as Python, JavaScript and Ruby decide types at run time. Atracode handles them with bounded adaptation: it works out the types each operation can actually see and lowers them into exact, type-specialized dispatch in the graph. Dynamic arithmetic, collections, dispatch and control flow all compile this way.

Some constructs depend on the outside world: reading the clock, the network or an environment variable, for example. The compiler cannot check these bit for bit, so it refuses them at their exact location instead of approximating:

refused  Rotate-Log.ps1:12:9  reads Get-Date, which differs on every run
  hint: pass the timestamp in as a parameter and compile again

Pass the value in as an input and compile again. Refusals explains how to read and fix them.

Everything Atracode compiles

Programming languages (65)

LanguageStyleChecked against
CSystemszig cc (clang)
C++Systemszig c++ (C++20)
RustSystemsrustc
GoSystemsGo 1.24.5 (go run)
ZigSystemsZig 0.17.0
DSystemsDMD / LDC
VSystemsV compiler
NimSystemsNim compiler
OdinSystemsNative Odin compiler
JavaManagedJDK 21 (javac / java)
C#Managed.NET 8 SDK
KotlinManagedkotlinc / JVM
ScalaManagedScala 3 compiler
VB6ManagedVB compiler
VB.NETManagedVB compiler
HaskellFunctionalGHC 9.6.6
OCamlFunctionalOCaml 4.14.1
F#Functional.NET SDK
ElmFunctionalElm compiler
PureScriptFunctionalpurs
ReScriptFunctionalReScript compiler
ElixirFunctionalElixir on the BEAM
ErlangFunctionalErlang/OTP
GleamFunctionalGleam on the BEAM
ClojureFunctionalClojure
Common LispFunctionalSBCL
SchemeFunctionalChez Scheme
RacketFunctionalRacket
SwiftApplicationSwift 6
DartApplicationdart run
CrystalApplicationCrystal compiler
SolidityApplicationsolc and the EVM
GroovyDynamicGroovy
Objective-CDynamicReference engine
SmalltalkDynamicReference engine
PythonDynamicCPython
RubyDynamicRuby interpreter
PerlDynamicPerl interpreter
PHPDynamicPHP interpreter
LuaDynamicLua interpreter
JavaScriptDynamicNode.js
TypeScriptDynamicNode.js
ActionScriptDynamicReference engine
ColdFusionDynamicReference engine
VBADynamicReference engine
PowerShellDynamicPowerShell 7
TclDynamictclsh
AWKDynamicgawk
jqDynamicjq
MojoScientificMojo SDK
RScientificR interpreter
JuliaScientificJulia
MATLABScientificReference engine
NumPyScientificNumPy on CPython
FortranScientificgfortran
AdaLegacyGNAT
PascalLegacyFree Pascal
COBOLLegacyGnuCOBOL 3.1.2
MUMPSLegacyReference engine
ABAPLegacyReference engine
PrologLogicSWI-Prolog (swipl)
Assembly (x86-64 and ARM64)Low-levelNative execution
LLVM IRLow-levelLLVM lli
WebAssembly (WAT)Low-levelReference interpreter
VerilogHardwareReference simulator

Query and data languages (10)

NameChecked against
SQLSQLite
PostgreSQLPostgreSQL
DuckDB SQLDuckDB
Spark SQLApache Spark
CypheropenCypher reference
SPARQLW3C SPARQL reference
MongoDB MQLMongoDB
RedisRedis
GraphQLGraphQL reference implementation
Kubeflow PipelinesKubeflow Pipelines SDK

Data and configuration formats (18)

NameChecked against
JSONReference library
XMLReference parser
YAMLReference parser
TOMLReference parser
CSVReference library
CBORReference implementation
BSONReference implementation
MessagePackReference implementation
AvroApache Avro
ThriftApache Thrift
Protocol Buffersprotoc
ORCApache ORC
ParquetReference library
Apache Arrow IPCApache Arrow
HCLHashiCorp HCL
DockerfileBuildKit parser
NixNix evaluator
StarlarkStarlark reference interpreter

Markup, templates and the web (6)

NameChecked against
HTMLReference parser
CSSReference style resolution
MarkdownCommonMark reference
JinjaJinja2
LiquidLiquid reference
Handlebarshandlebars.js

Graphics and 3D (2)

NameChecked against
3D meshes (glTF, OBJ, STL, PLY)Reference loaders
GPU texture codecs (KTX2, Basis, Draco)Reference encoders and decoders

Protocols and infrastructure (3)

NameChecked against
Kafka wire protocolApache Kafka
Nginx confignginx
Apache httpd configApache httpd

ML artifacts (1)

NameChecked against
MLflow model signaturesMLflow

Next steps

esc

Type to search titles, headings and text.