Hacker GitHub

← All repos

tree-sitter/tree-sitter-javascript

View on GitHub ↗ ★ 498 JavaScript

Javascript grammar for tree-sitter

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

Mentions per year 6 mentions · busiest year 2017 (2)
20082026
  1. …a multi-line comment in a file that is parsed incorrectly will throw the entire thing off. [0] https://github.com/tree-sitter/tree-sitter-javascript/issues... [1] https://gist.github.com/Maxdamantus/a11b41675fcde25ffc9b7ef0...
    comment by maxdamantus · 2025-01-04 · in Swc4j: SWC for Java
  2. …. It worked fine in v0.20.1, and it's still broken with the latest v0.20.4. Based on the diff here: https://github.com/tree-sitter/tree-sitter-javascript/compar... , I don't on the surface see a way to dig deeper into this than trying to…
    comment by dumbo-octopus · 2024-03-21 · in Let's create a Tree-sitter grammar
  3. …lfred/tree-sitter-elisp/blob/main/gramm... (approx. 200 lines) and here is the grammar of JavaScript: https://github.com/tree-sitter/tree-sitter-javascript/blob/m... (approx. 1200 lines) JavaScript evolved into a language of similar…
    comment by G3rn0ti · 2022-12-07 · in What I'd like to see in Emacs
  4. …aren't segregated. Which I didn't expect... but the motivation wasn't writing picky compilers. [1] https://github.com/tree-sitter/tree-sitter-javascript/blob/m...
  5. …itself is here: https://github.com/tree-sitter/tree-sitter and here are some existing grammars: * https://github.com/tree-sitter/tree-sitter-javascript * https://github.com/tree-sitter/tree-sitter-go *…
    comment by maxbrunsfeld · 2017-03-20 · in Show HN: How to write a recursive descent parser
  6. …Here are some example grammars: * C - https://github.com/tree-sitter/tree-sitter-c * JavaScript - https://github.com/tree-sitter/tree-sitter-javascript * Go - https://github.com/tree-sitter/tree-sitter-go * Ruby -…
    comment by maxbrunsfeld · 2017-02-13 · in From AST to Lossless Syntax Tree