https://github.com/zwpaper/tree-sitter-beancount
https://github.com/zwpaper/tree-sitter-beancount
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/zwpaper/tree-sitter-beancount
- Owner: zwpaper
- License: mit
- Created: 2022-01-11T05:55:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-01T14:16:57.000Z (over 4 years ago)
- Last Synced: 2025-01-22T17:45:33.487Z (over 1 year ago)
- Language: C
- Size: 318 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tree Sitter for Beancount
[Beancount](https://github.com/beancount/beancount) grammar for [Tree Sitter](https://github.com/tree-sitter/tree-sitter).
## Development
Install the dependencies:
```sh
npm install
```
Build and run the tests:
```sh
npm test
```
## TODOs
- [ ] Transaction Amount support `( ) * / - +`
- [ ] [Query](https://beancount.github.io/docs/beancount_language_syntax.html#query)
- [ ] Metadata value support Date
- [ ] [Open Booking
Method](https://beancount.github.io/docs/beancount_language_syntax.html#open)
- [ ] [Attach flags to the transaction
postings](https://beancount.github.io/docs/beancount_language_syntax.html#transactions)
- [ ] (Low) For legacy reasons, a pipe symbol (“|”) is accepted between those strings (but this will be removed at some point in the future)
## Reference
[Beancount Language
Syntax](https://beancount.github.io/docs/beancount_language_syntax.html)
[Beancount Cheat
Sheet](https://beancount.github.io/docs/beancount_cheat_sheet.html)