Skip to content

Releases: gap-system/tree-sitter-gap

v0.3.0

29 Aug 16:38
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • The (block) node of the grammar is no longer visible.

  • Standardize on lowercase gap everywhere. (70b53e0)

Features

  • Add atomic statements and functions. (e92c672)
  • Add folds queries (cc8ede9)
  • Add highlighting support for newly added constructs (e7de263)
  • Add more fields to grammar, inline and hide block node (e2ba306)
  • Add new and improve existing highlight queries, update tests to match. (c17ad64)
  • Add support for conversion markers in floats. (dfb2a20)
  • Add support for fail boolean, improve highlighting. (33c995b)
  • Add support for leading period floats. (e357819)
  • Add support for pragmas (ae89ad9)
  • Add support for record-like constructs. (1a3e4ac)
  • Add tags queries and tests (5399d5c)
  • Add variables and record selectors. (229bffb)
  • Allow calls immediately after function definition. (2c1958e)
  • Create external scanner stub. (a535485)
  • Extend line continuation support, implement booleans. (592483d)
  • Implement help statements (254dd7f)
  • Implement quit statements (d2c1de6)
  • Implement string external scanner. (7b350cd)
  • Improve identifiers, strings and characters. (fc43939)
  • Improve local queries (d1eb1a7)
  • Improve README and highlighting. (57aa1e3)
  • Improve selectors and function calls. (1aa6f87)
  • Initial float and multiline string implementation (d72bc06)
  • Refactor line continuation regex function. (9fcb7b4)

Bug Fixes

  • Fix empty perm and function call conflict (3da543f)
  • Fix erroneous code in keyword highlight test file (26dbe9f)
  • Fix errors in locals queries (b0c1571)
  • Fix some issues with highlighting (fe82cbe)
  • Make sure tests compile grammar first (453069c)

v0.2.0

26 May 14:14
Compare
Choose a tag to compare

This is the first tree-sitter-gap release. The grammar should now support all major GAP language constructs. It also has support for highlighting and local variable detection through tree-sitter queries.

This release also contains corpus files, consisting of all GAP code extracted from .g, .gd, .gi and .tst files from the v4.13.0 GAP source code as well as the distributed GAP packages. The GAP source corpus available in corpus_gap_v4.13.0.tar.gz and the GAP package source corpus available in corpus_pkg_v4.13.0.tar.gz.