Skip to content
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

Add differential output option #47

Merged
merged 6 commits into from
May 26, 2020
Merged

Add differential output option #47

merged 6 commits into from
May 26, 2020

Conversation

liangdrew
Copy link
Member

@liangdrew liangdrew commented May 22, 2020

When enabled, only fields that have changed between the previous and current state will be displayed when using step or alt.

(aldb) help set
Set ALDB options.

Available options:

set conf [filename]

    Set the parsing configuration for the current session.

    The specified file must be in YAML. The following (customizable) properties are set by default:

    # Name of the sig representing the main state in the Alloy model.
    stateSigName: State
    # Name of the predicate which defines the initial state in the Alloy model.
    initPredicateName: init
    # Name of the transition relation in the Alloy model.
    transitionRelationName: next
    # Additional Alloy sig scopes to specify.
    additionalSigScopes: {}

    Running set conf with no filename will set the above default options.

set diff <on | off>

    Turn on/off differential output mode.

    When enabled, only fields that have changed between the previous and current state are displayed when executing step or alt.
    By default, this option is enabled.
(aldb)

Closes #39.

When enabled, only fields that have changed between the previous and current state will be displayed when using step or alt.
@liangdrew liangdrew requested a review from LaRenegaws May 23, 2020 19:01
@liangdrew liangdrew requested a review from pxlcoder May 25, 2020 21:27
@liangdrew liangdrew merged commit bef99f6 into master May 26, 2020
@liangdrew liangdrew deleted the diff-output-option branch May 26, 2020 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow toggling differential output mode
4 participants