Redesign of header

This commit is contained in:
Justin Ethier 2020-07-01 18:15:14 -04:00
parent ad2ed862a0
commit c3ffba0769
6 changed files with 9 additions and 185 deletions

View file

@ -19,10 +19,7 @@
<div id="header_menu_wrap" class="outer">
<header class="inner-top">
<p class="banner">
<!-- <a class="banner" href="{{ base }}index">Cyclone</a> -->
<a class="banner
{% if page.title == "Cyclone Scheme" %}banner-highlight{% endif %}"
href="{{ base }}">Get Cyclone</a> -
<a style="margin-right: 3em;" href="{{ base }}index"><img src="{{ base }}docs/images/cyclone-logo-header.png" alt="Cyclone"></a>
<a class="banner
{% if page.title == "User Manual" %}banner-highlight{% endif %}"
href="{{ base }}docs/User-Manual">Manual</a> -
@ -40,20 +37,6 @@
</div>
<div id="header_wrap" class="outer">
<header class="inner">
<h1 id="project_title">
<a href="{{ base }}index">
<img src="{{ base }}docs/images/cyclone-logo-04-header.png"
alt="Cyclone">
</a>
</h1>
<h2 id="project_tagline">Cheney on the M.T.A. with native threads.</h2>
<!--
<section id="downloads">
<a class="zip_download_link" href="https://github.com/justinethier/cyclone/zipball/master">Download this project as a .zip file</a>
<a class="tar_download_link" href="https://github.com/justinethier/cyclone/tarball/master">Download this project as a tar.gz file</a>
</section>
-->
<section id="downloads">
<a class="banner-forkme" href="https://github.com/justinethier/cyclone">View on GitHub</a>
</section>

View file

@ -20,10 +20,7 @@
<div id="header_menu_wrap" class="outer">
<header class="inner-top">
<p class="banner">
<!-- <a class="banner" href="{{ base }}index">Cyclone</a> -->
<a class="banner
{% if page.title == "Cyclone Scheme" %}banner-highlight{% endif %}"
href="{{ base }}">Get Cyclone</a> -
<a style="margin-right: 3em;" href="{{ base }}"><img src="{{ base }}docs/images/cyclone-logo-header.png" alt="Cyclone"></a>
<a class="banner
{% if page.title == "User Manual" %}banner-highlight{% endif %}"
href="{{ base }}docs/User-Manual">Manual</a> -
@ -41,20 +38,6 @@
</div>
<div id="header_wrap" class="outer">
<header class="inner">
<h1 id="project_title">
<a href="{{ base }}index">
<img src="{{ base }}docs/images/cyclone-logo-04-header.png"
alt="Cyclone">
</a>
</h1>
<h2 id="project_tagline">Cheney on the M.T.A. with native threads.</h2>
<!--
<section id="downloads">
<a class="zip_download_link" href="https://github.com/justinethier/cyclone/zipball/master">Download this project as a .zip file</a>
<a class="tar_download_link" href="https://github.com/justinethier/cyclone/tarball/master">Download this project as a tar.gz file</a>
</section>
-->
<section id="downloads">
<a class="banner-forkme" href="https://github.com/justinethier/cyclone">View on GitHub</a>
</section>

View file

@ -19,9 +19,7 @@
<div id="header_menu_wrap" class="outer">
<header class="inner-top">
<p class="banner">
<!-- <a class="banner" href="{{ base }}index">Cyclone</a> -->
<a class="banner"
href="{{ base }}">Get Cyclone</a> -
<a style="margin-right: 3em;" href="{{ base }}"><img src="{{ base }}docs/images/cyclone-logo-header.png" alt="Cyclone"></a>
<a class="banner"
href="{{ base }}docs/User-Manual">Manual</a> -
<a class="banner"
@ -35,20 +33,6 @@
</div>
<div id="header_wrap" class="outer">
<header class="inner">
<h1 id="project_title">
<a href="{{ base }}index">
<img src="{{ base }}docs/images/cyclone-logo-04-header.png"
alt="Cyclone">
</a>
</h1>
<h2 id="project_tagline">Cheney on the M.T.A. with native threads.</h2>
<!--
<section id="downloads">
<a class="zip_download_link" href="https://github.com/justinethier/cyclone/zipball/master">Download this project as a .zip file</a>
<a class="tar_download_link" href="https://github.com/justinethier/cyclone/tarball/master">Download this project as a tar.gz file</a>
</section>
-->
<section id="downloads">
<a class="banner-forkme" href="https://github.com/justinethier/cyclone">View on GitHub</a>
</section>

