├── .clang-format ├── .envrc ├── .gitattributes ├── .github ├── dependabot.yml └── workflows │ ├── README.md │ ├── ci.yml │ ├── regenerate.yml │ ├── release.yml │ └── security.yml ├── .gitignore ├── .release-please-manifest.json ├── CHANGELOG.md ├── CLAUDE.md ├── Cargo.toml ├── LICENSE ├── Package.swift ├── README.md ├── binding.gyp ├── bindings ├── node │ ├── binding.cc │ ├── index.d.ts │ └── index.js └── rust │ ├── build.rs │ └── lib.rs ├── cliff.toml ├── flake.lock ├── flake.nix ├── grammar.js ├── package.json ├── release-please-config.json ├── src ├── grammar.json ├── node-types.json ├── parser.c ├── scanner.c └── tree_sitter │ ├── alloc.h │ ├── array.h │ └── parser.h ├── test └── corpus │ ├── account_names_extended.txt │ ├── arithmetic.txt │ ├── arithmetic_extended.txt │ ├── balance_extended.txt │ ├── chinese_characters.txt │ ├── comment.txt │ ├── currencies.txt │ ├── currency_extended.txt │ ├── date_formats.txt │ ├── entry_types.txt │ ├── markdown_orgmode.txt │ ├── metadata.txt │ ├── multi_line.txt │ ├── number_formats.txt │ ├── orgmode_sections.txt │ ├── parse_lots.txt │ ├── parser_include.txt │ ├── parser_links.txt │ ├── parser_options.txt │ ├── parser_plugin.txt │ ├── posting_variations.txt │ ├── push_pop_meta.txt │ ├── push_pop_tag.txt │ ├── string_variations.txt │ ├── tags_links_extended.txt │ ├── transaction.txt │ ├── transaction_flags.txt │ └── ugly_bugs.txt └── tree-sitter.json /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/.clang-format -------------------------------------------------------------------------------- /.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/.github/workflows/README.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/regenerate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/.github/workflows/regenerate.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/security.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/.github/workflows/security.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/.gitignore -------------------------------------------------------------------------------- /.release-please-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | ".": "2.3.3" 3 | } -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/README.md -------------------------------------------------------------------------------- /binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/binding.gyp -------------------------------------------------------------------------------- /bindings/node/binding.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/bindings/node/binding.cc -------------------------------------------------------------------------------- /bindings/node/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/bindings/node/index.d.ts -------------------------------------------------------------------------------- /bindings/node/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/bindings/node/index.js -------------------------------------------------------------------------------- /bindings/rust/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/bindings/rust/build.rs -------------------------------------------------------------------------------- /bindings/rust/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/bindings/rust/lib.rs -------------------------------------------------------------------------------- /cliff.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/cliff.toml -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/flake.nix -------------------------------------------------------------------------------- /grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/grammar.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/package.json -------------------------------------------------------------------------------- /release-please-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/release-please-config.json -------------------------------------------------------------------------------- /src/grammar.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/src/grammar.json -------------------------------------------------------------------------------- /src/node-types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/src/node-types.json -------------------------------------------------------------------------------- /src/parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/src/parser.c -------------------------------------------------------------------------------- /src/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/src/scanner.c -------------------------------------------------------------------------------- /src/tree_sitter/alloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/src/tree_sitter/alloc.h -------------------------------------------------------------------------------- /src/tree_sitter/array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/src/tree_sitter/array.h -------------------------------------------------------------------------------- /src/tree_sitter/parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/src/tree_sitter/parser.h -------------------------------------------------------------------------------- /test/corpus/account_names_extended.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/account_names_extended.txt -------------------------------------------------------------------------------- /test/corpus/arithmetic.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/arithmetic.txt -------------------------------------------------------------------------------- /test/corpus/arithmetic_extended.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/arithmetic_extended.txt -------------------------------------------------------------------------------- /test/corpus/balance_extended.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/balance_extended.txt -------------------------------------------------------------------------------- /test/corpus/chinese_characters.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/chinese_characters.txt -------------------------------------------------------------------------------- /test/corpus/comment.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/comment.txt -------------------------------------------------------------------------------- /test/corpus/currencies.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/currencies.txt -------------------------------------------------------------------------------- /test/corpus/currency_extended.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/currency_extended.txt -------------------------------------------------------------------------------- /test/corpus/date_formats.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/date_formats.txt -------------------------------------------------------------------------------- /test/corpus/entry_types.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/entry_types.txt -------------------------------------------------------------------------------- /test/corpus/markdown_orgmode.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/markdown_orgmode.txt -------------------------------------------------------------------------------- /test/corpus/metadata.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/metadata.txt -------------------------------------------------------------------------------- /test/corpus/multi_line.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/multi_line.txt -------------------------------------------------------------------------------- /test/corpus/number_formats.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/number_formats.txt -------------------------------------------------------------------------------- /test/corpus/orgmode_sections.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/orgmode_sections.txt -------------------------------------------------------------------------------- /test/corpus/parse_lots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/parse_lots.txt -------------------------------------------------------------------------------- /test/corpus/parser_include.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/parser_include.txt -------------------------------------------------------------------------------- /test/corpus/parser_links.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/parser_links.txt -------------------------------------------------------------------------------- /test/corpus/parser_options.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/parser_options.txt -------------------------------------------------------------------------------- /test/corpus/parser_plugin.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/parser_plugin.txt -------------------------------------------------------------------------------- /test/corpus/posting_variations.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/posting_variations.txt -------------------------------------------------------------------------------- /test/corpus/push_pop_meta.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/push_pop_meta.txt -------------------------------------------------------------------------------- /test/corpus/push_pop_tag.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/push_pop_tag.txt -------------------------------------------------------------------------------- /test/corpus/string_variations.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/string_variations.txt -------------------------------------------------------------------------------- /test/corpus/tags_links_extended.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/tags_links_extended.txt -------------------------------------------------------------------------------- /test/corpus/transaction.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/transaction.txt -------------------------------------------------------------------------------- /test/corpus/transaction_flags.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/transaction_flags.txt -------------------------------------------------------------------------------- /test/corpus/ugly_bugs.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/test/corpus/ugly_bugs.txt -------------------------------------------------------------------------------- /tree-sitter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/polarmutex/tree-sitter-beancount/HEAD/tree-sitter.json --------------------------------------------------------------------------------