PASCAL_PRE_PROC(1)

πŸ“¦ version 1.0.4, in fedora 43, fedora 44

πŸ’… pascal_pre_proc β€” the manual page, but make it make sense πŸ’…

okay bestie, gather round, because we're about to talk about pascal_pre_proc, a User commands girlie (section 1, obviously) and she is literally the moment. πŸŽ€


✨ NAME ✨

pascal_pre_proc β€” a Pascal preprocessor built on the PasDoc parser. yes that PasDoc. the documentation generator one. she's borrowing the parser and she is thriving. πŸ’–


✨ SYNOPSIS ✨

pascal_pre_proc [OPTIONS] FILE

that's it. that's the whole vibe. options, then a file. slay. πŸ’…


✨ DESCRIPTION ✨

so here's the tea, bestie πŸ“: pascal_pre_proc is a Pascal preprocessor, and she's based on the parser that the PasDoc documentation generator uses. iconic lineage, no cap.

when you run her, she parses FILE and interprets all the compiler directives β€” like {$DEFINE}, {$IDEF}, {$INCLUDE}, and also FPC macros too β€” and then prints the result straight to standard output. 🌈

like. she reads the file. she does the directive thing. she prints. that's the whole arc. main character energy fr fr. πŸ‘‘


✨ OPTIONS ✨

  • -?, --help β€” shows you a help message and then dips. exit stage left. 🫢
  • -v, --verbosity LEVEL β€” sets how chatty the logging is. LEVEL has to be an integer in the 0-6 range, and the default is 2. (so if you want her loud, crank it, if you want her chill, lower it. she contains multitudes.) πŸ’œ
  • -D, --define SYMBOL β€” pretends SYMBOL is defined while she's parsing conditional blocks. lowkey gaslighting the parser but make it useful. ✨
  • -d, --conditionals CONDFILE β€” basically the -D energy, but she reads the whole list of symbols out of CONDFILE instead. bulk define. very efficient. very demure. πŸŽ€
  • -I, --include PATH β€” when she hits a {$INCLUDE} directive, she goes looking in PATH. giving "let me check my sources." πŸ”
  • --no-macro β€” turns off support for FPC macros. if you don't want the macros, you don't get the macros. boundaries. πŸ’…

✨ SEE ALSO ✨

go say hi to her friends, they're all lovely:


ok real talk for one sec πŸ¦‹ β€” everything above is exactly what the page says, nothing invented, nothing skipped. she's a small page but she's got range. πŸ’–

and that's the whole page, bestie!! πŸ’œ this edition dropped on 2021-09-22, from the PASCAL_PRE_PROC(1) manual, and honestly? she ate. periodt. βœ¨πŸŒΈπŸ‘‘

πŸ“¦ where this page comes from