Skip to content

Treesitter grammar for Pascal and its dialects (Delphi, Freepascal)

License

Notifications You must be signed in to change notification settings

Isopod/tree-sitter-pascal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Treesitter grammar for Pascal and its dialects (Delphi, Freepascal)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages