; [ccnv.sty]   C-Filter for typename conversion

Language ccnv

Regular Grammar

#include base.reg

; let Byte        = '\00' .. '\ff' ; extended ASCII
; let Control     = '\00' .. '\1f' ; control
;                 |          '\7f' ; DEL


  let Printable   = Byte - Control
  let Space       = '\t '
  let Line        = "\n" | "\r\n"  ; UNIX / CPM / DOS
                  | "\r"           ; Mac
  let Letter      = 'A'..'Z' | 'a'..'z'
  let Digit       = '0'..'9'

  tok Ide      = ( Letter | '_' ) { Letter | Digit | '_' } 

  tok Inc      = "#include" Space+ ("<"|"\"") {Printable-Space-"\""} (">"|"\"")
  tok Com      = ( "/*" ({Byte}-({Byte}"*/"{Byte})) "*/" )
               | "//" {Byte} Line

  tok Other    = Byte - Letter - '_'
