Giter VIP home page Giter VIP logo

Comments (5)

JalonSolov avatar JalonSolov commented on June 23, 2024

Only tried with v originally, then decided to try translating to other langs... same error. So it's not the output type that matters, only the contents of the python script being translated.

from py2many.

div72 avatar div72 commented on June 23, 2024

@JalonSolov Only the Dart backend seems to support string multiplication from what I can see from tests/test_unsupported.py:204. I've created a PR to add support for the V backend but that file needs some work before it could be transpiled. (file needs some type annotations, object subclass is redundant now, backends will still stumble on something like lambdas)

from py2many.

JalonSolov avatar JalonSolov commented on June 23, 2024

V should be fairly easy to support for that - turn it into a .repeat() call.

I tried with Go and Nim and got the same error, but it appeared to work with Rust. At least it generated a file with no error messages.

from py2many.

div72 avatar div72 commented on June 23, 2024

V should be fairly easy to support for that - turn it into a .repeat() call.

See #553.

I tried with Go and Nim and got the same error, but it appeared to work with Rust. At least it generated a file with no error messages.

I'm surprised, does the generated file actually work?

from py2many.

JalonSolov avatar JalonSolov commented on June 23, 2024

I don't do Rust, so I have no idea. :-)

from py2many.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.