Skip to content

Commit

Permalink
Merge pull request #389 from polystat/fixDjangoAndTodo
Browse files Browse the repository at this point in the history
Fix django and todo
  • Loading branch information
dours committed Oct 5, 2022
2 parents 979cbc8 + 26cbb58 commit 8b870e8
Show file tree
Hide file tree
Showing 24 changed files with 158 additions and 73 deletions.
12 changes: 12 additions & 0 deletions parser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,18 @@ SOFTWARE.
<artifactId>scala-library</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.scalatest</groupId>
<artifactId>scalatest_2.13</artifactId>
<version>3.2.10</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package org.polystat.py2eo.parser

import org.junit.Assert.fail
import org.junit.Test
import org.polystat.py2eo.parser.Expression.Ident
import org.polystat.py2eo.parser.Statement.{Assign, Suite}

class MapStatementsTest {

@Test def simpleAssign(): Unit = {
Parse("a = b") match {
case Some(Suite(List(Suite(List(
Assign(List(Ident("a", _), Ident("b", _)), _)
), _)), _)) => ()
case _ => fail()
}
}

@Test def longAssign(): Unit = {
Parse("a = b = c") match {
case Some(Suite(List(Suite(List(
Assign(List(Ident("a", _), Ident("b", _), Ident("c", _)), _)
), _)), _)) => ()
case _ : Any => fail()
}
}

}
8 changes: 6 additions & 2 deletions transpiler/src/main/eo/preface/pyint.eo
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,14 @@

[x] > mul
xfakeclasses.convert (pyint value) x > p
memory 0 > tmp
seq > @
if.
(xfakeclasses.has-type x (xfakeclasses.pyIntClass))
pyint (value.times (x.value))
seq
tmp.write (value.times (x.value))
tmp
pyint (tmp)
p.fst.mul (p.snd)

[x] > div
Expand Down Expand Up @@ -226,7 +230,7 @@
pyfloat (value.as-float) > @

[] > force
value.write val > @
value > @

[] > xto-int
[] > ap
Expand Down
2 changes: 1 addition & 1 deletion transpiler/src/main/eo/preface/pystring.eo
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
123

[] > to-my-array
(goto ((xmyArray.ap (*)).@)).result > a
(goto ((xmyArray.ap (pybool TRUE) (*)).@)).result > a
memory 0 > index
seq > @
(index.lt (value.length)).while
Expand Down
1 change: 1 addition & 0 deletions transpiler/src/main/eo/preface/xfakeclasses.eo
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
fakeclass 10 > pyListClass
fakeclass 13 > pyStringClass
fakeclass 17 > xpyTypeClass
fakeclass 18 > pyTupleClass

[typ1 typ2] > gt
seq > @
Expand Down
3 changes: 2 additions & 1 deletion transpiler/src/main/eo/preface/xfilter.eo
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
+package preface
+alias return preface.return
+alias xmyArray preface.xmyArray
+alias pybool preface.pybool

[] > xfilter
[f l] > ap
[stackUp] > @
(goto ((xmyArray.ap (*)).@)).result > ans
(goto ((xmyArray.ap (pybool TRUE) (*)).@)).result > ans
memory 0 > i
seq > @
(i.lt (l.value.length)).while
Expand Down
3 changes: 2 additions & 1 deletion transpiler/src/main/eo/preface/xmap.eo
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
+package preface
+alias return preface.return
+alias xmyArray preface.xmyArray
+alias pybool preface.pybool

[] > xmap
[f l] > ap
[stackUp] > @
(goto ((xmyArray.ap (*)).@)).result > ans
(goto ((xmyArray.ap (pybool TRUE) (*)).@)).result > ans
memory 0 > i
seq > @
(i.lt (l.value.length)).while
Expand Down
10 changes: 5 additions & 5 deletions transpiler/src/main/eo/preface/xmyArray.eo
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
+alias xAssertionError preface.xAssertionError

