Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.5 KB

File metadata and controls

36 lines (24 loc) · 1.5 KB

Syslang

Syslang (or slang) is my personal document syntax.

This project was inspired by Geir Isene's HyperList, Org, Markdown, AsciiDoc, and others.

This repository can serve as a reference on how to get started if you want to create your own Tree-sitter grammar, integrate it into your editor (with highlights, folds, syntax injection), and build other standalone software using it.

Reserved Meta Fields

The top-level @meta block stays open-ended, but the Go and JS libraries now treat these keys as reserved helpers:

  • root: absolute project root for code projects
  • archived: boolean archive flag (true or false)

If root is missing, the document is treated as a non-code project for collection filters. archived is always opt-in at the caller level; the libraries expose helpers and explicit filter utilities instead of hiding documents implicitly.

Example:

@meta
  title: Syslang
  root: /home/rabbit/brain/core/syslang
  archived: false
@end

Demo

slang.mp4