Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Mar 13, 2024
1 parent e6a3a64 commit 2515961
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
<dependency>
<groupId>org.rascalmpl</groupId>
<artifactId>rascal</artifactId>
<version>0.36.1-RC1</version>
<version>0.36.1-RC2-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ tuple[bool,loc] getTPLReadLoc(str qualifiedModuleName, PathConfig pcfg){
if(traceTPL) println("getTPLReadLoc: DOES NOT EXIST: <fileLoc>");
}
}
//println("getDerivedReadLoc: <qualifiedModuleName> =\> |error:///|");
return <false, |error:///|>;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
module lang::rascalcore::compile::Examples::Tst3

data X(int right = 10/*, int rightsq = right * right*/) = ry(/*int rightcb = rightsq * right*/);
import IO;
import util::Reflective;
import lang::rascalcore::compile::Compile;

void main(){
pcfg = pathConfig(
srcs = [
|home:///git/typepal//src|
],
bin = |project://rascal-core/target/test-classes|,
generatedSources = |project://rascal-core/target/generated-test-sources|,
resources = |project://rascal-core/target/generated-test-resources|,
libs = [ |lib://rascal/| ]
);
msgs = compile("Boolean", rascalCompilerConfig(pcfg)[logPathConfig=true]);
iprintln(msgs);
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
module lang::rascalcore::compile::Examples::Tst5

//public rel[str s, int n] filterRelWorking(rel[str s, int n] inRel, set[str] relFilter) {
// return { < s, n > | < s, n > <- inRel, s in relFilter };
//}
public rel[str s, int n] filterRelBroken(rel[str s, int n] inRel, set[str] relFilter) {
return { t | t:< s, n > <- inRel };
// #1464
//int f6(&T x) { return x; }

//#1855

import ParseTree;
//import IO;
bool main(){

if(appl(r:regular(\iter-star(_)),
args:
!
[])
:= appl(regular(\iter-star(sort("A"))), [char(0)])){
return true;
} else {
return false;
}
}


//import List;
//
//value main(){
Expand Down

0 comments on commit 2515961

Please sign in to comment.