-
Notifications
You must be signed in to change notification settings - Fork 1
Interpret testing #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Dynamic PyTest example: def test_a():
print('test_a' in globals())
assert False
def define():
for n in 'bcdef':
def x():
assert 1 == 0
x.__name__ = f'test_{n}'
globals()[x.__name__] = x
define() (Results probably not that much more readable than using |
dcecile
added a commit
that referenced
this issue
Mar 25, 2022
dcecile
added a commit
that referenced
this issue
Mar 25, 2022
dcecile
added a commit
that referenced
this issue
Mar 31, 2022
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The final goal of the interpreter will to build up tests written in Pentagram. Then once those tests are passing and the compiler is self-compiling, the interpreter can be retired.
This could be a special mode written using watchdog. Pure custom, for better latency and to start experimenting with output format. (And to more easily gradually move the test framework into Pentagram code.)
Tasks
typing
usages to use PEP 585 and PEP 604TBit
toTInteger
blob
toarr
/=
to>>
The text was updated successfully, but these errors were encountered: