boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

01-passthrough.M1pp (607B)


      1 ## Pass-through fixture: tokenizer + structural %macro skip.
      2 ## No macro calls, no ## paste, no !@%$ or %select. The m1pp expander must
      3 ## match the C oracle byte-for-byte on this input.
      4 
      5 hello world
      6   leading whitespace  and   runs   of   spaces
      7 mixed,punctuation(goes)through
      8 
      9 ## this comment goes away
     10 line with ; semicolon comment
     11 "double-quoted string stays"
     12 'single quoted too'
     13 
     14 %macro FOO(a, b)
     15     FOO body (should be skipped)
     16     more body a b ## paste
     17 %endm
     18 
     19 first top-level line after the macro
     20 %macro BAR()
     21     inner ; comment inside macro
     22     %macro-looking-word-but-not-macro
     23 %endm
     24 
     25 tail line