improve topbar for non-JavaScript and fix some internal links
For browsers that have JavaScript disabled, topbar puts up a link that reads "Please Enable JavaScript" instead of the so-called "hamburger menu" icon. Fixed a number of internal links that were broken when by commit `e7d69bc23270e8ad73d391d15d4c996ffbd33cc3 and perhaps a few other earlier commits. Ran `make www` to perform the above.
This commit is contained in:
1 parent
e9717e6a48
commit
bd63d57cb5
406 files changed
+42978
-34878
No files matched your search
+108
-88
@@ -48,8 +48,8 @@
|
||||
<nav class="topbar">
|
||||
<div class="container">
|
||||
<div class="logo">
|
||||
<a href="../../index.html" style="color: #154c9f; text-decoration: none !important;">
|
||||
IOCCC
|
||||
<a href="../../index.html" class="logo-link">
|
||||
IOCCC
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -58,29 +58,31 @@
|
||||
<span class="item-header">
|
||||
Entries
|
||||
</span>
|
||||
|
||||
<div class="sub-item">
|
||||
<div class="outfit-font">
|
||||
<a href="../../years.html" class="sub-item-link">
|
||||
Winning Entries
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="outfit-font">
|
||||
<a href="../../years.html" style="color: #154c9f; text-decoration: none !important;">
|
||||
Winning Entries
|
||||
</a>
|
||||
</div>
|
||||
<div class="outfit-font">
|
||||
<a href="../../authors.html" style="color: #154c9f; text-decoration: none !important;">
|
||||
People who have won
|
||||
</a>
|
||||
</div>
|
||||
<div class="outfit-font">
|
||||
<a href="../../location.html" style="color: #154c9f; text-decoration: none !important;">
|
||||
Location of authors
|
||||
</a>
|
||||
</div>
|
||||
<div class="outfit-font">
|
||||
<a href="../../bugs.html" style="color: #154c9f; text-decoration: none !important;">
|
||||
Bugs & (Mis)features
|
||||
</a>
|
||||
</div>
|
||||
<a href="../../authors.html" class="sub-item-link">
|
||||
People who have won
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="outfit-font">
|
||||
<a href="../../location.html" class="sub-item-link">
|
||||
Location of authors
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="outfit-font">
|
||||
<a href="../../bugs.html" class="sub-item-link">
|
||||
Bugs & (Mis)features
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -88,24 +90,25 @@
|
||||
<span class="item-header">
|
||||
Status
|
||||
</span>
|
||||
|
||||
<div class="sub-item">
|
||||
<div class="outfit-font">
|
||||
<a href="../../news.html" class="sub-item-link">
|
||||
IOCCC News
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="outfit-font">
|
||||
<a href="../../news.html" style="color: #154c9f; text-decoration: none !important;">
|
||||
IOCCC News
|
||||
</a>
|
||||
</div>
|
||||
<div class="outfit-font">
|
||||
<a href="../../status.html" style="color: #154c9f; text-decoration: none !important;">
|
||||
Contest status
|
||||
</a>
|
||||
</div>
|
||||
<div class="outfit-font">
|
||||
<a href="../../next/index.html" style="color: #154c9f; text-decoration: none !important;">
|
||||
Rules & Guidelines
|
||||
</a>
|
||||
</div>
|
||||
<a href="../../status.html" class="sub-item-link">
|
||||
Contest status
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="outfit-font">
|
||||
<a href="../../next/index.html" class="sub-item-link">
|
||||
Rules & Guidelines
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -113,34 +116,37 @@
|
||||
<span class="item-header">
|
||||
FAQ
|
||||
</span>
|
||||
|
||||
<div class="sub-item">
|
||||
<div class="outfit-font">
|
||||
<a href="../../faq.html" class="sub-item-link">
|
||||
FAQ
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="outfit-font">
|
||||
<a href="../../faq.html" style="color: #154c9f; text-decoration: none !important;">
|
||||
FAQ
|
||||
</a>
|
||||
</div>
|
||||
<div class="outfit-font">
|
||||
<a href="../../faq.html#submit" style="color: #154c9f; text-decoration: none !important;">
|
||||
How to enter the IOCCC
|
||||
</a>
|
||||
</div>
|
||||
<div class="outfit-font">
|
||||
<a href="../../faq.html#fix_an_entry" style="color: #154c9f; text-decoration: none !important;">
|
||||
Fixing IOCCC entries
|
||||
</a>
|
||||
</div>
|
||||
<div class="outfit-font">
|
||||
<a href="../../faq.html#fix_web_site" style="color: #154c9f; text-decoration: none !important;">
|
||||
Fixing the web site
|
||||
</a>
|
||||
</div>
|
||||
<div class="outfit-font">
|
||||
<a href="../../faq.html#fix_author" style="color: #154c9f; text-decoration: none !important;">
|
||||
Fixing author info
|
||||
</a>
|
||||
</div>
|
||||
<a href="../../faq.html#submit" class="sub-item-link">
|
||||
How to enter the IOCCC
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="outfit-font">
|
||||
<a href="../../faq.html#fix_an_entry" class="sub-item-link">
|
||||
Fixing IOCCC entries
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="outfit-font">
|
||||
<a href="../../faq.html#fix_web_site" class="sub-item-link">
|
||||
Fixing the web site
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="outfit-font">
|
||||
<a href="../../faq.html#fix_author" class="sub-item-link">
|
||||
Fixing author info
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -151,43 +157,57 @@
|
||||
|
||||
<div class="sub-item">
|
||||
<div class="outfit-font">
|
||||
<a href="../../index.html" style="color: #154c9f; text-decoration: none !important;">
|
||||
IOCCC Home
|
||||
</a>
|
||||
</div>
|
||||
<div class="outfit-font">
|
||||
<a href="../../judges.html" style="color: #154c9f; text-decoration: none !important;">
|
||||
The IOCCC Judges
|
||||
</a>
|
||||
</div>
|
||||
<div class="outfit-font">
|
||||
<a href="../../contact.html" style="color: #154c9f; text-decoration: none !important;">
|
||||
Contacting the IOCCC
|
||||
</a>
|
||||
</div>
|
||||
<div class="outfit-font">
|
||||
<a href="../../thanks-for-help.html" style="color: #154c9f; text-decoration: none !important;">
|
||||
Thanks for the help
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<a href="../../index.html" class="sub-item-link">
|
||||
IOCCC Home
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="outfit-font">
|
||||
<a href="../../judges.html" class="sub-item-link">
|
||||
The IOCCC Judges
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="outfit-font">
|
||||
<a href="../../contact.html" class="sub-item-link">
|
||||
Contacting the IOCCC
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="outfit-font">
|
||||
<a href="../../thanks-for-help.html" class="sub-item-link">
|
||||
Thanks for the help
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="header-mobile-menu">
|
||||
<noscript>
|
||||
<a href="../../nojs-menu.html" class="topbar-js-label">
|
||||
Please Enable JavaScript
|
||||
</a>
|
||||
</noscript>
|
||||
|
||||
<button id="header-open-menu-button" class="topbar-mobile-menu">
|
||||
<img src="../../png/hamburger-icon-open.png"
|
||||
alt="hamburger style menu icon - open state"
|
||||
width=48 height=48>
|
||||
<img
|
||||
src="../../png/hamburger-icon-open.png"
|
||||
alt="hamburger style menu icon - open state"
|
||||
width=48
|
||||
height=48
|
||||
/>
|
||||
</button>
|
||||
|
||||
<button id="header-close-menu-button" class="hide-content">
|
||||
<img src="../../png/hamburger-icon-closed.png"
|
||||
alt="hamburger style menu icon - closed state"
|
||||
width=48 height=48>
|
||||
<img
|
||||
src="../../png/hamburger-icon-closed.png"
|
||||
alt="hamburger style menu icon - closed state"
|
||||
width=48
|
||||
height=48
|
||||
/>
|
||||
</button>
|
||||
|
||||
<div id="mobile-menu-panel" class="hide-content">
|
||||
@@ -411,7 +431,7 @@ which you should disregard its shape, unless you like it, and the rest, which is
|
||||
separator in the form of a single line followed by a section signifying the
|
||||
function of the program, a block with removed shape of lambda character. Even
|
||||
the official IOCCC size tool acknowledges this: When you call <code>./iocccsize -i <prog.c</code>, using the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2019/iocccsize.c">2019 version of
|
||||
iocccsize</a>, iocccsize returns <strong>955</strong>,
|
||||
iocccsize.c</a>, iocccsize returns <strong>955</strong>,
|
||||
which is the Unicode codepoint of the <strong>λ</strong> character.</p>
|
||||
<p>It might be a surprise for you that according to the IOCCC size tool the program is
|
||||
actually a <code>one-liner</code>. It certainly was for me. I like to think the tool is overwhelmed
|
||||
@@ -428,7 +448,7 @@ and run it like this:</p>
|
||||
<a href="http://www.madore.org/~david/programs/unlambda/#distrib" title="Reference Unlambda distribution">Unlambda distribution</a> on the Unlambda homepage. The most complex programs there are
|
||||
entries from <a href="http://www.madore.org/~david/programs/unlambda/#quine" title="Unlambda quine contest">quine contest</a>.</p>
|
||||
<p>There is an alternative build path that requires the 2018 IOCCC size tool to complete. Put the tool
|
||||
source <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2019/adamovskyiocccsize_2018.c">iocccsize_2018.c</a> in the project directory and call</p>
|
||||
source <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2019/adamovsky/iocccsize_2018.c">iocccsize_2018.c</a> in the project directory and call</p>
|
||||
<pre><code> make identify</code></pre>
|
||||
<p>It will build the tool and use it to build an alternative program <code>prog2</code>, which in turn will
|
||||
produce an Unlambda program <code>identify.unl</code>. <code>make identify</code> runs this program to identify
|
||||
@@ -502,7 +522,7 @@ since it was developed using <code>char</code>s it should be always used safely.
|
||||
</ul>
|
||||
<h3 id="spoilers">Spoilers:</h3>
|
||||
<ul>
|
||||
<li><p>You can examine the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2019/adamovskyprogSpoiler.c">progSpoiler.c</a> file. It is the original
|
||||
<li><p>You can examine the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2019/adamovsky/progSpoiler.c">progSpoiler.c</a> file. It is the original
|
||||
final version of the interpreter, before I started the downsizing. It accepts
|
||||
one more optional parameter that specifies a filename for the output Unlambda
|
||||
function (it’s the Unlambda function that remains after all function
|
||||
|
||||
Reference in new issue
Block a user