https://github.com/isopod/tree-sitter-pascal
Treesitter grammar for Pascal and its dialects (Delphi, Freepascal)
https://github.com/isopod/tree-sitter-pascal
delphi freepascal pascal tree-sitter
Last synced: 12 months ago
JSON representation
Treesitter grammar for Pascal and its dialects (Delphi, Freepascal)
- Host: GitHub
- URL: https://github.com/isopod/tree-sitter-pascal
- Owner: Isopod
- License: mit
- Created: 2021-11-27T10:05:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-02-19T22:59:36.000Z (about 1 year ago)
- Last Synced: 2025-04-12T23:06:10.095Z (12 months ago)
- Topics: delphi, freepascal, pascal, tree-sitter
- Language: JavaScript
- Homepage:
- Size: 5.83 MB
- Stars: 46
- Watchers: 5
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-pascal
Grammar for Pascal and its dialects Delphi and Freepascal.
## Supported language features
- Classes, records, interfaces, class helpers
- Nested declarations
- Variant records
- Generics (Delphi- & FPC flavored)
- Anonymous procedures & functions
- Inline assember (but no highlighting)
- Extended RTTI attributes
- FPC PasCocoa extensions
## Tree-sitter features:
- Syntax highlighting
- Scopes
## Screenshots
(using nvim-treesitter)



