Hacker GitHub

← All repos

tree-sitter/tree-sitter-c

View on GitHub ↗ ★ 395 JavaScript

C grammar for tree-sitter

6 mentions on Hacker News by 5 people: 0 stories, 6 comments · first 2017-02-13 · latest 2025-02-28

Mentions per year 6 mentions · busiest year 2021 (2)
20082026
  1. …preprocessor directives [1] [2], which is why we didn't focus on it for the initial release. [1] https://github.com/tree-sitter/tree-sitter-c/issues/13 [2] https://github.com/tree-sitter/tree-sitter-c/issues/108
  2. …many shortcomings (ignore preprocessor bugs, they can't be solved in the current TS model anyway): https://github.com/tree-sitter/tree-sitter-c/issues
    comment by xvilka · 2023-05-29 · in How to Get Started with Tree-Sitter
  3. …written code in C and C++ is quite significant. [1] https://tree-sitter.github.io/tree-sitter/ [2] https://github.com/tree-sitter/tree-sitter-c/issues [3] https://github.com/tree-sitter/tree-sitter-cpp/issues
  4. …if the parse result depends only on the content of the single file that you're looking at. [1] https://github.com/tree-sitter/tree-sitter-c [2] https://github.com/tree-sitter/tree-sitter-cpp
  5. …but not dramatic, but not so suitable for tools that need a really correct syntax tree. --- [1] https://github.com/tree-sitter/tree-sitter-c/issues/51
  6. …Currently, there are bindings to JavaScript and Haskell. Here are some example grammars: * C - https://github.com/tree-sitter/tree-sitter-c * JavaScript - https://github.com/tree-sitter/tree-sitter-javascript * Go -…
    comment by maxbrunsfeld · 2017-02-13 · in From AST to Lossless Syntax Tree