JIKESPG(1)
β¨ JIKESPG β¨
okay so bestie, let me put you on to jikespg β she's the Jikes Parser Generator and she literally creates grammar parsers in Java, C, or C++. no cap. π
πΈ NAME πΈ
jikespg β creates grammar parsers in Java, C, or C++. that's the whole vibe. π
π¦ SYNOPSIS π¦
jikespg [options] [filename[.extension]]
like. that's it. that's the whole invocation. the square brackets are giving optional, the .extension is giving you don't have to type it if you don't wanna. slay. β¨
π DESCRIPTION π
okay so here's the tea, and it's actually really good tea. β
Jikes Parser Generator is a parser generator β iconic, we know β and what she does is she takes an annotated description for a language grammar as her input, and then she produces text files suitable for inclusion in a parser for that language. that's the pipeline. grammar description goes in, parser-ready text files come out. main character energy fr fr. π
if that sounds familiar, that's because it should β she is similar in function and use to the widely-available parser generators Yacc and Bison. your dad's parser generators. but make it Java. π«Ά
and here's the part that's lowkey the best part, ngl:
- she also provides support for automatic diagnosis and recovery from syntactic errors β so when your grammar is being messy, she doesn't just ghost you, she tells you what's wrong and helps you recover. that's a friend. π
- she is the parser generator used by the Jikes Compiler. so like, she's not just some random tool, she's literally the one the Jikes Compiler picked. iykyk. π
- she can generate parsers for LALR(k) grammars β yes, the k. variable lookahead. she said "i contain multitudes." π
- and she produces output suitable for use with parsers written in Java, C, or C++. three languages. one generator. she ate and left absolutely no crumbs. π₯
heads up bestie: this whole page is short because that's all the original gives us β no option list, no environment variables, no exit statuses on this one. if you need the flags, they live in the docs for the grammar description file itself. don't @ me, @ the grammar. π
and that's the page, babes. π this one came from the Jikes Parser Generator manual, dated 2012-09-25 β yes, she's been iconic since 2012 and she's still out here generating LALR(k) parsers for you. periodt. πβ¨π¦πΈπ
π¦ where this page comes from
- debian bookworm: jikespg 1.3-3+b1 Β· IBM PUBLIC LICENSE VERSION 1.0 - JIKES COMPILER
- ubuntu jammy: jikespg 1.3-3build1 Β· IBM PUBLIC LICENSE VERSION 1.0 - JIKES COMPILER
- ubuntu noble: jikespg 1.3-3build1 Β· IBM PUBLIC LICENSE VERSION 1.0 - JIKES COMPILER
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms