Skip to content

Commit

Permalink
make "unsupported" EO compilable again
Browse files Browse the repository at this point in the history
  • Loading branch information
dours committed Jun 20, 2022
1 parent b79261a commit 1e672f2
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,18 @@ object Transpile {

PrintEO.printSt(
moduleName, hacked,
"+package org.eolang" :: "+junit" :: globals.map(name => s"memory 0 > $name").toList
"+package org.eolang" ::
"+alias pyint preface.pyint" ::
"+alias pyfloat preface.pyfloat" ::
"+alias pystring preface.pystring" ::
"+alias pybool preface.pybool" ::
"+junit" ::

"pyint 0 > dummy-int-usage" ::
"pystring 0 > dummy-string-usage" ::
"pyfloat 0 > dummy-float-usage" ::
"pybool TRUE > dummy-bool-usage" ::
globals.map(name => s"memory 0 > $name").toList
)
.mkString("\n")

Expand Down

0 comments on commit 1e672f2

Please sign in to comment.