[] > xmyArray
[initValue] > ap
[is-list initValue] > ap
[stackUp] > @
cage result > pResult
[] > result
cage initValue > value
xfakeclasses.pyListClass > x__class__
is-list.if (xfakeclasses.pyListClass) (xfakeclasses.pyTupleClass) > x__class__
[] > to-my-array
pResult > @
[x] > with-value
(goto ((xmyArray.ap x).@)).result > @
(goto ((xmyArray.ap is-list x).@)).result > @
[] > xlength
[self] > ap
[stackUp] > @
Expand Down Expand Up @@ -52,7 +52,7 @@
[self what] > ap
[stackUp] > @
memory FALSE > removed
(goto ((xmyArray.ap (*)).@)).result > accum
(goto ((xmyArray.ap is-list (*)).@)).result > accum
memory 0 > i
seq > @
(i.lt (self.value.length)).while
Expand All @@ -77,7 +77,7 @@
memory TRUE > acc
memory 0 > pos
if. > res
((x.x__class__.eq (xfakeclasses.pyListClass)).value.and (value.length.eq (x.value.length)))
((x.x__class__.eq (is-list.if (xfakeclasses.pyListClass) (xfakeclasses.pyTupleClass))).value.and (value.length.eq (x.value.length)))
seq
(acc.and (pos.lt (value.length))).while
[unused]
Expand Down
4 changes: 2 additions & 2 deletions transpiler/src/main/eo/preface/xmyMap.eo
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
[] > xkeys
[self] > ap
[stackUp] > @
(goto ((xmyArray.ap (*)).@)).result > accum
(goto ((xmyArray.ap (pybool TRUE) (*)).@)).result > accum
memory 0 > i
seq > @
(i.lt (value.length)).while
Expand All @@ -143,7 +143,7 @@
[] > xkeys-internal
[] > ap
[stackUp] > @
(goto ((xmyArray.ap (*)).@)).result > accum
(goto ((xmyArray.ap (pybool TRUE) (*)).@)).result > accum
memory 0 > i
seq > @
(i.lt (value.length)).while
Expand Down
6 changes: 6 additions & 0 deletions transpiler/src/main/eo/preface/xtuple.eo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
+package preface
+alias xfakeclasses preface.xfakeclasses

[] > xtuple
xfakeclasses.pyTupleClass > @

Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
package org.polystat.py2eo.transpiler

import org.polystat.py2eo.parser.Expression.{CallIndex, CollectionCons, CollectionKind, DictCons, Ident, T}
import org.polystat.py2eo.parser.Expression.{BoolLiteral, CallIndex, CollectionCons, CollectionKind, DictCons, Ident, T}

