KELBT(1)

✨ KELBT(1) ✨

ok so like. bestie. welcome to kelbt, the backtracking LR parser generator πŸ¦‹ β€” and yeah, it's in section 1 of the manual, so we're doing the whole thing properly, no skips, no shortcuts, periodt. πŸ’…


🌸 NAME 🌸

kelbt β€” generate backtracking LR parsers πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

kelbt [options]files

πŸ’– DESCRIPTION πŸ’–

Okay so, real talk: this manual page is very briefly documenting kelbt, a backtracking LR parser generator. Like, briefly briefly. It's giving "trailer, not the movie" 😭 β€” for an actual good reference on how to use it, go look at the examples that come with it, and also the paper at:

https://www.colm.net/files/kelbt/thurston_CASCON_06_btlr.pdf

that's the one, that's the source, iykyk πŸ“„βœ¨


🫢 OPTIONS 🫢

kay so here's the whole menu, every single one, no gatekeeping πŸŽ€

  • -h, -H, -?, --help β€” prints the usage and then exits, bye πŸ‘‹
  • -v, --version β€” prints version info and exits, slay πŸ’…
  • -o file β€” writes output to file πŸ“
  • -V β€” generates a Graphviz dotfile πŸ“Š (yes we're making a graph, main character energy)
  • -i β€” shows branch point info 🌿
  • -t β€” forces top-down with unique empty productions πŸ”₯
  • -l β€” inhibits writing of #line directives 🚫
not me noticing the original page crammed a bunch of these onto one line β€” we're doing one bullet per option here because you deserve better, bestie πŸ’œ

πŸ‘‘ AUTHOR πŸ‘‘

kelbt was written by Adrian Thurston <thurston@cs.queensu.ca>. iconic of him fr fr 🌟


that's the whole page!! πŸŽ€ this was Kelbt 0.12, from way back in May 2007, and it's the KELBT(1) page β€” go forth and generate those backtracking LR parsers, you absolute legend πŸ¦‹πŸ’–