Skip to main content

axe_parser/
lib.rs

1//! Parsers for AXE canonical format and vendor-specific formats.
2//!
3//! Handles both forward parsing (AXE SKILL.md → IR) and reverse
4//! parsing (vendor format → IR) for the `axe compat` workflow.
5
6#![forbid(unsafe_code)]
7
8pub use axe_ir;
9
10/// Parse an AXE-format SKILL.md into the IR.
11///
12/// # Errors
13///
14/// Returns an error if the frontmatter is missing required fields
15/// or the `axe-version` is unsupported.
16pub fn parse(_input: &str) -> Result<axe_ir::Extension, String> {
17    Err("not yet implemented".into())
18}