myna.js
function grammarToString(grammarName) {
        return grammarRules(grammarName).map(function (r) { return r.fullName + " <- " + r.definition; }).join('\n');
    }
function grammarToString(grammarName) {
        return grammarRules(grammarName).map(function (r) { return r.fullName + " <- " + r.definition; }).join('\n');
    }
function grammarToString ( grammarName ) { return grammarRules ( grammarName ) . map ( function ( r ) { return r . fullName + " <- " + r . definition ; } ) . join ( '\n' ) ; }
Creates a string representation of a grammar
Creates a string representation of a grammar