Alena Khineika
1 min readJan 18, 2019

--

First I make the directory:

mkdir grammars

Then I download the content from githab into ECMAScript.g4 file:

curl --http1.1 https://github.com/antlr/grammars-v4/blob/master/ecmascript/ECMAScript.g4 --output grammars/ECMAScript.g4

--

--