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

{vanilla} Clean up custom print function #393

Open
asmaloney opened this issue Aug 26, 2023 · 0 comments
Open

{vanilla} Clean up custom print function #393

asmaloney opened this issue Aug 26, 2023 · 0 comments
Labels
enhancement New feature or request looking for help I need help!

Comments

@asmaloney
Copy link
Owner

The code for the custom print function is found in framework/vanilla_actr/vanilla_print.lisp.

Right now the custom printing of a buffer print goal produces something like:

  goal: GOAL-CHUNK0
    NUM1  3
    NUM2  1
    COUNT  EMPTY
    SUM  EMPTY

What I want is more like this:

  goal: add( count=empty, num1=3, num2=1, sum=empty )
  1. I can't figure out how to get the "isa" slot from the chunk (GOAL-CHUNK0 -> add in this case). (Even though they are optional, they do exist in our code.)

  2. Displaying each of the slots happens in printed-chunk, but I don't understand Lisp enough to pick it apart & format it the way I want to.

If you know Lisp, please feel free to fix this and submit a PR!

@asmaloney asmaloney added enhancement New feature or request looking for help I need help! labels Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request looking for help I need help!
Projects
None yet
Development

No branches or pull requests

1 participant