126
bak
View file

@ -1,126 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="description" content="Cyclone : Cyclone Scheme - Cheney on the M.T.A. with native threads.">
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
<title>Cyclone</title>
</head>
<body>
<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="https://github.com/justinethier/cyclone">View on GitHub</a>
<h1 id="project_title">
<a href="http://justinethier.github.io/cyclone">
<img src="https://raw.githubusercontent.com/justinethier/cyclone/master/docs/images/cyclone-logo-04-header.png"
alt="Cyclone">
</a>
</h1>
<h2 id="project_tagline">Cheney on the M.T.A. with native threads.</h2>
<section id="downloads">
<a class="zip_download_link" href="https://github.com/justinethier/cyclone/zipball/master">Download this project as a .zip file</a>
<a class="tar_download_link" href="https://github.com/justinethier/cyclone/tarball/master">Download this project as a tar.gz file</a>
</section>
</header>
</div>
<!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
<p>Cyclone is an experimental Scheme-to-C compiler that uses a variant of the <a href="https://github.com/justinethier/cyclone/raw/master/docs/research-papers/CheneyMTA.pdf">Cheney on the MTA</a> technique to implement full tail recursion, continuations, and generational garbage collection. Unlike previous Cheney on the MTA compilers, Cyclone also allows execution of multiple native threads. An on-the-fly garbage collector is used to manage the second-generation heap and perform major collections without "stopping the world".</p>
<h2>
<a id="getting-started" class="anchor" href="#getting-started" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Getting Started</h2>
<ol>
<li><p>To install Cyclone on your machine for the first time use <a href="https://github.com/justinethier/cyclone-bootstrap"><strong>cyclone-bootstrap</strong></a> to build a set of binaries. </p></li>
<li>
<p>After installing you can run the <code>cyclone</code> command to compile a single Scheme file:</p>
<pre><code>$ cyclone examples/fac.scm
$ examples/fac
3628800
</code></pre>
<p>And the <code>icyc</code> command to start an interactive interpreter:</p>
<pre><code>$ icyc
:@
@@@
@@@@:
`@@@@@+
.@@@+@@@ Cyclone
@@ @@ An experimental Scheme compiler
,@ https://github.com/justinethier/cyclone
'@
.@
@@ #@ (c) 2014 Justin Ethier
`@@@#@@@. Version 0.0.1 (Pre-release)
#@@@@@
+@@@+
@@#
`@.
cyclone&gt; (write 'hello-world)
hello-world
</code></pre>
<p>You can use <a href="http://linux.die.net/man/1/rlwrap"><code>rlwrap</code></a> to make the interpreter more friendly, EG: <code>rlwrap icyc</code>.</p>
</li>
<li><p>Read the documentation below for more information on how to use Cyclone.</p></li>
</ol>
<h2>
<a id="documentation" class="anchor" href="#documentation" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Documentation</h2>
<ul>
<li><p>The <a href="docs/User-Manual.md">User Manual</a> covers in detail how to use Cyclone, and provides information and API documentation on the Scheme language features implemented by Cyclone.</p></li>
<li><p>Cyclone's <a href="docs/Garbage-Collector.md">Garbage Collector</a> is documented at a high-level. This document includes details on extending Cheney on the MTA to support multiple stacks and fusing that approach with a tri-color marking collector.</p></li>
<li><p>The <a href="docs/Benchmarks.md">Benchmarks</a> page compares the performance of Cyclone with other R<sup>7</sup>RS Schemes using a common set of benchmarks.</p></li>
<li><p><a href="docs/Writing-the-Cyclone-Scheme-Compiler.md">Writing the Cyclone Scheme Compiler</a> provides high-level details on how the compiler was written and how it works.</p></li>
<li><p>Finally, if you need another resource to start learning the Scheme language you may want to try a classic textbook such as <a href="https://mitpress.mit.edu/sicp/full-text/book/book.html">Structure and Interpretation of Computer Programs</a>.</p></li>
</ul>
<h2>
<a id="example-programs" class="anchor" href="#example-programs" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Example Programs</h2>
<p>Cyclone provides several example programs, including:</p>
<ul>
<li><p><a href="examples/game-of-life">Game of Life</a> - The game of life example program and libraries from R<sup>7</sup>RS.</p></li>
<li><p><a href="examples/threading">Threading</a> - Various examples of multi-threaded programs.</p></li>
<li><p><a href="examples/tail-call-optimization.scm">Tail Call Optimization</a> - A simple example of Scheme tail call optimization; this program runs forever, calling into two mutually recursive functions.</p></li>
<li><p>Finally, the largest program is the compiler itself. Most of the code is contained in a series of libraries which are used by <a href="cyclone.scm"><code>cyclone.scm</code></a> and <a href="icyc.scm"><code>icyc.scm</code></a> to create executables for Cyclone's compiler and interpreter.</p></li>
</ul>
<h2>
<a id="license" class="anchor" href="#license" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>License</h2>
<p>Copyright (C) 2014 <a href="http://github.com/justinethier">Justin Ethier</a>.</p>
<p>Cyclone is available under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT license</a>.</p>
</section>
</div>
<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
<p class="copyright">Cyclone is maintained by <a href="https://github.com/justinethier">justinethier</a></p>
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
</footer>
</div>
</body>
</html>

View file

@ -5,7 +5,7 @@ id: index
ghproj: "http://github.com/justinethier/cyclone/tree/master/"
---
Cyclone is a brand-new Scheme-to-C compiler with the goal of supporting real-world application development using the R<sup>7</sup>RS Scheme Language standard. We provide modern features and a stable system capable of generating fast native binaries.
Cyclone Scheme is a brand-new compiler for real-world application development using the R<sup>7</sup>RS Scheme Language standard. We provide modern features and a stable system capable of generating fast native binaries.
[Cheney on the MTA](https://github.com/justinethier/cyclone/raw/master/docs/research-papers/CheneyMTA.pdf) is used by Cyclone's runtime to implement full tail recursion, continuations, and generational garbage collection. In addition, the Cheney on the MTA concept has been extended to allow execution of multiple native threads. An on-the-fly garbage collector is used to manage the second-generation heap and perform major collections without "stopping the world".

View file

@ -51,7 +51,7 @@ Theme Styles
body {
box-sizing: border-box;
color:#373737;
background: #212121;
/*background: #212121;*/
font-size: 16px;
font-family: Helvetica, Arial, sans-serif;
/*font-family: 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;*/
@ -283,14 +283,14 @@ Full-Width Styles
.inner {
position: relative;
max-width: 640px;
max-width: 860px;
padding: 20px 10px;
margin: 0 auto;
}
.inner-top {
position: relative;
max-width: 640px;
max-width: 860px;
margin: 0 auto;
}
@ -326,7 +326,7 @@ p.banner {
}
.banner {
color: #fff;
color: #222222;
font-weight: 700;
margin: 0px;
padding-top: 10px;
@ -354,7 +354,7 @@ p.banner {
}
#header_wrap .inner {
padding: 50px 10px 30px 10px;
padding: 0;
}
#project_title {