stadelmanma / tree-sitter-fortran

Fortran grammar for tree-sitter
MIT License
30 stars 15 forks source link

Support derived types #22

Closed stadelmanma closed 6 years ago

stadelmanma commented 6 years ago

Adds support for user defined type definitions and variable declarations. Additionally, I fixed an oversight when dealing with Fortran operators that use the literal . character not being escaped in my regexp patterns. Lastly, this PR also adds support for number literals that use an underscore + variable name to define custom precisions, i.e. (123_FB).

Fixes #6