Any Programmers Here Want To Add to RosettaCode

Page 1 of 1 [ 3 posts ] 

Fenn
Veteran
Veteran

User avatar

Joined: 1 Sep 2014
Gender: Male
Posts: 2,458
Location: Pennsylvania

13 Nov 2022, 9:37 pm

I like this site:

https://rosettacode.org/

You can get to a random page here:

https://rosettacode.org/wiki/Special:Random

Challenge: Choose a Random Rosetta Code Page - Add A Solution For a Language you know, that is missing a solution.
(If the page already has solutions for all the languages you know, choose a new random page).

Post a reply to this Topic with Link to your page and your solution.



Fenn
Veteran
Veteran

User avatar

Joined: 1 Sep 2014
Gender: Male
Posts: 2,458
Location: Pennsylvania

15 Nov 2022, 2:20 pm

Just added

https://rosettacode.org/wiki/Sierpinski_triangle#Bash

(modified to make previous example into "pure-bash")


_________________
ADHD-I(diagnosed) ASD-HF(diagnosed)
RDOS scores - Aspie score 131/200 - neurotypical score 69/200 - very likely Aspie


Fenn
Veteran
Veteran

User avatar

Joined: 1 Sep 2014
Gender: Male
Posts: 2,458
Location: Pennsylvania

17 Nov 2022, 12:16 pm

Can anyone here on WrongPlanet add a language that is not covered to this RosettaCode Task?

. . .

From: RosettaCode.org - Sierpinski triangle

Task
Produce an ASCII representation of a Sierpinski triangle of order N.


Example
The Sierpinski triangle of order 4 should look like this:

Code:
                       *
                      * *
                     *   *
                    * * * *
                   *       *
                  * *     * *
                 *   *   *   *
                * * * * * * * *
               *               *
              * *             * *
             *   *           *   *
            * * * *         * * * *
           *       *       *       *
          * *     * *     * *     * *
         *   *   *   *   *   *   *   *
        * * * * * * * * * * * * * * * *


Related tasks
Sierpinski triangle/Graphical for graphics images of this pattern.
Sierpinski carpet


_________________
ADHD-I(diagnosed) ASD-HF(diagnosed)
RDOS scores - Aspie score 131/200 - neurotypical score 69/200 - very likely Aspie