Reputation: 262
Is it possible to parse Java files that are external to the eclipse environment? I have only realised operations related to obtaining an AST(s) from Eclipse file (or projects).
Does the current version of Rascal support Java 8?
Upvotes: 2
Views: 183
Reputation: 6696
Yes to the first question:
lang::java::m3::Core::createM3FromDirectory
, or read its definition and make your own version. setEnvironmentOptions
to the JDT's Java compiler for controlling the classpath and the sourcepath of the compiler. To the second question:
Upvotes: 2