3rd/syslang

Syslang is an opinionated document syntax inspired by Org, Markdown, and HyperLists.

24

stars

99

commits

Go

primary language

Jul 16, 2026

updated

README

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

https://user-images.githubusercontent.com/59587503/235466035-5c30a393-ac33-498f-9da9-4d3b1d87c415.mp4

Contributors

3rd

99 commits

3rd/syslang

Syslang is an opinionated document syntax inspired by Org, Markdown, and HyperLists.

24

stars

99

commits

Go

primary language

Jul 16, 2026

updated

README

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

https://user-images.githubusercontent.com/59587503/235466035-5c30a393-ac33-498f-9da9-4d3b1d87c415.mp4

Contributors

3rd

99 commits

Languages

Go

47.7%

C

21.3%

JavaScript

15.6%

TypeScript

6.9%

Tree-sitter Query

6.3%

Nix

1.2%