aboutsummaryrefslogtreecommitdiff
path: root/samples/Racket
diff options
context:
space:
mode:
Diffstat (limited to 'samples/Racket')
-rw-r--r--samples/Racket/scribble.scrbl33
-rwxr-xr-xsamples/Racket/script.rkt7
2 files changed, 40 insertions, 0 deletions
diff --git a/samples/Racket/scribble.scrbl b/samples/Racket/scribble.scrbl
new file mode 100644
index 0000000..9c4d0e2
--- /dev/null
+++ b/samples/Racket/scribble.scrbl
@@ -0,0 +1,33 @@
+#lang scribble/manual
+@(require scribble/bnf "utils.rkt")
+
+@title{Scribble: The Racket Documentation Tool}
+
+@author["Matthew Flatt" "Eli Barzilay"]
+
+Scribble is a collection of tools for creating prose
+documents---papers, books, library documentation, etc.---in HTML or
+PDF (via Latex) form. More generally, Scribble helps you write
+programs that are rich in textual content, whether the content is
+prose to be typeset or any other form of text to be generated
+programmatically.
+
+This document is itself written using Scribble. You can see its source
+at
+@(let ([url "http://git.racket-lang.org/plt/tree/HEAD:/collects/scribblings/scribble"])
+ (link url url)),
+starting with the @filepath{scribble.scrbl} file.
+
+@table-of-contents[]
+
+@; ------------------------------------------------------------------------
+@include-section["how-to-paper.scrbl"]
+@include-section["reader.scrbl"]
+@include-section["generic.scrbl"]
+@include-section["plt.scrbl"]
+@include-section["lp.scrbl"]
+@include-section["text.scrbl"]
+@include-section["internals.scrbl"]
+@include-section["running.scrbl"]
+
+@index-section[]
diff --git a/samples/Racket/script.rkt b/samples/Racket/script.rkt
new file mode 100755
index 0000000..bc5a8ca
--- /dev/null
+++ b/samples/Racket/script.rkt
@@ -0,0 +1,7 @@
+#!/bin/sh
+#| -*- scheme -*-
+exec racket -um "$0" "$@"
+|#
+
+(require racket/file racket/path racket/list racket/string
+ (for-syntax racket/base))