Skip to content
Snippets Groups Projects
  • Ariya Hidayat's avatar
    c7f106d7
    Custom expression: switch to a recursive-descent parser (#19335) · c7f106d7
    Ariya Hidayat authored
    The fault-tolerant/recovery mode of the Chevrotain-based parser isn't
    needed anymore since the suggestion was made to be lexical-based in
    PR #15688. Therefore, there is no more reason to carry the Chevrotain
    baggage. The grammar construct for Chevrotain was converted into a
    simple recursive-descen parser. This represents a reduction from over
    1,100 LoC to a leaner parser of only 270 LoC.
    
    Also, we remove the dependency to Chevrotain, reducing the front-end
    bundle by approx 18 KB.
    Custom expression: switch to a recursive-descent parser (#19335)
    Ariya Hidayat authored
    The fault-tolerant/recovery mode of the Chevrotain-based parser isn't
    needed anymore since the suggestion was made to be lexical-based in
    PR #15688. Therefore, there is no more reason to carry the Chevrotain
    baggage. The grammar construct for Chevrotain was converted into a
    simple recursive-descen parser. This represents a reduction from over
    1,100 LoC to a leaner parser of only 270 LoC.
    
    Also, we remove the dependency to Chevrotain, reducing the front-end
    bundle by approx 18 KB.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
This project manages its dependencies using yarn. Learn more