Rewriting Arroyo/Arcology org-mode parser -> DB generator in Rust
 
 
 
Go to file
Ryan Rix 214d1c8c8e simplify the check derivation to its minimum 2023-10-22 23:33:48 -07:00
src fix a bug that the test revealed 2023-10-22 22:46:41 -07:00
test add simple functional tests, parsing the readme 2023-10-22 22:43:40 -07:00
.envrc splat out a orgize parser 2023-06-14 11:51:48 -07:00
.gitignore add simple functional tests, parsing the readme 2023-10-22 22:43:40 -07:00
Cargo.lock update transitive dep 2023-10-22 21:52:18 -07:00
Cargo.toml it's arroyo.rs now 2023-10-21 16:28:26 -07:00
README.org add simple functional tests, parsing the readme 2023-10-22 22:43:40 -07:00
default.nix flakeify -- im sure i wont regret this 2023-10-22 21:52:18 -07:00
flake.lock flakeify -- im sure i wont regret this 2023-10-22 21:52:18 -07:00
flake.nix simplify the check derivation to its minimum 2023-10-22 23:33:48 -07:00
rustfmt.toml integrate tokio::main 2023-10-12 15:46:00 -07:00
shell.nix Disable remote builders in flake builds 2023-10-22 23:24:42 -07:00

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.