boot2

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

001-passthrough.M1pp (739B)


      1 ## Pass-through fixture: tokenizer + structural macro-keyword skip.
      2 ## No macro calls, no ## paste, no !@%$ or %select.
      3 ##
      4 ## STRING tokens (`"..."` and `'...'`) decode to raw bytes on emission
      5 ## — the only "passthrough" exception, kept here so the byte form is
      6 ## visible in the expected output alongside the rest.
      7 
      8 hello world
      9   leading whitespace  and   runs   of   spaces
     10 mixed,punctuation(goes)through
     11 
     12 ## this comment goes away
     13 line with ; semicolon comment
     14 "double-quoted string stays"
     15 'single quoted too'
     16 
     17 %macro FOO(a, b)
     18     FOO body (should be skipped)
     19     more body a b ## paste
     20 %endm
     21 
     22 first top-level line after the macro
     23 %macro BAR()
     24     inner ; comment inside macro
     25     %macro-looking-word-but-not-macro
     26 %endm
     27 
     28 tail line