Hacker GitHub

← All repos

Chevrotain/chevrotain

View on GitHub ↗ ★ 2,817 TypeScript

Parser Building Toolkit for JavaScript

18 mentions on Hacker News by 2 people: 5 stories, 13 comments · first 2016-03-07 · latest 2020-03-05

Mentions per year 18 mentions · busiest year 2018 (6)
20082026
  1. …parsers, being Lazy I've created a library to assist in hand-rolling a recursive decent parser: https://github.com/SAP/chevrotain
    comment by bd82 · 2020-03-05 · in Why not to use (f)lex, yacc or bison
  2. You can find it At: https://github.com/SAP/chevrotain
    comment by bd82 · 2019-12-12 · in Write a parser with JavaScript
  3. …Toolkit (for JavaScript) which I believe fulfills 7/10 of the requirements described. Chevrotain - https://github.com/SAP/chevrotain The list of features can be found here: - https://sap.github.io/chevrotain/docs/features/blazing_fast....…
  4. …for an alternative to standard parser generators you may wish to have a peek at Chevrotain. * https://github.com/SAP/chevrotain Instead of using an abstraction of a declarative grammar definition and code generation to provide an…
  5. Maybe this example will help? https://github.com/SAP/chevrotain/blob/master/examples/gramm... It is implemented using a parsing library so the lookaheads are automatically performed by the library, but the general pattern is still…
  6. ▲ 2
    Show HN: Chevrotain – Parser Building Toolkit for JavaScript
    story by bd82 · 2018-01-08 · 0 comments
  7. ▲ 2
    Show HN: Chevrotain – Parser Building Toolkit for JavaScript
    story by bd82 · 2018-01-05 · 0 comments
  8. ▲ 1
    Chevrotain – Fault-Tolerant Parser Building Toolkit for JavaScript
    story by bd82 · 2018-01-03 · 0 comments
  9. ▲ 1
    Chevrotain – Parser Building Toolkit for JavaScript
    story by bd82 · 2018-01-02 · 0 comments
  10. …two libraries that support Error Recovery: Antlr4 - https://github.com/antlr/antlr4 Chevrotain - https://github.com/SAP/chevrotain (disclaimer - I'm the author of Chevrotain)
    comment by bd82 · 2017-10-17 · in Ohm: Parsing Made Easy
  11. …and a parser generator. TLDR: See the JavaScript Parsing DSL library (Chevrotain) I've authored: https://github.com/SAP/chevrotain Details: A Parsing DSL means using API similar to hand building a parser but without a-lot of the cruft…
    comment by bd82 · 2017-08-15 · in Writing parsers like it is 2017
  12. …to create hand built parsers. as opposed to a library that generates a parser for you. * Repo: https://github.com/SAP/chevrotain * Online Playground: http://sap.github.io/chevrotain/playground/ This handles the repetitive parts such as…
  13. feature set looks very similar to https://github.com/SAP/chevrotain would be good to have a comparison EDIT: actually there is one [1], and it includes Nearley which does quite poorly. [1] http://sap.github.io/chevrotain/performance/
    comment by leeoniya · 2017-01-22 · in Nearley – Parser toolkit for JavaScript
  14. …(contributions are welcome :) ) There is one bigger (but incomplete example) of ECMAScript 5.1. https://github.com/SAP/chevrotain/blob/master/examples/types... It is written in Typescript. About LaTex: I'm not familiar with LaTex, However…
  15. …always LL(1) You also won't have many issues as you can define your own custom lookahead. Example: https://github.com/SAP/chevrotain/blob/master/examples/custo... If you are trying to parse a language that is nearly always NOT LL(1) You…
  16. …have to extract that error position information and highlight it using codeMirror's APIs. example: https://github.com/SAP/chevrotain/blob/gh-pages/playground/e... Chevrotain is not aware of codeMirror/ACE or any other Editor frameworks. It…
  17. …you may have to play around with minification options regarding name mangling. Example: https://github.com/SAP/chevrotain/blob/master/gruntfile.js#L... I will document this clearly in an FAQ... If you are referring to the Chevrotain…
  18. ▲ 42
    Show HN: Chevrotain – Fault-Tolerant JavaScript Parsing DSL
    story by bd82 · 2016-03-07 · 17 comments