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 :javap and :asmp to the REPL #12210

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Commits on May 9, 2022

  1. Configuration menu
    Copy the full SHA
    0573a77 View commit details
    Browse the repository at this point in the history
  2. Add REPL disassembler framework

    This commit only provides a framework to support bytecode disassembly from
    within the REPL, it does not supply any concrete implementations using any
    particular disassembler -- those will follow in subsequent commits.
    
    Adapted from the Scala 2 :javap implementation, which was
    written by Paul Phillips and Som Snytt / A. P. Marki
    griggt committed May 9, 2022
    Configuration menu
    Copy the full SHA
    8587414 View commit details
    Browse the repository at this point in the history
  3. Add :javap to the REPL

    Provides bytecode disassembly using the `javap` tool/interface
    supplied by the user's JDK.
    
    Adapted from the Scala 2 implementation, which was written by
    Paul Phillips and Som Snytt / A. P. Marki
    griggt committed May 9, 2022
    Configuration menu
    Copy the full SHA
    b39e3e8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    96ba466 View commit details
    Browse the repository at this point in the history
  5. Add :asmp to the REPL

    Provides bytecode disassembly using the ASM library bundled with
    the Scala compiler.
    griggt committed May 9, 2022
    Configuration menu
    Copy the full SHA
    4883a45 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fcfbe98 View commit details
    Browse the repository at this point in the history