This is a simple script to help me see the bytecode when plaing with Scala 3.
All it does is parallelises the calls to
javap command that should available if you have JDK installed.
Just Ammonite - https://ammonite.io/
For example, running it in watch mode, pointing it at the target folder with classes:
amm -w dump-bytecode.sc --classesFolder $(pwd)/scala3/target/scala-3.0.0-M3/classes --bytecodeFolder $(pwd)/bytecode-scala
WARNING: the script will delete all
*.bytecode files (and only them) from the target folder