|
||
---|---|---|
src | ||
test | ||
.envrc | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.org | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
rustfmt.toml | ||
shell.nix |
README.org
arroyo-rs is an org-mode document parser for Python and Rust
arroyo-rs
is an org-mode parser library for The Arcology Project. It exposes a simple interface to the Rust Orgize library, wrapped in pyo3 bindings to be accessible from Python. Most of the Org-mode parsers I've looked at so far lack certain features or parsing capabilities that would make it difficult or impossible to implement Arroyo and the Arcology Project.
This package exports two public functions and a handful of types:
arroyo_rs.parse_file(path: str) -> Document
arroyo_rs.export_html(path: str) -> str
(This hasn't been implemented yet and the shape of it might change, for example adding DB-backed link rewriting for the Arcology)- and types which map to the Arcology Project's database types.
Further Work Tasks
NEXT source code block extraction & babel execution?
how wild would it be to have a little wasm environment in the rust to execute code blocks? at the very least i want to build a tangler and some Python modules to populate Arroyo code generators.