CINAPS(1)

πŸ“¦
version 0.15.1 Β· 2 versions
, in fedora 43

✨ CINAPS(1) ✨

okay so bestie, welcome to cinaps, section 1 of the manual, filed under User Commands πŸ’–


πŸŽ€ NAME πŸŽ€

cinaps β€” the Trivial Metaprogramming tool using the OCaml toplevel. yeah. trivial. it said it, not me. and yet here we are, absolutely thriving ✨


🌸 DESCRIPTION 🌸

so here's the vibe. you run this thing, you give it options, you give it files, and it does its little metaprogramming dance through the OCaml toplevel. the shape of it is literally this:

/builddir/build/BUILD/ocaml-cinaps-0.15.1-build/BUILDROOT/usr/bin/cinaps <options> <files>

that path is the whole entire path, no cap, i'm not shortening it for anyone, it's giving build directory realness πŸ’…

and now the options, because that's the main character energy of this whole page:

  • -syntax {auto|c|ocaml} β€” picks which syntax to use. the default is auto, so if you don't say anything it'll just figure itself out, iconic behaviour honestly πŸ¦‹
  • -staged FILE β€” staged mode, bestie. it writes out a .ml file that you then have to build and execute yourself. so it's not doing the work, it's handing you homework πŸ“
  • -i β€” updates the file in place. yes, right there, in the actual file. live your truth πŸ™ˆ
  • -diff-cmd β€” the diff command, used when you're working with code expectations πŸ‘‘
  • -no-color β€” don't use colors when printing errors. for the monochrome girlies πŸ–€
  • -styler β€” the code styler ✨
  • -help β€” displays this list of options 🫢
  • --help β€” also displays this list of options. same list. two spellings. both slay 🌈
lowkey reminder: that's the entire option list. nothing hidden, nothing extra, i'm not inventing flags for you no matter how much i love you πŸ’€

and that's the page!! cinaps 0.15.1, dated July 2025, from your girl cinaps 0.15.1 herself β€” go write some metaprogramming, you absolute legend πŸ’œπŸŒΈβœ¨

πŸ“¦ where this page comes from