Grammar is taken from repository [ton-community/vscode-func](https://github.com/ton-community/vscode-func).
npm install @scaleton/tree-sitter-funcGrammar is taken from repository ton-community/vscode-func.
``typescript
import Parser from 'web-tree-sitter';
import { loadFunC } from '@scaleton/tree-sitter-func';
/ ... /
await Parser.init();
const parser = new Parser();
parser.setLanguage(await loadFunC());
/ ... /
const { rootNode } = parser.parse('() recv_internal() {}');
``
* akifoq
* dvlkv
* NickNekilov