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 lisp-disassemble command #845

Merged
merged 2 commits into from
Jul 19, 2023
Merged

Conversation

Sasanidas
Copy link
Member

Simple command that display the disassembly information about the symbol at point, I was thinking of using a major mode to syntax highlight the assembly code, but that's not standard, and some distributions may even have a different representation,

So, the idea on the future is to extend this command and let each implementation to specialize on it.

@Sasanidas Sasanidas requested a review from cxxxr July 19, 2023 11:48
Copy link
Member

@cxxxr cxxxr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR.
I've left a comment, please merge it after you check it out.

(buffer (make-buffer "*lisp-dissasemble*")))

(with-pop-up-typeout-window (s buffer :erase t)
(format s (%lisp-disassemble name)))))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would a ~ in the return value of %lisp-disassemble cause unexpected behavior?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh indeed, I didn't realize, thanks, I think it should be fixed now 👍

@cxxxr cxxxr merged commit 08ee2fe into lem-project:main Jul 19, 2023
1 check passed
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.

2 participants