Skip to content

Comments

Add lisp-disassemble command#845

Merged
cxxxr merged 2 commits intolem-project:mainfrom
Sasanidas:lisp-disassemble
Jul 19, 2023
Merged

Add lisp-disassemble command#845
cxxxr merged 2 commits intolem-project:mainfrom
Sasanidas:lisp-disassemble

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
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