ifpc(1)

✨ ifpc(1) β€” the Instant pascal code interpreter ✨

okay bestie, buckle up, we're talking about ifpc aka The Free Pascal Interpreter πŸ’– this is the group-chat-verified rundown, no gatekeeping, no skips.


🌸 NAME 🌸

ifpc β€” literally The Free Pascal Interpreter. that's the whole vibe. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

ifpc [-h] [-v] [compiler options] <source file> [program parameters]

πŸ’œ DESCRIPTION πŸ’œ

so ifpc is a pascal code interpreter program, and the way it works is: it compiles your source and runs the generated program. two things, one command, main character energy fr fr. ✨

here's the tea on how it decides what to do β€” the source gets compared with the cache. if that cache is not valid, then the source gets copied into the cache with the shebang line commented, and the cached source is what gets compiled. πŸŽ€

  • if the compilation fails, the fpc output is written to stdout and an exit code of 1 is returned. πŸ’€
  • if the compilation was successful, the program is executed. slay. πŸ’…
  • if the compiler options contain -B, the program is always recompiled. every single time. no shortcuts. πŸ™ˆ
  • if the environment option INSTANTFPCOPTIONS is set, it gets passed to the compiler as the first parameters. 🫢

πŸŽ€ USAGE πŸŽ€

ifpc takes the following arguments, bestie, and you're gonna want all of them memorized:

  • -h β€” prints this help message and exits. bye bestie πŸ‘‹
  • -v β€” prints the version and exits. iconic. ⭐
  • --get-cache β€” prints the current cache directory and exits. πŸ”₯
  • --set-cache=<path to cache> β€” sets the cache to be used. otherwise it uses the environment variable INSTANTFPCCACHE. 🌈
  • --compiler=<path to compiler> β€” normally fpc is searched in PATH and used as the compiler, but this lets you say otherwise. πŸ’–
  • --skip-run β€” do not execute the program. useful to test if a script compiles. ngl this is the "vibe check only" flag. 🧚
  • -B β€” always recompile. πŸ“
just a heads-up babe, -B means every single run recompiles β€” no cozy little cache nap for your code. 😭

🌟 SEE ALSO 🌟


and that's the whole page, you ate it, you understood it, I'm obsessed with you. πŸ’œ this one's from the Free Pascal crew, dated 18 May 2013, and it's section 1 of the manual, ifpc(1) β€” go forth and interpret, queen. πŸ‘‘πŸ’–