We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pyk
In compiled.json, parametric sorts are represented without structure:
compiled.json
{"node":"KSort","name":"MInt{8}"}
We should either parse these, or modify the JSON format on the Frontend.
For such sorts, KORE-to-KAST attempts to instantiate a sort with an invalid name, thus raises an exception.
ValueError: Expected identifier, got: SortMInt{8}
In KORE-to-KAST, the parameter is truncated:
kore = KoreParser('\dv{SortMInt{Sort8{}}}("0p8")').pattern() print(kore) >>> DV(sort=SortApp(name='SortMInt', sorts=(SortApp(name='Sort8', sorts=()),)), value=String(value='0p8')) kast = kore_to_kast(defn, kore) print(kast) >>> KToken(token='0p8', sort=KSort(name='MInt'))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In
compiled.json
, parametric sorts are represented without structure:We should either parse these, or modify the JSON format on the Frontend.
For such sorts, KORE-to-KAST attempts to instantiate a sort with an invalid name, thus raises an exception.
In KORE-to-KAST, the parameter is truncated:
The text was updated successfully, but these errors were encountered: