Brace expansion using ranges: Difference between revisions
→Task: + 'at least'
(→Task: + 'at least') |
|||
Line 54:
{{task heading|Tests}}
Generate and display here the expansion of (at least) each of the nine example lines shown above.
The JavaScript implementation below uses parser combinators, aiming to encode a more or less full and legible description of the <pre><PREAMBLE><AMBLE><POSTSCRIPT></pre> range brace grammar, but you should use any resource that suggests itself in your language, including parser libraries.
|