The module reads grammars/bjolang from beside its src/, found from its own DLL. Declared with (resources "grammars"), bjo publish copies it to the same place relative to the module, and a published program highlights Bjolang. Version 0.1.1. 🤖 Generated with [ECA](https://eca.dev) (anthropic/claude-opus-5-5) Co-Authored-By: eca-agent <git@eca.dev>
20 lines
825 B
Text
20 lines
825 B
Text
(package
|
|
(name (textmate-bjolang))
|
|
(version "0.1.1")
|
|
(description "Syntax highlighting for Bjolang: VS Code's TextMate grammars and themes, through TextMateSharp, as (text xml) nodes.")
|
|
(license "MPL-2.0")
|
|
|
|
;; TextMateSharp (MIT) runs the grammars; its Grammars package carries VS
|
|
;; Code's grammars and themes, and pulls in Onigwrap, the Oniguruma regex
|
|
;; engine as a native library. Kept within 2.0: the token colours are
|
|
;; decoded with a class in TextMateSharp's Internal namespace, which a
|
|
;; minor version may change.
|
|
(packages
|
|
(nuget (id "TextMateSharp.Grammars") (version "[2.0.4,2.1)")))
|
|
|
|
;; Bjolang's own grammar, read at run time from beside src/. Declared so
|
|
;; that bjo publish copies it along with the module.
|
|
(resources "grammars")
|
|
|
|
;; A library: there is no src/main.bjo.
|
|
)
|