1
0
Fork
You've already forked gemini-data-parser
0
No description
  • Rust 100%
2026年01月19日 12:08:07 +00:00
src More tweaks to tests 2025年12月20日 22:48:35 +00:00
.gitignore Initial files 2025年12月19日 21:35:42 +00:00
Cargo.lock Initial files 2025年12月19日 21:35:42 +00:00
Cargo.toml Initial files 2025年12月19日 21:35:42 +00:00
LICENSE Adding license 2025年12月19日 21:43:45 +00:00
README.md Updated docs 2026年01月19日 12:08:07 +00:00

Gemini data parser

Overview

This might be a silly idea but I was thinking about data transfer and simple applications and wondered if a data format that was just based on Markdown (in the same way Gemtext is) might be a Good Thing(tm).

For example:

# top
This is a comment because we are looking for special characters for object and field indictaors so we can put any other text in the data and it will just get ignored
* field1: "hello"
* field2: 123
* field3: 133.456
* field4: true
## Level2 - 1
### Level3 - 1
__NOTE:__ Can even add notes as comments too, with formatting
### Level3 - 2
## Level2 - 2
* field2.1: "Long text"
* field2.3: "Escape CRLF\n\r"

Notes

Creating a new library

Running these commands

cd gemini-data-parser
cargo init --lib --name gemdata .

Emacs Rust Setup

  • Installing operating system packages
apk add rust-analyzer tree-sitter
apk add tree-sitter-toml tree-sitter-go tree-sitter-python tree-sitter-rust
apk add tree-sitter-xml tree-sitter-regex tree-sitter-ruby
  • Installing these packages Emacs
    • tree-sitter
    • rustic
    • lsp-mode
    • company
    • yasnippet
    • flycheck
  • Using M-x package-refresh-contents first
  • Then M-x package-install <package name> to install each package

References

Rust

Emacs

Helix

Tree Sitter