Skip to content

Commit

Permalink
bookkeeping and fixing small problems
Browse files Browse the repository at this point in the history
  • Loading branch information
grammarware committed Jul 27, 2012
1 parent 931e188 commit cb71d9f
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 40 deletions.
7 changes: 7 additions & 0 deletions .travis.ym
@@ -0,0 +1,7 @@
script: "make test"
notifications:
email:
recipients:
- vadim@grammarware.net
on_success: never
on_failure: always
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -8,7 +8,7 @@ rebuild-xbgf:
cd topics/transformation/xbgf; make rebuild

test:
make build
cd topics/transformation/xbgf/tests && make testfull

clean:
rm -f *~
2 changes: 1 addition & 1 deletion shared/rascal/src/normal/ANF.rsc
Expand Up @@ -69,7 +69,7 @@ CBGFSequence normAllStages(BGFGrammar gr)
}
}
//iprintln(c1);
// now we can have constuctions like this:
// now we can have constructions like this:
// expression ::= (expression1 | expression2 | expression3 | expression | id | number) ;
// with cleverly hidden reflexive chain rules
//for (p <- g.prods, production(str l,str n,choice(L)) := p, [*L1,nonterminal(n),*L2] := L)
Expand Down
66 changes: 33 additions & 33 deletions topics/implementation/busses/Koblenz.dot
@@ -1,49 +1,49 @@
digraph Metro { node [shape=box]

"Peter-Kl&ouml;ckner-Stra&szlig;e" -> "Verwaltungszentrum"
"Langemarckplatz" -> "Johannesstra&szlig;e"
"R&uuml;benacher Stra&szlig;e" -> "Im Acker"
"Eduard-M&uuml;ller-Stra&szlig;e" -> "In der Goldgrube"
"Bl&uuml;cherstra&szlig;e" -> "Marienhof"
"Am Alten Sch&uuml;tenplatz" -> "Eulenhorst"
"Closterbrauerei" -> "R&uuml;benacher Stra&szlig;e"
"Balduinbr&uuml;cke" -> "Sch&uuml;llerplatz"
"Johannesstra&szlig;e" -> "Bubenheimer Weg"
"Saarplatz" -> "Franz-Weis-Stra&szlig;e"
"Kirmesplatz" -> "Raiffaisenstra&szlig;e"
"Br&uuml;derhaus" -> "Roonstra&szlig;e"
"St-Elisabeth-Kirche" -> "Bl&uuml;cherstra&szlig;e"
"Pfaffengasse" -> "Bienenst&uuml;ck"
"Franz-Weis-Stra&szlig;e" -> "St-Elisabeth-Kirche"
"Peter-Kl?ckner-Stra?e" -> "Verwaltungszentrum"
"Langemarckplatz" -> "Johannesstra?e"
"R?benacher Stra?e" -> "Im Acker"
"Eduard-M?ller-Stra?e" -> "In der Goldgrube"
"Bl?cherstra?e" -> "Marienhof"
"Am Alten Sch?tenplatz" -> "Eulenhorst"
"Closterbrauerei" -> "R?benacher Stra?e"
"Balduinbr?cke" -> "Sch?llerplatz"
"Johannesstra?e" -> "Bubenheimer Weg"
"Saarplatz" -> "Franz-Weis-Stra?e"
"Kirmesplatz" -> "Raiffaisenstra?e"
"Br?derhaus" -> "Roonstra?e"
"St-Elisabeth-Kirche" -> "Bl?cherstra?e"
"Pfaffengasse" -> "Bienenst?ck"
"Franz-Weis-Stra?e" -> "St-Elisabeth-Kirche"
"Hauptbahnhof" -> "Christuskirche"
"Lindenstra&szlig;e" -> "Br&uuml;derhaus"
"Kurt-Schumacher-Br&uuml;cke" -> "Winninger Stra&szlig;e"
"Lindenstra?e" -> "Br?derhaus"
"Kurt-Schumacher-Br?cke" -> "Winninger Stra?e"
"Oberweiher" -> "Uni"
"Sportplatz" -> "Kirmesplatz"
"Closterbrauerei" -> "In der Wegl&auml;nge"
"Sch&uuml;llerplatz" -> "An der Ringmauer"
"Closterbrauerei" -> "In der Wegl?nge"
"Sch?llerplatz" -> "An der Ringmauer"
"Trifter Weg" -> "Pfaffengasse"
"Christuskirche" -> "Zentralplatz"
"An der Ringmauer" -> "Langemarckplatz"
"Roonstra&szlig;e" -> "Christuskirche"
"Roonstra?e" -> "Christuskirche"
"Bubenheimer Weg" -> "Closterbrauerei"
"L&ouml;hr-Center" -> "Ludwig-Erhard-Stra&szlig;e"
"Winninger Stra&szlig;e" -> "Oberweiher"
"In der Wegl&auml;nge" -> "Trifter Weg"
"L?hr-Center" -> "Ludwig-Erhard-Stra?e"
"Winninger Stra?e" -> "Oberweiher"
"In der Wegl?nge" -> "Trifter Weg"
"Marienhof" -> "Verwaltungszentrum"
"L&ouml;hr-Center" -> "Saarplatz"
"L?hr-Center" -> "Saarplatz"
"Im Acker" -> "Sportplatz"
"Verwaltungszentrum" -> "Kurt-Schumacher-Br&uuml;cke"
"Christuskirche" -> "L&ouml;hr-Center"
"L&ouml;hr-Center" -> "Balduinbr&uuml;cke"
"Verwaltungszentrum" -> "Kurt-Schumacher-Br?cke"
"Christuskirche" -> "L?hr-Center"
"L?hr-Center" -> "Balduinbr?cke"
"Eulenhorst" -> "Oberweiher"
"Zentralplatz" -> "L&ouml;hr-Center"
"Overbergplatz" -> "Eduard-M&uuml;ller-Stra&szlig;e"
"Raiffaisenstra&szlig;e" -> "Am Alten Sch&uuml;tenplatz"
"Ludwig-Erhard-Stra&szlig;e" -> "Peter-Kl&ouml;ckner-Stra&szlig;e"
"In der Goldgrube" -> "Lindenstra&szlig;e"
"Zentralplatz" -> "L?hr-Center"
"Overbergplatz" -> "Eduard-M?ller-Stra?e"
"Raiffaisenstra?e" -> "Am Alten Sch?tenplatz"
"Ludwig-Erhard-Stra?e" -> "Peter-Kl?ckner-Stra?e"
"In der Goldgrube" -> "Lindenstra?e"

"Closterbrauerei" [shape=ellipse]
"L&ouml;hr-Center" [shape=ellipse]
"L?hr-Center" [shape=ellipse]
"Christuskirche" [shape=ellipse]
}
3 changes: 1 addition & 2 deletions topics/implementation/busses/src/Busses.rsc
Expand Up @@ -10,7 +10,7 @@ import ParseTree;
start syntax System = Line+;
syntax Line = Num ":" {Id ","}+ "." ;
layout WS = [\ \t\n\r]* !>> [\ \t\n\r];
lexical Id = [A-Za-z][A-Za-zŸŠš\-\ ]+[A-Za-z] !>> [A-Za-z];
lexical Id = [A-Za-z][A-Za-zŸŠš§\-\ ]+[A-Za-z] !>> [A-Za-z];
lexical Num = [0-9]+ !>> [0-9];

rel[Id,Id] extractGraph(loc source) =
Expand All @@ -32,7 +32,6 @@ void synthesizeDotGraph(loc source, loc target)
public void main()
{
//parse(#start[System],|home:///projects/slps/topics/implementation/busses/Koblenz.bus|);
synthesizeDotGraph( |home:///projects/slps/topics/implementation/busses/Koblenz.bus|,
|home:///projects/slps/topics/implementation/busses/Koblenz.dot|);
}
Expand Down
6 changes: 3 additions & 3 deletions topics/transformation/xbgf/Makefile
@@ -1,7 +1,7 @@
build:
cd tests && make build
cd apps && make build
cd ../../convergence/fl && make build
cd ../../convergence/xbgf/fl && make build

rebuild:
make clean
Expand All @@ -10,11 +10,11 @@ rebuild:
test:
cd apps && make test
cd tests && make test
cd ../../convergence/fl && make test
cd ../../convergence/xbgf/fl && make test

clean:
rm -f *~
cd tests && make clean
cd apps && make clean
cd ../../convergence/fl && make clean
cd ../../convergence/xbgf/fl && make clean

0 comments on commit cb71d9f

Please sign in to comment.