|
From: | Gregory Heytings |
Subject: | Re: Tree-sitter introduction documentation |
Date: | Thu, 29 Dec 2022 17:04:19 +0000 |
but it appears that it should be possible for them to also load arbitrary node.js libraries as wellIndeed, grammar authors are not limited to the standard Node.js API, they can import other libraries. For example, tree-sitter-toml requires the regexp-util library.The shared library I built for tree-sitter-toml has no such dependency.
That (Node.js) library is needed only to produce the parser.c file.
[Prev in Thread] | Current Thread | [Next in Thread] |