runtimeverification / mir-semantics

10 stars 3 forks source link

Update ast #386

Closed mariaKt closed 3 months ago

mariaKt commented 3 months ago

This PR makes updates to the K AST, in accordance with the changes in the SMIR AST and generated json output (PR). I also proactively added the

"crates_functions": [ [id, "symbol"] ]

field in the json output and the K AST and parse it.

The parser script has been updated to handle a reduced version of the generated json output from panic.rs, due to the fact that the output was too long to manually write the reference K file. I can continue to handle more cases of different K sorts in a next PR, since a lot are going to be quite similar.

Finally,