diff options
| author | Paul Buetow <paul@buetow.org> | 2024-04-30 13:14:09 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-04-30 13:14:09 +0300 |
| commit | 07c56086aa0c4e015c9044e333ae4001debcb28d (patch) | |
| tree | 2b2c0a3dae32313d55c6f223095612dcf0b7d779 /gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html | |
| parent | 5ad16713db1f011c08d2db602ed5b1d3294f0939 (diff) | |
Update content for html
Diffstat (limited to 'gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html')
| -rw-r--r-- | gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html b/gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html index 06f3a867..35725876 100644 --- a/gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html +++ b/gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html @@ -8,7 +8,7 @@ <link rel="stylesheet" href="style-override.css" /> </head> <body> -<h1 style='display: inline'>The fibonacci.pl.raku.c Polyglot</h1><br /> +<h1 style='display: inline' id='ThefibonacciplrakucPolyglot'>The fibonacci.pl.raku.c Polyglot</h1><br /> <br /> <span class='quote'>Published at 2014-03-24T21:32:53+00:00; Updated at 2022-04-23</span><br /> <br /> @@ -16,7 +16,7 @@ <br /> <a class='textlink' href='https://en.wikipedia.org/wiki/Polyglot_(computing)'>https://en.wikipedia.org/wiki/Polyglot_(computing)</a><br /> <br /> -<h2 style='display: inline'>The Fibonacci numbers</h2><br /> +<h2 style='display: inline' id='TheFibonaccinumbers'>The Fibonacci numbers</h2><br /> <br /> <span>For fun, I programmed my own Polyglot, which is both valid Perl, Raku, C and C++ code (I have added C++ and Raku support in 2022). The exciting part about C and C++ is that $ is a valid character to start variable names with:</span><br /> <br /> @@ -71,7 +71,7 @@ BEGIN <font color="#FF0000">{</font> <br /> <a class='textlink' href='https://codeberg.org/snonux/perl-c-fibonacci'>https://codeberg.org/snonux/perl-c-fibonacci</a><br /> <br /> -<h3 style='display: inline'>Let's run it with C and C++</h3><br /> +<h3 style='display: inline' id='LetsrunitwithCandC'>Let's run it with C and C++</h3><br /> <br /> <!-- Generator: GNU source-highlight 3.1.9 by Lorenzo Bettini @@ -114,7 +114,7 @@ fib<font color="#990000">(</font><font color="#993399">9</font><font color="#990 fib<font color="#990000">(</font><font color="#993399">10</font><font color="#990000">)</font> <font color="#990000">=</font> <font color="#993399">55</font> </pre> <br /> -<h3 style='display: inline'>Let's run it with Perl and Raku</h3><br /> +<h3 style='display: inline' id='LetsrunitwithPerlandRaku'>Let's run it with Perl and Raku</h3><br /> <br /> <!-- Generator: GNU source-highlight 3.1.9 by Lorenzo Bettini |
