dours
dours
(because files like seq.eo are downloaded each time)
0+1=0
This fails ``` [] > infinite-loop cage > x cage > tmp [value] > pyint [y] > add pyint (value.plus (y.value)) > @ seq > @ x.write (pyint 0) tmp.write...
This one fails ``` +package org.eolang +junit [] > assign-3 [value] > pybool value > @ [value] > pyint [x] > eq pybool (value.eq (x.value)) > @ [x] > add...
Consider this python code ``` while True: break ``` We can translate it this way ``` goto [doBreak] TRUE.while doBreak.forward 0 ``` Now consider this: ``` flag = 5 while...
This test fails: ``` [] > x [y] > add1 y.add 1 > @ (* add1) > arr (arr.get 0) 33 > @ ```
```g4 assignment_expression ::= [identifier ":="] expression ``` An assignment expression (sometimes also called a “named expression” or “walrus”) assigns an expression to an identifier, while also returning the value of...
``` +package preface +alias cage org.eolang.cage +junit [] > test [init] > mycage [value] > wrapper cage (wrapper init) > value [new-value] > write value.write (wrapper new-value) > @ value.value...
That is, imagine we have a file f.eo, which uses object `ob`, which is declared in a file preface/ob.eo under current working directory. An alias like `+alias ob preface.ob` is...
This test: ``` +package org.eolang [unused] > test [unused] > apply 0 > @ apply 0 > @ ``` leads to: java.lang.RuntimeException: java.io.FileNotFoundException: ./transpiler/src/apply.eo (No such file or directory)