It's hacky. I edited the generated file. The more complicated functions like popop will not generate the same errors as the Nim versions. This is only congruence in the sense that the current jtest suite passes identically on both. Ideally I should be generating both the Nim and Python code from the Prolog compiler. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| errors.py | ||
| generated_library.py | ||
| pretty_print.py | ||
| stack.py | ||