Skip to content

Conversation

danieltrt
Copy link
Collaborator

@danieltrt danieltrt commented Jun 10, 2025

The tree-sitter parser generator is interpreting the newline token as a regular token. As a result there are artifacts in the grammar when parsing go code (i.e., \n shows up as a node). This messes concrete's syntax ability to match multiline code blocks

Checklist:

  • All tests pass in CI.
  • There are sufficient tests for the new fix/feature.
  • Grammar rules have not been renamed unless absolutely necessary.
  • The conflicts section hasn't grown too much.
  • The parser size hasn't grown too much (check the value of STATE_COUNT in src/parser.c).

@danieltrt danieltrt changed the base branch from master to expose_interpreted_string_literal_basic_content June 11, 2025 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants