-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 12 additions & 4 deletions
16
src/org/rascalmpl/core/library/lang/rascalcore/compile/Examples/Tst2.rsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
//@bootstrapParser | ||
module lang::rascalcore::compile::Examples::Tst2 | ||
|
||
import lang::rascalcore::compile::Examples::Tst1; | ||
import IO; | ||
import ValueIO; | ||
extend lang::rascalcore::check::CheckerCommon; | ||
|
||
loc EXCEPTIONTPL1 | ||
= |jar+file:///Users/paulklint/.m2/repository/org/rascalmpl/rascal/0.40.8-SNAPSHOT/rascal-0.40.8-SNAPSHOT.jar!rascal/$Exception.tpl|; | ||
|
||
|
||
|
||
public int T2 = T1 + 2; | ||
loc VersionTPL = |file:///Users/paulklint/git/generated-sources/target/typepal/generated-resources/src/main/java/rascal/analysis/typepal/$Version.tpl|; | ||
void main(){ | ||
tm = readBinaryValueFile(#TModel, VersionTPL); | ||
iprintln(tm.logical2physical); | ||
println("usesPhysicalLocs: <tm.usesPhysicalLocs?>, <tm has usesPhysicalLocs>, <tm.usesPhysicalLocs>"); | ||
// println("convertedToPhysical: <tm.convertedToPhysical?>, <tm has convertedToPhysical>, <tm.convertedToPhysical>"); | ||
} |