runtimeverification / runtimeverification/kontrol

Improve hex encoding, use it by default in kontrol show

Open
#505 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #688 by @jinxinglim — closed without merging
cli enhancement good first issue
Dominant language
Python
Stars
122
Forks
16
PR merge metrics
No merged PRs in 30d

Description

With, https://github.com/runtimeverification/kontrol/pull/503 we add support for the hex encoding in the view-kcfg TUI. In addition to this, there is also the --use-hex-encoding flag that will enable the hex encoding in kontrol show.

Now the next step is to set the hex encoding active by default, replacing --use-hex-encoding with --no-use-hex-encoding.

In addition to this, I can confirm that the use of the hex encoding in pretty_print does not interfere with the kontrol show --to-module feature, used in CSE.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the kontrol show command and its --use-hex-encoding option, then inspect how pretty_print handles encoding and how --to-module is used. The change is complete when hex encoding is the default, the opt-out flag is available, and kontrol show --to-module continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.