runtimeverification / pyk

Python tools for the K Framework
BSD 3-Clause "New" or "Revised" License
13 stars 2 forks source link

Remove manip.get_cell, add CTerm.free_vars #1040

Closed ehildenb closed 5 months ago

ehildenb commented 5 months ago

Inspired while reviewing: https://github.com/runtimeverification/pyk/pull/1009/

This makes two changes which hopefully tighten the CTerm abstraction slightly by reducing the places where CTerm.kast is used:

This means that the remaining uses of CTerm.kast are doing something weird with the resulting kast, or printing it, or converting it to Kore.