tree-sitter-fortran
Fortran grammar for tree-sitter
0.6.0
1.5M downloads/mo
#3856 most downloaded on PyPI
stadelmanma/tree-sitter-fortran
What this package is like to depend on
Last release 4 months ago
24 Apr 2026
Ships unpredictably
gaps range from 2 weeks to 1.1 years
This project publishes no release notes
the list below is its commits, not an announcement
Nothing withdrawn
no release was ever pulled
2 years old
8 releases · first in 2024
1 release in the last 12 months
see the full history below
Release timeline
8 releases · Aug 2024 to Apr 2026Releases
latest 8-
0.6.024 Apr 2026Commits, not release notes
This project publishes no release notes. Between
v0.5.1andv0.6.0there were 123 commits, 87 of them substantive:- Ensure consistent
tree-sitterversion - Run
npm audit fix - Add shortcuts to common
npxcommands - Add setup and usage instructions
- Run publish jobs on upstream only
- Split the aliasing of
endstatements - Bump tree-sitter version and regenerate
- Fix warning in scanner
- Fix string literals immediately followed by line continuation
- Fix more keyword/identifier clashes
- Add
deallocateandnullifystatements - Add
flushandwait - Fix clash between
formatandcall_expression - Add Cray pointers
- Add
operator_namenode to genericoperator - Fix catching number literals immediately followed by
& - Add expressions and statements as supertypes
- Add
_argument_itemas a supertype - Add
_specification_partsas supertype - Small optimisation of supertypes
…and 67 more.
- Ensure consistent
-
0.5.117 Mar 2025Commits, not release notes
This project publishes no release notes. Between
v0.5.0andv0.5.1there were 11 commits, 9 of them substantive:- Allow
includestatements anywhere - Allow more keywords as identifiers
- Fix bug with line continuations immediately after string literal
- Fix bug with semicolons after
enum - Fix bug with preprocessor
#ifin specification part - Revert "Allow
includestatements anywhere" - Better fix for
includestatements - Allow old-style
character_lengthinsized_declarator - Fix another edge case for
include
- Allow
-
0.5.002 Mar 2025Commits, not release notes
This project publishes no release notes. Between
v0.4.0andv0.5.0there were 14 commits, 11 of them substantive:- Fix Hollerith constants inside Format statement
- Allow missing comma between
datastatement sets - Allow extra semicolons in more places
- Allow identifier clashes with more keywords
- Fix
/edit descriptor immediately before Hollerith - Add deleted
assignstatement - Add obsolescent alternate return
- Add deleted assigned goto statement
- Add obsolescent
block datasubprogram - Remove
statement_function - Fix edge case with line continuation splitting escaped quote
-
0.4.023 Jan 2025Commits, not release notes
This project publishes no release notes. Between
v0.3.0andv0.4.0there were 25 commits, 18 of them substantive:- Fix multi-line preprocessor statements
- Allow preprocessor
#ifstatements in more places - Allow extra semicolons/empty statements
- Add parent node for procedure bindings
- Use
init_declaratorinenumerator_statement - Make
procedure_kinda named node - Rename
binding_declarator->binding - Allow dollar-sign in identifiers
- Fix
datastatement clash with array subscripting - Add
typeof,classoffor declared types - Add ternary/conditional expressions
- Add
notify waitcoarray statement - Add
simpleprocedure qualifier - Add
rankvariable qualifier - Add support for integer arrays as subscripts
- Add reduction specifier for
do concurrent - Add
enumeration type - Relax
binary_oprule
-
0.3.029 Nov 2024Commits, not release notes
This project publishes no release notes. Between
v0.2.0andv0.3.0there were 23 commits, 12 of them substantive:- Fix number literals with a single letter for the kind
- Fix scanner using symbol not available to wasm parsers
- Add
entrystatement - Parse type specifier in
allocatestatements - Fix
variable_modificationclash withassignment_statement - Add support for coarrays
- Allow
bind(C)on variables - Allow preprocessor
#ifguards around wholeselectcases - Allow more preprocessor statements in type and select statements
- Allow preprocessor statements in interface statements
- Revert change to package.json from tree-sitter 0.24
- Add author
-
0.2.024 Oct 2024Commits, not release notes
This project publishes no release notes. Between
v0.1.0andv0.2.0there were 11 commits, 10 of them substantive:- Remove fixed-form extensions
- Allow capturing
end dowith label/non-blockdo - Add statement functions (obsolescent feature)
- Workaround for clash between variable modification and assignment
- Allow semicolons in interface blocks
- Allow optional
::inpublic/privatestatements - Allow
includestatements in internal procedures section - Allow sized declarators in common blocks
- Update gitignore
- Bump package versions
-
0.1.026 Sep 2024Commits, not release notes
This project publishes no release notes. Between
v0.0.1andv0.1.0there were 27 commits, 22 of them substantive:- Add preprocessor include/def/call from C grammar
- Add preprocessor
ifdirectives - Use external scanner for preprocessor unary operators
- Reduce duplication in definition of procedure rules
- Delete commented out code
- Bump tree-sitter to 0.23
- maint: Add missing dev-dependency
- maint: Bump min python version
- ci: Strip down tests
- Parse kind on literals as separate node
- Rename
sizenode askind - Use more explicit
sizenode in variable declarations - Make
_sized_identifiera named nodevariable - Remove unneeded
call_expressionin variable declarations - Use named fields for parts of a variable declaration
- Parse string literal kind parameters
- Remove unnecessary
argument_listnode as a child ofkindnodes - Add parameterised derived types
- Allow different orderings of
private/sequencein derived types - Make
kinda child ofintrinsic_type
…and 2 more.
-
0.0.128 Aug 2024Nothing published for this version