Fortran grammar for tree-sitter
Project description
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!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tree_sitter_fortran-0.6.0.tar.gz.
File metadata
- Download URL: tree_sitter_fortran-0.6.0.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65fea540148ae431335b3920267dffaeeb157ef2b21c0716798c751f6a9e193b
|
|
| MD5 |
17ce64ae1e0b76d658ebf14f57ae9c45
|
|
| BLAKE2b-256 |
4ba1491e2b0264fa30939975309d94dff00dc00ab445a7d8d5ee30476c888a44
|
File details
Details for the file tree_sitter_fortran-0.6.0-cp39-abi3-win_arm64.whl.
File metadata
- Download URL: tree_sitter_fortran-0.6.0-cp39-abi3-win_arm64.whl
- Upload date:
- Size: 379.7 kB
- Tags: CPython 3.9+, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45b0e226325e626101949d6aafcf0422fc210c3cf3ae9b9a2281b41f47d9cc20
|
|
| MD5 |
0f07be435519f230a926be72ba1a2acb
|
|
| BLAKE2b-256 |
6ce3bb2c89f65497b3c8d43fb71fd6f47fef098dc3e3b0bf16083f6f9e4fc92d
|
File details
Details for the file tree_sitter_fortran-0.6.0-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: tree_sitter_fortran-0.6.0-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 383.3 kB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cccd5bce1cdebcf34d3a130ecf4944bc409ddc93096317e3249838ffdaf927eb
|
|
| MD5 |
8a6ff3326dcfc849df239735a23942ad
|
|
| BLAKE2b-256 |
9deba52219602f674fd5acf4df7e2ce940b86e0d2a73409c42b136efc171d867
|
File details
Details for the file tree_sitter_fortran-0.6.0-cp39-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: tree_sitter_fortran-0.6.0-cp39-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 408.8 kB
- Tags: CPython 3.9+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9348398630d6d7e5e3588a14517f889fc0315c33b059e004d0468000db2a7206
|
|
| MD5 |
02f7108cf72cd78e749a4da276f7bd3f
|
|
| BLAKE2b-256 |
efd4f6713ff4fd01711be33b44ce22bfd4368f06e7f383d3835769adeebe20d7
|
File details
Details for the file tree_sitter_fortran-0.6.0-cp39-abi3-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: tree_sitter_fortran-0.6.0-cp39-abi3-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 411.2 kB
- Tags: CPython 3.9+, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f9ba6ca864d39f5df2787ed58222ee25570c47c659df0d7b5753a8c4dc3e29d
|
|
| MD5 |
9acef7f84d38f6bcb6b6411622224a70
|
|
| BLAKE2b-256 |
463b540b2fcd0de2713c9ebedb9cd9eff39d656a18236d125df80062389e82ea
|
File details
Details for the file tree_sitter_fortran-0.6.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: tree_sitter_fortran-0.6.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 410.1 kB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac4800b4abc1b25e6e7ab4a3f2eae274c5b19107beb18d3a473c0f67509c7486
|
|
| MD5 |
7216c2f73d41daf57398f6f6647b1615
|
|
| BLAKE2b-256 |
57860923f061e36f229d99660a8f53f8e3b57da459e08512c09e256de820c472
|
File details
Details for the file tree_sitter_fortran-0.6.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: tree_sitter_fortran-0.6.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 411.5 kB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fd7b179305db93ffe8435ee42f6895e76677744721707b3f2f328a92dd4f61e
|
|
| MD5 |
f9474c48a2b836dcacd016b6b18539b7
|
|
| BLAKE2b-256 |
903560be7b22889a5b59142c91b4067c709f18fcca745adcb4b570261d755570
|
File details
Details for the file tree_sitter_fortran-0.6.0-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: tree_sitter_fortran-0.6.0-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 432.8 kB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0fe5929fd91d245aba5a3b414399a296fb9924942a549190cee226e5b1ec96c
|
|
| MD5 |
c1d55b82563349e6e1c70789916ed371
|
|
| BLAKE2b-256 |
b283c93d2959030ff858f97a5cebedd1281341c6d69d240bb616c6fa7fb86538
|
File details
Details for the file tree_sitter_fortran-0.6.0-cp39-abi3-macosx_10_9_x86_64.whl.
File metadata
- Download URL: tree_sitter_fortran-0.6.0-cp39-abi3-macosx_10_9_x86_64.whl
- Upload date:
- Size: 378.2 kB
- Tags: CPython 3.9+, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6495c4c25cf68785ffd30e615b5481219415761ca66dde14a9577d03075714d
|
|
| MD5 |
7e8938e79c35e63b263a84d2aaed9d49
|
|
| BLAKE2b-256 |
bec8dcf0b1e49b6af4d31a4555748626b02b21f3c93f1725a9ecab9d11a44511
|