Skip to content

Codee staging repo for upstreaming changes to stadelmanma/tree-sitter-fortran

License

Notifications You must be signed in to change notification settings

codee-com/tree-sitter-fortran

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tree-sitter-fortran

Build Status

Fortran grammar for tree-sitter. Adapted from this Fortran grammar.

Setup and usage

Important

Prefer using the tree-sitter-cli installed from npm as shown below. This is to ensure all developers use the same version of tree-sitter, avoiding compatibility problems.

Follow these steps to set up and run tree-sitter-fortran:

  1. Clone the repository

  2. Install dependencies

    npm install
  3. Generate the parser

    npm run generate
  4. Run the tests

    npm run test
  5. Update the tests (if needed)

    If you have modified the grammar and need to update test expectations:

    npm run test -- --update
  6. 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!

About

Codee staging repo for upstreaming changes to stadelmanma/tree-sitter-fortran

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages

  • JavaScript 78.6%
  • Makefile 4.3%
  • Tree-sitter Query 3.5%
  • Rust 3.2%
  • CMake 2.9%
  • Python 2.9%
  • Other 4.6%