Skip to content

CLI that's worth using

Compare
Choose a tag to compare
@dekarrin dekarrin released this 25 Mar 23:37
· 571 commits to main since this release
17354e5

CLI tool ictcc can now parse FISHI markdown files to ASTs with -a/-ast option and/or parse trees with -t/-tree option. There are also a variety of additional CLI flags that make testing the bootstrap frontend possible.

Right now, a lot of the frontend options for testing the grammar being read and testing the bootstrap frontend itself are interleaved. They may separate in the future, with fishi module able to build them for other frontends but choosing to keep them private for its own frontend.

The CLI needs to be built before it can be used, which can be done in Go 1.19 or later. Just execute ./build.sh on any system with a Go compiler present.

Run with -h to to see the current options, or see the doc comment for the main module in cmd/ictcc/main.go.