Questions tagged [scalap]

Scala class file decoder for the Scala 2 language

The scalap tool reads a class file generated by theScala compiler, and displays object and class definitions.

By default, scalap looks for the given class file in the current directory

For more details check this

2 questions
6
votes
1 answer

Is it possible to use scalap from a scala script?

I am using scalap to read out the field names of some case classes (as discussed in this question). Both the case classes and the code that uses scalap to analyze them have been compiled and put into a jar file on the classpath. Now I want to run a…
Roland Ewald
  • 4,630
  • 3
  • 35
  • 49
4
votes
2 answers

Why do i need Scala compiler at runtime? (Play2/Salat with Scalap dependency)

I'm using Scala / Mongo / Casbah / Salat / Play2 and when i try to use Salat it seems it has a dependency to Scalap. It works fine when running the application with play run but with play start i get the following stack: [info] application - Can't…
Sebastien Lorber
  • 89,644
  • 67
  • 288
  • 419