To use this code, do python g2lisp.py
And follow the instructions there.
You need to pip install sly.py first. And you need python3.8 or newer.
In the folder there are source files for a natural language grammar.
This grammar is parsed into IC code in the form of a python dict for source's AST.
Once parsed, the current IC code can generate target code in the form of Common Lisp expressions.
In g2lisp.py code you can see a fairly involved sly lexer and parser.
Sly is here: sly repo.
The .tc files are processable by CCGlab.
enjoy. -cemB