in reply to Re: Help for translation
in thread Help for translation

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^3: Help for translation
by Corion (Patriarch) on Aug 04, 2019 at 16:17 UTC

    Maybe now you can tell us what exactly the problem is?

    What language is the source code you have in? What steps have you already taken to translate it to Perl 5? Where exactly are you having problems?

    Are your problems with the syntax? Are your problems with understanding what the program does in its original form?

    Maybe you just need to run the program using the Perl 6 / Raku / Rakudo interpreter instead of the Perl 5 interpreter?

Re^3: Help for translation
by holli (Abbot) on Aug 04, 2019 at 16:26 UTC
    Actually, translating this and making sure the translation is correct is a day worth of work, maybe half a day if there are tests and the programmer is experienced in both languages.


    holli

    You can lead your users to water, but alas, you cannot drown them.

      Good morning Holli

      Would you be so kind to help me on the translation? The code is at https://rosettacode.org/wiki/N-body_problem#Perl_6

      Kepler

        I think it will be far easier to port the C code to Perl 5 than to start out with the Perl 6 code and port it to Perl 5.

        But in both cases, you will have to understand the original code.

        So, maybe, again, now is a good time to tell us where exactly you are having problems with translating the code? This website is not a code writing service and we expect you to spend some effort on the problem and your implementation.

Re^3: Help for translation
by LanX (Saint) on Aug 04, 2019 at 17:33 UTC
    Well it took me half an hour to look up the details and respond to you.

    I repent, won't happen again! :'(

    Why don't you simply install Perl 6 and run it in the proper engine?

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

      Hi Rolf

      The reason for not running it Perl6 has to do with my VPS, and the way it is configured. So regardless the reason, I would apreciate some help in the translation.

      Clear skies

      Kepler