Skip to content

lolow/tree-sitter-gams

Repository files navigation

tree-sitter-gams

Tree-sitter grammar for the GAMS (General Algebraic Modeling System) language.

This project provides a fast, incremental parser for GAMS source files using Tree-sitter. It enables syntax highlighting, structural analysis, and integration with IDEs and language tooling such as LSP servers.

🚀 Features

  • None for now (early stage)

Test

First time, install tree-sitter-cli :

npm install -g tree-sitter-cli

For testing on a GAMS code sample :

tree-sitter generate
tree-sitter parse code_sample.gms

About

Tree-sitter grammar for the GAMS modeling language. Apache-2.0 fork of Schlegen/tree-sitter-gams with structural block parsing, dollar-directive args, and WASM-compatible scanner.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages