> ## Content Index
> Fetch the complete content index at: https://www.sakashita.page/llms.txt
> Use this file to discover other available public pages before exploring further.

# 青空文庫のParser
- URL: https://www.sakashita.page/aozora-pure-rust-parser/
- Published: 2026-07-21T23:00:48.000Z
- Updated: 2026-07-22T20:24:22.000Z
- Author: Sakashita Yasunobu
- Tags: 技術

青空文庫のParserを作ってます。

[GitHub - P4suta/aozora: Pure-functional Rust parser for 青空文庫記法 (Aozora Bunko notation): ルビ, 傍点, 縦中横, 外字, 返り点, indent containers, page breaks.Pure-functional Rust parser for 青空文庫記法 (Aozora Bunko notation): ルビ, 傍点, 縦中横, 外字, 返り点, indent containers, page breaks. - P4suta/aozora![](https://storage.ghost.io/c/94/1f/941f9972-ad5c-4231-a438-ca329c85433f/content/images/icon/favicon-5f756e55-3bc2-4dbd-952a-0bae60ae7856.svg)GitHubP4suta![](https://storage.ghost.io/c/94/1f/941f9972-ad5c-4231-a438-ca329c85433f/content/images/thumbnail/aozora-29954ca2-1bf4-41cc-b9fc-d2034a990d7b)](https://github.com/P4suta/aozora)

Rustで作ってますが、配布物はcargoのほかにnpm/pypiでも入手できます

## Documentation

- [Playground](https://p4suta.github.io/aozora/playground/) — try it in the browser
- [API reference](https://docs.rs/aozora)
- [Notation specification](https://p4suta.github.io/aozora-notation-spec/) — the normative spec this parser is tested against

## 雑記

epubへの変換や既存のテクストを解釈するだけのシステムなら既に様々存在しています。

本プロジェクトでは、仕様の再策定から行い、今後の青空文庫コーパスの作成に役立てられるような基盤を提供したいと考えています。

LSP/Linter/Formatterなども提供しています。

今後の青空文庫の発展を願って。