tree-sitter-fortran
Fortran grammar for tree-sitter. Adapted from this Fortran grammar.
Setup and usage
[!IMPORTANT]
Prefer using thetree-sitter-cliinstalled fromnpmas shown below. This is to ensure all developers use the same version oftree-sitter, avoiding compatibility problems.
Follow these steps to set up and run tree-sitter-fortran:
-
Clone the repository
-
Install dependencies
npm install -
Generate the parser
npm run generate
-
Run the tests
npm run test
-
Update the tests (if needed)
If you have modified the grammar and need to update test expectations:
npm run test -- --update
-
Check
highlights.scm(if needed)If you have changed nodes used in
highlights.scm, review and update it accordingly. Even if tests pass, outdated highlights may need fixing!
Metadata
Release files for tree-sitter-fortran 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tree_sitter_fortran-0.6.0.tar.gz | 1.4 MB | Details |
Built distributions (wheels)
Total release size: 4.6 MB
Release files / tree_sitter_fortran-0.6.0.tar.gz
| Download URL | tree_sitter_fortran-0.6.0.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65fea540148ae431335b3920267dffaeeb157ef2b21c0716798c751f6a9e193b
|
|
BLAKE2b-256 checksum How to use checksums |
4ba1491e2b0264fa30939975309d94dff00dc00ab445a7d8d5ee30476c888a44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_fortran-0.6.0-cp39-abi3-win_arm64.whl
| Download URL | tree_sitter_fortran-0.6.0-cp39-abi3-win_arm64.whl |
|---|---|
| Size | 379.7 kB |
| Tags | CPython 3.9 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
45b0e226325e626101949d6aafcf0422fc210c3cf3ae9b9a2281b41f47d9cc20
|
|
BLAKE2b-256 checksum How to use checksums |
6ce3bb2c89f65497b3c8d43fb71fd6f47fef098dc3e3b0bf16083f6f9e4fc92d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_fortran-0.6.0-cp39-abi3-win_amd64.whl
| Download URL | tree_sitter_fortran-0.6.0-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 383.3 kB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
cccd5bce1cdebcf34d3a130ecf4944bc409ddc93096317e3249838ffdaf927eb
|
|
BLAKE2b-256 checksum How to use checksums |
9deba52219602f674fd5acf4df7e2ce940b86e0d2a73409c42b136efc171d867
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_fortran-0.6.0-cp39-abi3-musllinux_1_2_x86_64.whl
| Download URL | tree_sitter_fortran-0.6.0-cp39-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 408.8 kB |
| Tags | CPython 3.9 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
9348398630d6d7e5e3588a14517f889fc0315c33b059e004d0468000db2a7206
|
|
BLAKE2b-256 checksum How to use checksums |
efd4f6713ff4fd01711be33b44ce22bfd4368f06e7f383d3835769adeebe20d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_fortran-0.6.0-cp39-abi3-musllinux_1_2_aarch64.whl
| Download URL | tree_sitter_fortran-0.6.0-cp39-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 411.2 kB |
| Tags | CPython 3.9 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
9f9ba6ca864d39f5df2787ed58222ee25570c47c659df0d7b5753a8c4dc3e29d
|
|
BLAKE2b-256 checksum How to use checksums |
463b540b2fcd0de2713c9ebedb9cd9eff39d656a18236d125df80062389e82ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_fortran-0.6.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | tree_sitter_fortran-0.6.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 410.1 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ac4800b4abc1b25e6e7ab4a3f2eae274c5b19107beb18d3a473c0f67509c7486
|
|
BLAKE2b-256 checksum How to use checksums |
57860923f061e36f229d99660a8f53f8e3b57da459e08512c09e256de820c472
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_fortran-0.6.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | tree_sitter_fortran-0.6.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 411.5 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
1fd7b179305db93ffe8435ee42f6895e76677744721707b3f2f328a92dd4f61e
|
|
BLAKE2b-256 checksum How to use checksums |
903560be7b22889a5b59142c91b4067c709f18fcca745adcb4b570261d755570
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_fortran-0.6.0-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | tree_sitter_fortran-0.6.0-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 432.8 kB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a0fe5929fd91d245aba5a3b414399a296fb9924942a549190cee226e5b1ec96c
|
|
BLAKE2b-256 checksum How to use checksums |
b283c93d2959030ff858f97a5cebedd1281341c6d69d240bb616c6fa7fb86538
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / tree_sitter_fortran-0.6.0-cp39-abi3-macosx_10_9_x86_64.whl
| Download URL | tree_sitter_fortran-0.6.0-cp39-abi3-macosx_10_9_x86_64.whl |
|---|---|
| Size | 378.2 kB |
| Tags | CPython 3.9 abi3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
b6495c4c25cf68785ffd30e615b5481219415761ca66dde14a9577d03075714d
|
|
BLAKE2b-256 checksum How to use checksums |
bec8dcf0b1e49b6af4d31a4555748626b02b21f3c93f1725a9ecab9d11a44511
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|