From eb237848b8a464c0504833904b4b7047d1bfa9f9 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Tue, 6 Oct 2020 09:50:09 -0400 Subject: [PATCH] Issue #416 - Fix links for example programs --- index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.md b/index.md index b3cf8398..abb99645 100644 --- a/index.md +++ b/index.md @@ -116,13 +116,13 @@ The `cyclone-winds` package manager provides the ability to install packaged lib Cyclone provides several example programs, including: -- [Tail Call Optimization](examples/tail-call-optimization.scm) - A simple example of Scheme tail call optimization; this program runs forever, calling into two mutually recursive functions. +- [Tail Call Optimization](https://github.com/justinethier/cyclone/blob/master/examples/tail-call-optimization.scm) - A simple example of Scheme tail call optimization; this program runs forever, calling into two mutually recursive functions. -- [Threading](examples/threading) - Various examples of multi-threaded programs. +- [Threading](https://github.com/justinethier/cyclone/blob/master/examples/threading) - Various examples of multi-threaded programs. -- [Game of Life](examples/game-of-life) - The [Conway's game of life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) example program and libraries from R7RS. +- [Game of Life](https://github.com/justinethier/cyclone/blob/master/examples/game-of-life) - The [Conway's game of life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) example program and libraries from R7RS. -- [Game of Life PNG Image Generator](examples/game-of-life-png) - A modified version of game of life that uses libpng to create an image of each iteration instead of writing it to console. This example also demonstrates basic usage of the C Foreign Function Interface (FFI). +- [Game of Life PNG Image Generator](https://github.com/justinethier/cyclone/blob/master/examples/game-of-life-png) - A modified version of game of life that uses libpng to create an image of each iteration instead of writing it to console. This example also demonstrates basic usage of the C Foreign Function Interface (FFI). - Finally, the largest program is the compiler itself. Most of the code is contained in a series of libraries which are used by [`cyclone.scm`](cyclone.scm) and [`icyc.scm`](icyc.scm) to create executables for Cyclone's compiler and interpreter.