How citiususc/jflap-lib works
Project type and purpose
• This is an open‐source Java library (jflaplib‐core) plus a command‐line application (jflaplib‐cli) that exposes JFLAP 7.0’s formal‐languages functionality as a reusable API and as CLI commands. It uses Maven and is published via JitPack.
File structure
• Top level: two Maven modules plus root pom.xml
• jflaplib‐cli: minimal CLI driver (CommandLine.java, IO.java) with its own pom.xml.
• Key patterns: package‐by‐feature, layered dependencies (file → domain → services → GUI/CLI), factory patterns (SimulatorFactory, CodecRegistry), Maven multi‐module.
README for additional insights
• jflaplib‐core: “full JFLAP 7.0 code adapted to be used as a library” with logging facade (SLF4J).
• jflaplib‐cli: “command line tool” with commands such as run, equivalent, regular that invoke core API.