ivy: )debug shows which flags exist

Also delete some TODOs and let rho work on rank 0.
ivy: semicolons as statement separators

The grammar could be tidier. Will fix.
ivy: clean up the grammar

Make the functions match the productions. Longer but much prettier now.