Crates.io | tree-sitter-foam |
lib.rs | tree-sitter-foam |
version | 0.4.0 |
source | src |
created_at | 2021-11-29 20:16:57.989159 |
updated_at | 2023-11-29 22:18:32.84185 |
description | OpenFoam grammar for the tree-sitter parsing library |
homepage | |
repository | https://github.com/FoamScience/tree-sitter-foam |
max_upload_size | |
id | 489475 |
size | 422,097 |
This project is in early phases of development; expect things to change considerably
DISCLAIMER: This offering is not approved or endorsed by OpenCFD Limited, producer and distributor of the OpenFOAM software and owner of the OPENFOAM® and OpenCFD® trade marks.
This is a generic fail-tolerant parser for OpenFOAM case dictionaries. The goal is to reach a state that is "good enough" for syntax highlighting and feasible symbols extraction.
tree-sitter highlight
and nvim-treesitter
) are executed with tree-sitter test
(Check the test
folder)testOFFiles.sh $FOAM_TUTORIALS
parses all OpenFOAM dictionaries in the tutorials directory
scalarField
will never be treated in a special way) unless I find an "unattended"
way to do that.