|
1 | | -;; SPDX-License-Identifier: PMPL-1.0-or-later |
2 | | -;; Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk> |
3 | | -;; META.a2ml — Meta-level information for julianiser |
4 | | - |
5 | | -(meta |
6 | | - (version "0.1.0") |
7 | | - (last-updated "2026-03-21") |
8 | | - |
9 | | - (architecture-decisions |
10 | | - (adr "001-iser-pattern" |
11 | | - (status "accepted") |
12 | | - (context "Need to make Julia's performance accessible without requiring scientists to learn Julia") |
13 | | - (decision "Use manifest-driven code generation: user describes WHAT to julianise, tool generates Julia") |
14 | | - (consequences "Users write zero Julia code; all complexity in julianiser; gradual function-by-function adoption")) |
15 | | - |
16 | | - (adr "002-abi-ffi-standard" |
17 | | - (status "accepted") |
18 | | - (context "Need verified interop between Rust CLI, Python/R parsers, and Julia codegen") |
19 | | - (decision "Idris2 ABI for formal proofs (SourceLanguage, DataFrameOp, ArrayPattern, JuliaType, EquivalenceWitness), Zig FFI for C-ABI bridge") |
20 | | - (consequences "Compile-time correctness guarantees for source-to-Julia translation; zero runtime overhead")) |
21 | | - |
22 | | - (adr "003-index-remapping-proof" |
23 | | - (status "accepted") |
24 | | - (context "Python uses 0-based indexing, Julia uses 1-based — array slicing correctness is critical") |
25 | | - (decision "Formal IndexRemapCorrect proof in Idris2 Types.idr guarantees n -> n+1 mapping") |
26 | | - (consequences "Slicing operations provably correct; eliminates off-by-one class of bugs entirely")) |
27 | | - |
28 | | - (adr "004-supported-patterns" |
29 | | - (status "accepted") |
30 | | - (context "Need a defined scope for what julianiser can translate") |
31 | | - (decision "pandas->DataFrames.jl, numpy->Julia arrays, scipy->Julia stdlib, matplotlib->Plots.jl, R data.frame->DataFrames.jl") |
32 | | - (consequences "Clear scope prevents feature creep; each pattern has defined equivalence semantics")) |
33 | | - |
34 | | - (adr "005-rsr-template" |
35 | | - (status "accepted") |
36 | | - (context "Need consistent project structure across 29+ -iser repos") |
37 | | - (decision "All repos cloned from rsr-template-repo with full CI/CD and governance") |
38 | | - (consequences "17 workflows, SECURITY.md, CONTRIBUTING, bot directives from day one"))) |
39 | | - |
40 | | - (development-practices |
41 | | - (language "Rust" (purpose "CLI orchestration, manifest parsing, codegen engine")) |
42 | | - (language "Idris2" (purpose "ABI formal proofs — SourceLanguage, DataFrameOp, ArrayPattern, JuliaType, EquivalenceWitness, IndexRemapCorrect")) |
43 | | - (language "Zig" (purpose "FFI C-ABI bridge — Python/R parsing dispatch, Julia codegen interop, benchmark harness")) |
44 | | - (language "Julia" (purpose "Target output language — generated, never hand-written in this repo")) |
45 | | - (build-tool "cargo") |
46 | | - (ci "GitHub Actions (17 workflows)")) |
47 | | - |
48 | | - (design-rationale |
49 | | - (principle "Manifest-driven" |
50 | | - (explanation "User intent captured in julianiser.toml; generation is deterministic and reproducible")) |
51 | | - (principle "Formally verified translation" |
52 | | - (explanation "Idris2 EquivalenceWitness proofs guarantee source-to-Julia semantic preservation")) |
53 | | - (principle "Zero Julia exposure" |
54 | | - (explanation "Scientists keep their Python notebooks and R scripts; Julia runs underneath transparently")) |
55 | | - (principle "Gradual adoption" |
56 | | - (explanation "Julianise one function at a time, benchmark each, roll back if needed")))) |
| 1 | +# SPDX-License-Identifier: PMPL-1.0-or-later |
| 2 | +# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk> |
| 3 | +# |
| 4 | +# META.a2ml — Julianiser meta-level information |
| 5 | +[metadata] |
| 6 | +version = "0.1.0" |
| 7 | +last-updated = "2026-03-21" |
| 8 | + |
| 9 | +[project-info] |
| 10 | +license = "PMPL-1.0-or-later" |
| 11 | +author = "Jonathan D.A. Jewell (hyperpolymath)" |
| 12 | + |
| 13 | +[architecture-decisions] |
| 14 | +decisions = [ |
| 15 | + # No ADRs recorded |
| 16 | +] |
| 17 | + |
| 18 | +[development-practices] |
| 19 | +versioning = "SemVer" |
| 20 | +documentation = "AsciiDoc" |
| 21 | +build-tool = "just" |
| 22 | + |
| 23 | +[maintenance-axes] |
| 24 | +scoping-first = true |
| 25 | +axis-1 = "must > intend > like" |
| 26 | +axis-2 = "corrective > adaptive > perfective" |
| 27 | +axis-3 = "systems > compliance > effects" |
0 commit comments