antlr / grammars-v4

Grammars written for ANTLR v4; expectation that the grammars are free of actions.
MIT License
10.13k stars 3.69k forks source link

Support for Dart3 Version #4056

Open sunjae-baek opened 5 months ago

sunjae-baek commented 5 months ago

There is grammar for Dart2.

I'm curious about whether there is support for Dart3's grammar.

kaby76 commented 5 months ago

A few years ago I wrote a scaper to read the spec which is in tex and output an Antlr grammar. https://github.com/kaby76/ScrapeDartSpec. It likely needs updating as the Trash tools have been updated.

The existing grammar should be renamed with "2" and a new grammar for "3" added. This is to make it clear what the grammar is intended to support.