initial commit

This commit is contained in:
Michael Sippel 2025-05-06 19:46:05 +02:00
commit 1bc48ec335
Signed by: senvas
GPG key ID: F96CF119C34B64A6
8 changed files with 44 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
grammars

15
extension.toml Normal file
View file

@ -0,0 +1,15 @@
id = "laddertypes"
name = "Ladder-Types"
version = "0.0.1"
schema_version = 1
authors = ["Michael Sippel <senvas@exobiont.de>"]
description = "Laddertypes Extension for Zed"
repository = "https://forge.exobiont.de/syntaxAlchemist/zed-laddertypes"
[grammars.laddertypes]
repository = "https://forge.exobiont.de/syntaxAlchemist/tree-sitter-laddertypes"
commit = "64174054ad80d82217feb47e6e9ba700d473659d"
[grammars.morphismbase]
repository = "https://forge.exobiont.de/syntaxAlchemist/tree-sitter-morphismbase"
commit = "561059224e6eb52d45de4364e58416b3cb3937e0"

View file

@ -0,0 +1,4 @@
("[" @open "]" @close)
("(" @open ")" @close)
("{" @open "}" @close)
("<" @open ">" @close)

View file

@ -0,0 +1,6 @@
name = "Ladder-Types"
grammar = "laddertypes"
path_suffixes = ["lt"]
line_comments = []
tab_size = 4
hard_tabs = false

View file

@ -0,0 +1,3 @@
[ "Seq" "Struct" "Enum" "-->" "-morph->" "∀" "." ] @keyword
[ "{" "}" "(" ")" "[" "]" "<" ">" ] @punctuation.bracket
[ "~" ] @operator

View file

@ -0,0 +1,5 @@
("[" @open "]" @close)
("(" @open ")" @close)
("{" @open "}" @close)
("<" @open ">" @close)
("```" @open "```" @close)

View file

@ -0,0 +1,6 @@
name = "Morphism Base"
grammar = "morphismbase"
path_suffixes = ["morphism-base"]
line_comments = []
tab_size = 4
hard_tabs = false

View file

@ -0,0 +1,4 @@
[ ] @keyword
[ "-->" ] @punctuation.delimiter
[ "```" "(" ")" ] @punctuation.bracket