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
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
--
Senior Software Engineer at MongoDB
Love podcasts or audiobooks? Learn on the go with our new app.