Skip to content

Tree-sitter grammar for Pascal and its dialects (Delphi, Free Pascal)

License

Notifications You must be signed in to change notification settings

ObjectPascal-Community/tree-sitter-pascal

 
 

Repository files navigation

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)

About

Tree-sitter grammar for Pascal and its dialects (Delphi, Free Pascal)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.5%
  • JavaScript 1.0%
  • Scheme 0.2%
  • Makefile 0.1%
  • Rust 0.1%
  • Python 0.1%