Skip to content

Commit bbc5793

Browse files
committed
Add sponsor badge
1 parent eca2d3b commit bbc5793

1 file changed

Lines changed: 60 additions & 0 deletions

File tree

README.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
[![Sponsor](https://img.shields.io/badge/Sponsor-%E2%9D%A4-pink?logo=github)](https://github.com/sponsors/hyperpolymath)
2+
3+
// SPDX-License-Identifier: MPL-2.0
4+
// (MPL-2.0 preferred; MPL-2.0 required for Hex.pm ecosystem)
5+
6+
= a2ml_gleam
7+
:toc: preamble
8+
:icons: font
9+
10+
image:https://api.securityscorecards.dev/projects/github.com/hyperpolymath/a2ml_gleam/badge[OpenSSF Scorecard,link="https://securityscorecards.dev/viewer/?uri=github.com/hyperpolymath/a2ml_gleam"]
11+
12+
A2ML (AI Attestation Markup Language) parser and renderer for Gleam.
13+
14+
== Overview
15+
16+
A pure Gleam library for parsing, manipulating, and rendering A2ML documents.
17+
A2ML is a lightweight markup language for expressing AI attestations, trust
18+
levels, and verification metadata.
19+
20+
== Features
21+
22+
* Full A2ML parser with error reporting
23+
* Renderer for A2ML document output
24+
* Trust level handling (Unverified, Automated, Reviewed, Verified)
25+
* Attestation and directive support
26+
* Manifest extraction
27+
* Roundtrip fidelity (parse then render preserves structure)
28+
29+
== Installation
30+
31+
[source,sh]
32+
----
33+
gleam add a2ml_gleam
34+
----
35+
36+
== Usage
37+
38+
[source,gleam]
39+
----
40+
import a2ml_gleam/parser
41+
import a2ml_gleam/renderer
42+
43+
let assert Ok(doc) = parser.parse("# My Document\n\n@version 1.0")
44+
let output = renderer.render(doc)
45+
----
46+
47+
== Testing
48+
49+
[source,sh]
50+
----
51+
gleam test
52+
----
53+
54+
Wondering how this works? See link:EXPLAINME.adoc[].
55+
56+
== License
57+
58+
SPDX-License-Identifier: MPL-2.0 +
59+
(MPL-2.0 preferred; MPL-2.0 required for Hex.pm ecosystem) +
60+
See link:LICENSE[LICENSE].

0 commit comments

Comments
 (0)