object AddExplicitConstructionOfCollection {
def apply(e : T) : T = {
e match {
case CollectionCons(kind, l, ann)
if kind == CollectionKind.List || kind == CollectionKind.Tuple =>
CallIndex(true, Ident("xmyArray", e.ann.pos), List((None, e)), e.ann.pos)
CallIndex(
true,
Ident("xmyArray", e.ann.pos),
List((None, BoolLiteral(kind == CollectionKind.List, e.ann.pos)), (None, e)),
e.ann.pos
)
case DictCons(_, _) | CollectionCons(CollectionKind.Set, _, _) =>
CallIndex(true, Ident("xmyMap", e.ann.pos), List((None, e)), e.ann.pos)
case _ => e
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import org.polystat.py2eo.transpiler.GenericStatementPasses.{EAfterPass, NamesU}

object AddExplicitSelfToMethodCalls {
// explicitly substitute the self to each method call
// todo: does not work if a class method is returned as a function and then called
// @todo #47: This implementation does not work if a class method is returned as a function and then called
def apply(lhs : Boolean, e : T, ns : NamesU) : (EAfterPass, NamesU) = {
if (!lhs) {
e match {
Expand Down Expand Up @@ -35,7 +35,7 @@ object AddExplicitSelfToMethodCalls {
)),
ns1
)
case CallIndex(isCall, Field(_, _, _), args, ann) => ??? // todo: must be implemented as above, but a bit more complicated
case CallIndex(isCall, Field(_, _, _), args, ann) => ???
case x : Any => (Left(x), ns)
}
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ object GenericExpressionPasses {
Slice(from, to, by, ann.pos)
}
reconstruct(lhs = false, cons, l, ns)
// todo: this is a hack. We do not process the function to be called to make the
// output simpler for polystat
case CallIndex(isCall, whom, args, ann) if isCall =>
reconstruct(
false,
Expand Down Expand Up @@ -102,7 +100,7 @@ object GenericExpressionPasses {
case Right(value) =>
Suite(List(value._1, Return(Some(value._2), value._2.ann.pos)), GeneralAnnotation(value._1.ann.start, value._2.ann.stop))
}
// todo: all the keyword args must be supported in the "lambda" as well
// @todo #340: all the keyword args must be supported in the "lambda" as well
val f = FuncDef(funname, args, otherPositional.map(x => (x, None)), otherKeyword.map(x => (x, None)), None,
finalBody, Decorators(List()), HashMap(), isAsync = false, ann.pos)
(Right((f, Ident(funname, ann.pos))), ns2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,6 @@ object GenericStatementPasses {
case Raise(None, None, _) | Pass(_) | Break(_) | Continue(_) | NonLocal(_, _) | Global(_, _) | ImportModule(_, _, _) |
ImportSymbol(_, _, _, _) | ImportAllSymbols(_, _) | Return(None, _) => (s, ns)
case Del(Ident(_, _), _) => (s, ns)
// case With(cm, target, body, isAsync, ann) =>
// val (body1, ns1) = pst(body, ns)
// forceAllIfNecessary(f)((false, cm) :: target.toList.map(x => (true, x)), ns1) match {
// case Left((l, ns)) => (With(l.head, l.tail.headOption, body1, isAsync, ann.pos), ns)
// case Right((l, ns)) =>
// val w = (With(l.head._2, l.map(_._2).tail.headOption, body1, isAsync, ann.pos))
// (Suite(l.map(_._1) :+ w, ann.pos), ns)
// }
case IfSimple(cond, yes, no, ann) =>
val (yes1, ns1) = pst(yes, ns)
val (no1, ns2) = pst(no, ns1)
Expand All @@ -183,7 +175,6 @@ object GenericStatementPasses {
val (ffinally1, ns4) = pst(ffinally, ns3)
(Try(try1, List((None, catchBody1)), Some(eelse1), Some(ffinally1), ann.pos), ns4)

// todo: wow, this is a lot. Maybe we should just generate GOTOs instead of such rewriting
case While(cond, body, Some(eelse), ann) =>
val (body1, ns1) = pst(body, ns)
val (else1, ns2) = pst(eelse, ns1)
Expand Down Expand Up @@ -488,7 +479,6 @@ object GenericStatementPasses {
}
case _ => s
}
// println(s"$s \n -> $s1")
(inner(s))
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ package org.polystat.py2eo.transpiler

import org.polystat.py2eo.parser.{ArgKind, Expression, GeneralAnnotation, Statement}
import org.polystat.py2eo.parser.Expression.{
AnonFun, Assignment, Await, Binop, CallIndex, CollectionComprehension, CollectionCons, DictComprehension,
DictCons, DoubleStar, EllipsisLiteral, Field, FloatLiteral, FreakingComparison, GeneratorComprehension, Ident,
ImagLiteral, IntLiteral, Parameter, SimpleComparison, Slice, Star, StringLiteral, T, UnsupportedExpr, Yield, YieldFrom
AnonFun, Assignment, Await, Binop, CallIndex, CollectionComprehension, CollectionCons,
DictComprehension, DictCons, DoubleStar, EllipsisLiteral, Field, FloatLiteral, FreakingComparison,
GeneratorComprehension, Ident, ImagLiteral, IntLiteral, NoneLiteral, Parameter, SimpleComparison,
Slice, Star, StringLiteral, T, UnsupportedExpr, Yield, YieldFrom
}
import org.polystat.py2eo.parser.Statement.{
AnnAssign, Assert, Assign, AugAssign, Break, ClassDef, Continue, Decorators, Del, For, FuncDef, Global,
ImportAllSymbols, ImportModule, ImportSymbol, NonLocal, Pass, Raise, Return, Try, Unsupported, While, With
AnnAssign, Assert, Assign, AugAssign, Break, ClassDef, Continue, CreateConst, Decorators, Del, For,
FuncDef, Global, ImportAllSymbols, ImportModule, ImportSymbol, NonLocal, Pass, Raise, Return,
SimpleObject, Try, Unsupported, While, With
}
import org.polystat.py2eo.transpiler.GenericStatementPasses.NamesU

Expand All @@ -29,8 +31,11 @@ object MarkUnsupportedConstructions {
case CallIndex(isCall, _, args, _) if !isCall || args.exists(x => x._1.nonEmpty) =>
inner(e)
case StringLiteral(value, ann) if value.length > 1 || value.exists(
s => (s.head != '\'' && s.head != '"') || "\\\\[^\"'\\\\]".r.findFirstMatchIn(s).nonEmpty
) => inner(e)
s =>
(s.head != '\'' && s.head != '"') ||
"\\\\[^\"'\\\\]".r.findFirstMatchIn(s).nonEmpty ||
s.startsWith("'") || s.startsWith("'''") || s.startsWith("\"\"\"")
) => new UnsupportedExpr(StringLiteral(List("too complicated string"), ann.pos), List(), ann.pos)
case ImagLiteral(_, _) => inner(e)
case FloatLiteral(value, ann)
if value.contains("e") || value.contains("E") || value.endsWith(".") || value.startsWith(".") =>
Expand All @@ -57,28 +62,38 @@ object MarkUnsupportedConstructions {
}

def statements(s: Statement.T, ns: NamesU): (Statement.T, NamesU) = {
def pref(s : String) = s"x$s"
def inner(original: Statement.T, declareVars: List[String], ann: GeneralAnnotation): Unsupported = {
new Unsupported(original, declareVars, AnalysisSupport.childrenS(original)._2, AnalysisSupport.childrenS(original)._1, ann)
new Unsupported(original, declareVars.map(pref), AnalysisSupport.childrenS(original)._2, AnalysisSupport.childrenS(original)._1, ann)
}
(s match {
case CreateConst(name, value, ann) => CreateConst(pref(name), value, ann)
case Assign(List(_), _) => s
case Assign(List(Ident(_, _), _), _) => s
case Assign(l, ann) => inner(s, l.init.flatMap { case Ident(s, _) => List(s) case _ => List() }, ann.pos)
case FuncDef(name, args, otherPositional, otherKeyword, returnAnnotation, body, decorators, accessibleIdents, isAsync, ann)
if decorators.l.nonEmpty || otherKeyword.nonEmpty || otherPositional.nonEmpty || isAsync || returnAnnotation.nonEmpty ||
args.exists(x => x.default.nonEmpty || x.paramAnn.nonEmpty || x.kind == ArgKind.Keyword) =>
val body1 = inner(body, List(), body.ann.pos)
FuncDef("x" + name, args.map(a => Parameter(a.name, ArgKind.Positional, None, None, a.ann.pos)), None, None, None, body1,
FuncDef(pref(name), args.map(a => Parameter(pref(a.name), ArgKind.Positional, None, None, a.ann.pos)), None, None, None, body1,
Decorators(List()), accessibleIdents, false, ann.pos)
case FuncDef(name, args, otherPositional, otherKeyword, returnAnnotation, body, decorators, accessibleIdents, isAsync, ann) =>
FuncDef("x" + name, args, otherPositional, otherKeyword, returnAnnotation, body, decorators, accessibleIdents, isAsync, ann)
FuncDef(
pref(name),
args.map(p => Parameter(pref(p.name), p.kind, p.paramAnn, p.default, p.ann)),
otherPositional.map(x => (pref(x._1), x._2)),
otherKeyword.map(x => (pref(x._1), x._2)),
returnAnnotation, body, decorators, accessibleIdents, isAsync, ann
)
case While(_, _, None, _) => s
case While(_, _, Some(Pass(_)), _) => s
case For(_, _, _, _, _, _) | AugAssign(_, _, _, _) | Continue(_) | Break(_) | _: ClassDef | _: AnnAssign |
Assert(_, _, _) | Raise(_, _, _) | Del(_, _) | Global(_, _) | NonLocal(_, _) | With(_, _, _, _) | Try(_, _, _, _, _) |
ImportAllSymbols(_, _) | Return(_, _) | While(_, _, _, _) => inner(s, List(), s.ann.pos)
case ImportModule(what, as, _) => inner(s, as.toList, s.ann.pos)
case ImportSymbol(from, what, as, _) => inner(s, as.toList, s.ann.pos)
case ImportModule(what, as, _) => inner(s, as.toList.map("x" + _), s.ann.pos)
case ImportSymbol(from, what, as, _) => inner(s, as.toList.map("x" + _), s.ann.pos)
case SimpleObject(name, decorates, fields, ann) =>
SimpleObject(pref(name), decorates, fields.map(x => (pref(x._1), x._2)), ann)
case _ => s
}, ns)
}
Expand Down

1 comment on commit 8b870e8

@0pdd
Copy link
Member

@0pdd 0pdd commented on 8b870e8 Oct 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't able to retrieve PDD puzzles from the code base and submit them to github. If you think that it's a bug on our side, please submit it to yegor256/0pdd:

set -x && set -e && set -o pipefail && cd /tmp/0pdd20221005-13-19mgoa3/Z2l0QGdpdGh1Yi5jb206cG9seXN0YXQvcHkyZW8uZ2l0 && pdd -v -f /tmp/20221005-31165-1dzzbce [1]: + set -e + set -o pipefail + cd /tmp/0pdd20221005-13-19mgoa3/Z2l0QGdpdGh1Yi5jb206cG9seXN0YXQvcHkyZW8uZ2l0 + pdd -v -f...

Please, copy and paste this stack trace to GitHub:

UserError
set -x && set -e && set -o pipefail && cd /tmp/0pdd20221005-13-19mgoa3/Z2l0QGdpdGh1Yi5jb206cG9seXN0YXQvcHkyZW8uZ2l0 && pdd -v -f /tmp/20221005-31165-1dzzbce [1]:
+ set -e
+ set -o pipefail
+ cd /tmp/0pdd20221005-13-19mgoa3/Z2l0QGdpdGh1Yi5jb206cG9seXN0YXQvcHkyZW8uZ2l0
+ pdd -v -f /tmp/20221005-31165-1dzzbce

My version is 0.21.3
Ruby version is 2.7.5 at x86_64-linux
Reading from root dir /tmp/0pdd20221005-13-19mgoa3/Z2l0QGdpdGh1Yi5jb206cG9seXN0YXQvcHkyZW8uZ2l0
Reading runEO/pom.xml ...
Reading .gitignore ...
Reading README.md ...
Reading Dockerfile ...
Reading transpiler/pom.xml ...
Reading transpiler/src/main/eo/xmodules/xmath.eo ...
Reading transpiler/src/main/eo/preface/xmyMap.eo ...
Reading transpiler/src/main/eo/preface/continue.eo ...
Reading transpiler/src/main/eo/preface/pair.eo ...
Reading transpiler/src/main/eo/preface/xfakeclasses.eo ...
Reading transpiler/src/main/eo/preface/xfloat.eo ...
Reading transpiler/src/main/eo/preface/xValueError.eo ...
Reading transpiler/src/main/eo/preface/xtuple.eo ...
Reading transpiler/src/main/eo/preface/xBaseException.eo ...
Reading transpiler/src/main/eo/preface/xmap.eo ...
Reading transpiler/src/main/eo/preface/xiter.eo ...
Reading transpiler/src/main/eo/preface/pyfloat.eo ...
Reading transpiler/src/main/eo/preface/xTypeError.eo ...
Reading transpiler/src/main/eo/preface/pyint.eo ...
Reading transpiler/src/main/eo/preface/xZeroDivisionError.eo ...
Reading transpiler/src/main/eo/preface/break.eo ...
Reading transpiler/src/main/eo/preface/xrange.eo ...
Reading transpiler/src/main/eo/preface/xAssertionError.eo ...
Reading transpiler/src/main/eo/preface/xsum.eo ...
Reading transpiler/src/main/eo/preface/pycomplex.eo ...
Reading transpiler/src/main/eo/preface/pybool.eo ...
Reading transpiler/src/main/eo/preface/raiseNothing.eo ...
Reading transpiler/src/main/eo/preface/xlist.eo ...
Reading transpiler/src/main/eo/preface/newUID.eo ...
Reading transpiler/src/main/eo/preface/xmyArray.eo ...
Reading transpiler/src/main/eo/preface/raiseEmpty.eo ...
Reading transpiler/src/main/eo/preface/mkCopy.eo ...
Reading transpiler/src/main/eo/preface/xlen.eo ...
Reading transpiler/src/main/eo/preface/xstr.eo ...
Reading transpiler/src/main/eo/preface/xint.eo ...
Reading transpiler/src/main/eo/preface/xStopIteration.eo ...
Reading transpiler/src/main/eo/preface/xfilter.eo ...
Reading transpiler/src/main/eo/preface/pystring.eo ...
Reading transpiler/src/main/eo/preface/return.eo ...
Reading transpiler/src/main/eo/my-array.eo ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/PrintLinearizedMutableEOWithCage.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/SimplifyAssigmentToIndex.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/Main.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/Transpile.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/ConcatStringLiteral.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/SimplifyComprehension.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/ExtractAllCalls.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/SimplifyFor.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/AddExplicitConstructionOfCollection.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/SimplifyAnnotation.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/SimplifyExceptions.scala ...
Puzzle 331-03e94078 0/DEV at transpiler/src/main/scala/org/polystat/py2eo/transpiler/SimplifyExceptions.scala
Puzzle 331-f66acb36 0/DEV at transpiler/src/main/scala/org/polystat/py2eo/transpiler/SimplifyExceptions.scala
Puzzle 331-db43ae41 0/DEV at transpiler/src/main/scala/org/polystat/py2eo/transpiler/SimplifyExceptions.scala
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/PrefixIdentsWithX.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/ComputeAccessibleIdents.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/SimplifyIf.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/SimplifyAssert.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/SimplifyAssignmentList.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/SubstituteExternalIdent.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/MarkUnsupportedConstructions.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/PrintEO.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/GenericStatementPasses.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/SimplifyWith.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/AddExplicitSelfToMethodCalls.scala ...
Puzzle 47-e9d91baf 0/DEV at transpiler/src/main/scala/org/polystat/py2eo/transpiler/AddExplicitSelfToMethodCalls.scala
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/SimplifyAssignmentToCollectionCons.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/GenericExpressionPasses.scala ...
Puzzle 340-1f69bc36 0/DEV at transpiler/src/main/scala/org/polystat/py2eo/transpiler/GenericExpressionPasses.scala
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/Common.scala ...
Reading transpiler/src/main/scala/org/polystat/py2eo/transpiler/AnalysisSupport.scala ...
Reading transpiler/src/main/java/org/polystat/py2eo/transpiler/dummy.java ...
Reading transpiler/src/main/python/inheritance.py ...
Reading transpiler/src/main/python/C3.py ...
Reading transpiler/src/main/python/closureRuntime.py ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/django-pom.xml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/eo/map-tests.eo ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/dictionary-displays/dict-display-comprehension.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/dictionary-displays/dict-display.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/comprehension-expression/comprehension-expression-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/list-displays/list-display.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/list-displays/list-simple-display.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/evaluation-order/eval_doc.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/evaluation-order/operator_doc.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/evaluation-order/evaluation-order-plus.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/conditional/conditional-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/conditional/conditional-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/lambda/lambda2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/lambda/lambda1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/lambda/lambda3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/lambda/lambda_doc.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/literals/float_literal.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/literals/int_literal.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/literals/string_literal.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-4.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-15.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-7.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-6.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-14.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-8.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-18.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-16.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-9.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-5.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-13.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-10.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-19.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-20.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-11.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-12.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetic-conversions/conversion-17.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/attribute-reference/attribute-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/attribute-reference/attribute-3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/attribute-reference/attribute-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/bitwise-operators/bitwise-and.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/bitwise-operators/bitwise-xor.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/bitwise-operators/bitwsie-or.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/parenthesized-forms/parenthesized-expression-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/parenthesized-forms/parenthesized-expression-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/comparisons/comparison-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/comparisons/comparison-5.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/comparisons/comparison-3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/comparisons/comparison-4.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/comparisons/comparison-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/comparisons/comparison-6.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/unary-operators/unary-minus.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/unary-operators/unary-plus.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/unary-operators/unary-invert.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/set-displays/set-display-comprehension.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/power-operator/power-operator.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/shifting-operators/shifting-left.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/shifting-operators/shifting-right.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/boolean-operators/booleanAnd.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/boolean-operators/booleanOr.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/boolean-operators/booleanNot.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/expressions/arithmetics/arithmetics-integer.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/function-def/eo_blocked_def-unpacking-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/function-def/def_doc.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/function-def/eo_blocked_def-3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/function-def/def-5.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/function-def/eo_blocked_def-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/function-def/eo_blocked_def-unpacking-3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/function-def/eo_blocked_def-4.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/function-def/eo_blocked_def-unpacking-5.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/function-def/eo_blocked_def-unpacking-4.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/function-def/eo_blocked_def-unpacking-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/function-def/eo_blocked_def-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/class/multiple-inheritance.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/class/simplest-derived-class.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/class/virtual-method-call.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/class/constructor-arguments.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/class/my-list.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/class/inheritance-test.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/class/projection-sample.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/class/simplest-class.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/try/exceptions-finally-3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/try/exceptions-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/try/exceptions-else-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/try/try_doc.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/try/exceptions-0.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/try/exceptions-break-else-finally.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/try/my_range.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/if/if-4.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/if/if-7.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/if/if-else-if.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/if/if_doc_1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/if/if-12.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/if/if-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/if/if-6.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/if/if-10.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/if/if-3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/if/if-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/if/if_doc_3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/if/if-5.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/if/if_doc_2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/for/for_else.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/for/for_doc_1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/for/my_range_for.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/for/for_test1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/with/with-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/while/trivial.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/while/while-3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/while/while_doc.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/while/while-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/while/while-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/while/while-4.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/compound-statements/while/else_while.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/library/set/set-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/library/set/set-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/library/print/print-string.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/library/list/list-6.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/library/list/list-4.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/library/list/list-append.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/library/list/list-len.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/library/list/list-def-len.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/library/list/list-3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/library/list/list-get.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/library/list/list-5.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/library/dictionary/dict-4.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/library/dictionary/dict-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/library/dictionary/dict-3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/library/dictionary/dict-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/annotated-assignment/annotated-3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/annotated-assignment/annotated-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/annotated-assignment/annotated-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/assert/assert-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/assert/assert-4.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/assert/assert-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/assert/assert-3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/nonlocal/nonlocal.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/assign/assign-3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/assign/assign-4.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/assign/assign_doc.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/assign/augmented.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/assign/assign-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/assign/assignment-list.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/assign/assign-6.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/assign/assign-5.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/assign/assign-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/for_break.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/while_try_except_else.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/for_try_finally_break.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/nested_while_break1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/nfbe.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/for_try_break_else_finally.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/nfb1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/nested_while_break2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/while_break2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/while_break_else.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/while_except.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/for_break_else.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/for_try_else_break.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/for_try_except_break_finally.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/nfb2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/for_try_break.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/while_try_break.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/while_break1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/while_break3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break/nfb3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/return/return-4.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/return/return-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/return/return-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/return/return-3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/expression-statement/expression-statement-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/expression-statement/expression-statement-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/continue/for_try_else_continue2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/continue/nested_while_continue.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/continue/fcn.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/continue/for_try_else_continue1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/continue/for_else_continue.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/continue/for_continue.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/continue/for_try_continue_else_finally.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/continue/while_try_except_finally.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/continue/while_continue.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/continue/fbcn.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/import/import-4.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/import/import-2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/import/import-3.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/import/own_module.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/import/import-5.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/import/import-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/pass/pass-1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break-continue/while_try_else_continue_break.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break-continue/for_try_else_finally.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break-continue/while_break_continue2.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break-continue/while_break_continue1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break-continue/for_try_else_continue_break.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break-continue/n1.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break-continue/eo_blocked_nfbce.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/simple-statements/break-continue/nested_while_break_continue.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/parser/whitespaces.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/parser/explicit-line-joining.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/parser/comments.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/simple-tests/parser/indentation.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/dummy_tests/modern_python.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/dummy_tests/broken_python.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/dummy_tests/javaCode.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/dummy_tests/javaScript.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/dummy_tests/cPlusPlus.yaml ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/integrationTests/test.py ...
Reading transpiler/src/test/resources/org/polystat/py2eo/transpiler/integrationTests/goto.eo ...
Reading transpiler/src/test/scala/org/polystat/py2eo/transpiler/Commons.scala ...
Reading transpiler/src/test/scala/org/polystat/py2eo/transpiler/CPythonTests.scala ...
Reading transpiler/src/test/scala/org/polystat/py2eo/transpiler/TestGenModules.scala ...
Reading transpiler/src/test/scala/org/polystat/py2eo/transpiler/SimplifyAssertTest.scala ...
Reading transpiler/src/test/scala/org/polystat/py2eo/transpiler/DummyTests.scala ...
Reading transpiler/src/test/scala/org/polystat/py2eo/transpiler/DjangoTest.scala ...
Reading transpiler/src/test/scala/org/polystat/py2eo/transpiler/Counter.scala ...
Reading transpiler/src/test/scala/org/polystat/py2eo/transpiler/RunSingle.scala ...
Reading transpiler/src/test/scala/org/polystat/py2eo/transpiler/TestEnabledCounter.scala ...
Reading transpiler/src/test/scala/org/polystat/py2eo/transpiler/SimplifyIfTest.scala ...
Reading transpiler/src/test/scala/org/polystat/py2eo/transpiler/TestsSimple.scala ...
Reading .rultor.yml ...
Reading pom.xml ...
Reading checker/README.md ...
Reading checker/pom.xml ...
Reading checker/src/main/resources/org/polystat/py2eo/checker/head.html ...
Reading checker/src/main/scala/org/polystat/py2eo/checker/Main.scala ...
Reading checker/src/main/scala/org/polystat/py2eo/checker/Mutate.scala ...
Reading checker/src/main/scala/org/polystat/py2eo/checker/Check.scala ...
Reading checker/src/main/scala/org/polystat/py2eo/checker/Write.scala ...
Reading checker/src/main/scala/org/polystat/py2eo/checker/WriteConstructions.scala ...
Reading checker/src/main/scala/org/polystat/py2eo/checker/TestResult.scala ...
Reading checker/src/main/java/org/polystat/py2eo/checker/dummy.java ...
Reading LICENSE.txt ...
Reading .github/workflows/xcop.yml ...
Reading .github/workflows/github-ci.yml ...
Reading .github/workflows/pdd.yml ...
Reading .github/workflows/checker.yml ...
Reading .github/workflows/counter.yaml ...
Reading .github/workflows/cpython.yaml ...
Reading .github/workflows/django.yaml ...
Reading scalastyle_config.xml ...
ERROR: scalastyle_config.xml; PDD::Error at scalastyle_config.xml:233: TODO must have a leading space to become a puzzle, as this page explains: https://github.com/cqfn/pdd#how-to-format
If you can't understand the cause of this issue or you don't know how to fix it, please submit a GitHub issue, we will try to help you: https://github.com/cqfn/pdd/issues. This tool is still in its beta version and we will appreciate your feedback. Here is where you can find more documentation: https://github.com/cqfn/pdd/blob/master/README.md.
Exit code is 1

/app/objects/git_repo.rb:73:in `rescue in block in xml'
/app/objects/git_repo.rb:70:in `block in xml'
/app/vendor/ruby-2.7.5/lib/ruby/2.7.0/tempfile.rb:291:in `open'
/app/objects/git_repo.rb:69:in `xml'
/app/objects/puzzles.rb:41:in `deploy'
/app/objects/jobs/job.rb:38:in `proceed'
/app/objects/jobs/job_starred.rb:32:in `proceed'
/app/objects/jobs/job_recorded.rb:31:in `proceed'
/app/objects/jobs/job_emailed.rb:33:in `proceed'
/app/objects/jobs/job_commiterrors.rb:33:in `proceed'
/app/objects/jobs/job_detached.rb:48:in `exclusive'
/app/objects/jobs/job_detached.rb:36:in `block in proceed'
/app/objects/jobs/job_detached.rb:36:in `fork'
/app/objects/jobs/job_detached.rb:36:in `proceed'
/app/0pdd.rb:518:in `process_request'
/app/0pdd.rb:355:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1686:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1686:in `block in compile!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1023:in `block (3 levels) in route!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1042:in `route_eval'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1023:in `block (2 levels) in route!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1071:in `block in process_route'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1069:in `catch'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1069:in `process_route'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1021:in `block in route!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1018:in `each'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1018:in `route!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1140:in `block in dispatch!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1112:in `block in invoke'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1112:in `catch'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1112:in `invoke'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1135:in `dispatch!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:949:in `block in call!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1112:in `block in invoke'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1112:in `catch'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1112:in `invoke'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:949:in `call!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:938:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.2/lib/rack/protection/xss_header.rb:18:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.2/lib/rack/protection/path_traversal.rb:16:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.2/lib/rack/protection/json_csrf.rb:26:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.2/lib/rack/protection/base.rb:50:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.2/lib/rack/protection/base.rb:50:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.2/lib/rack/protection/frame_options.rb:31:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.4/lib/rack/logger.rb:17:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.4/lib/rack/common_logger.rb:38:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:255:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:248:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.4/lib/rack/head.rb:12:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.4/lib/rack/method_override.rb:24:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:218:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1993:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1553:in `block in call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1769:in `synchronize'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1553:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.4/lib/rack/handler/webrick.rb:95:in `service'
/app/vendor/ruby-2.7.5/lib/ruby/2.7.0/webrick/httpserver.rb:140:in `service'
/app/vendor/ruby-2.7.5/lib/ruby/2.7.0/webrick/httpserver.rb:96:in `run'
/app/vendor/ruby-2.7.5/lib/ruby/2.7.0/webrick/server.rb:307:in `block in start_thread'

Please sign in to comment.