Parsing the command line with MGrammar – part 1
Let’s take a look at how we can use MGrammar to create a mini-DSL for a language most developers knows quite well; command line arguments. Most applications that accepts arguments on the command line in Windows (or in Linux/Un*x for that matter) is on the form: Application.exe /a /b 123 /c “some input string goes [...]