Hacker GitHub

← All repos

tree-sitter/tree-sitter-go

View on GitHub ↗ ★ 422 JavaScript

Go grammar for tree-sitter

6 mentions on Hacker News by 4 people: 0 stories, 6 comments · first 2017-02-13 · latest 2026-01-22

Mentions per year 6 mentions · busiest year 2017 (2)
20082026
  1. Go is here: https://github.com/tree-sitter/tree-sitter-go Try google, the others are probably out there as well.
    comment by johanvts · 2026-01-22 · in Tree-sitter vs. Language Servers
  2. …Building all them statically and cross-platform for our VS Code extension isn't easy though ;) [1]: https://github.com/tree-sitter/tree-sitter-go/blob/master/gr... [2]: https://go.dev/ref/spec#Types
    comment by DarkPlayer · 2024-11-09 · in Mergiraf: a syntax-aware merge driver for Git
  3. …of those are powered by tree-sitter query files defined in each language's repo, like these for Go: https://github.com/tree-sitter/tree-sitter-go/tree/master/qu...
  4. …framework. This file, for instance, is where the symbol extraction rules for Go are defined: https://github.com/tree-sitter/tree-sitter-go/blob/master/qu... We've been working on a new approach to generate more precise symbol data, while…
    comment by dcreager · 2020-12-04 · in An ex-Googler’s guide to dev tools
  5. …and here are some existing grammars: * https://github.com/tree-sitter/tree-sitter-javascript * https://github.com/tree-sitter/tree-sitter-go * https://github.com/tree-sitter/tree-sitter-ruby
    comment by maxbrunsfeld · 2017-03-20 · in Show HN: How to write a recursive descent parser
  6. …* JavaScript - https://github.com/tree-sitter/tree-sitter-javascript * Go - https://github.com/tree-sitter/tree-sitter-go * Ruby - https://github.com/tree-sitter/tree-sitter-ruby * Python - https://github.com/tree-sitter/tree-sitter-p
    comment by maxbrunsfeld · 2017-02-13 · in From AST to Lossless Syntax Tree