OSDN Git Service

This brings Python Joy into congruence with Nim.
authorSimon Forman <sforman@hushmail.com>
Sat, 10 Apr 2021 01:01:07 +0000 (18:01 -0700)
committerSimon Forman <sforman@hushmail.com>
Sat, 10 Apr 2021 01:01:07 +0000 (18:01 -0700)
commit7f193fbdbe8c30ff1e30acabbe0ec8f547bc69ff
tree96c789cfdf0ea4e76fdaec63b390174259715dad
parent8e0472a5ffc5319a0a2a7cd1fc5c3514b98a50a6
This brings Python Joy into congruence with Nim.

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.
joy/library.py
joy/utils/generated_library.py
joy/utils/stack.py