Compare commits
No commits in common. "pictures-in-docs" and "master" have entirely different histories.
pictures-i
...
master
3
info.rkt
3
info.rkt
|
@ -1,7 +1,4 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define collection 'multi)
|
(define collection 'multi)
|
||||||
(define build-deps '("scribble-lib" "racket-doc" "pict-doc"))
|
|
||||||
(define deps '("base" "draw-lib" "gui-lib" "scheme-lib" "slideshow-lib" "unstable-lib"))
|
(define deps '("base" "draw-lib" "gui-lib" "scheme-lib" "slideshow-lib" "unstable-lib"))
|
||||||
(define pkg-desc "A picture showing all the languages used to implement Racket.")
|
|
||||||
(define version "1.0")
|
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
#lang info
|
#lang info
|
||||||
|
(define build-deps '("scribble-lib" "racket-doc"))
|
||||||
(define scribblings '(("scribblings/lang-slide.scrbl" ())))
|
(define scribblings '(("scribblings/lang-slide.scrbl" ())))
|
||||||
|
(define pkg-desc "A picture showing all the languages used to implement Racket.")
|
||||||
|
(define version "1.0")
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
#lang scribble/manual
|
#lang scribble/manual
|
||||||
@require[@for-label[lang-slide/pictures
|
@require[@for-label[lang-slide
|
||||||
racket/base]
|
racket/base]
|
||||||
lang-slide/pictures
|
lang-slide/pictures
|
||||||
;slideshow/pict
|
;slideshow/pict
|
||||||
]
|
]
|
||||||
|
|
||||||
@title{A picture showing all the languages used to implement Racket.}
|
@title{A picture showing all the languages used to implement Racket.}
|
||||||
@author{Sam Tobin-Hochstadt (Originally by Robby Findler)}
|
|
||||||
|
|
||||||
Source code: @url{https://github.com/samth/lang-slide}
|
Source code: @url{https://github.com/samth/lang-slide}
|
||||||
|
|
||||||
|
@ -14,46 +13,6 @@ Here is a bird's eye view of the modules implementing racket:
|
||||||
|
|
||||||
@(langs-pict #f)
|
@(langs-pict #f)
|
||||||
|
|
||||||
And here are the languages they use:
|
And here is the languages they use:
|
||||||
|
|
||||||
@(langs-pict #t)
|
@(langs-pict #t)
|
||||||
|
|
||||||
@section{Pictures}
|
|
||||||
|
|
||||||
@defmodule[lang-slide/pictures]
|
|
||||||
|
|
||||||
@racketmodname{lang-slide/pictures} provides several
|
|
||||||
@racketmodname[pict]s, with some options.
|
|
||||||
|
|
||||||
@defproc[(langs-pict [color? any]
|
|
||||||
[#:fit fit (-> pict? pict?)]
|
|
||||||
[#:picts p (listof pict-convertible?)])
|
|
||||||
pict?]{
|
|
||||||
}
|
|
||||||
@defproc[(langs-in-tree [color? boolean?])
|
|
||||||
pict?]{
|
|
||||||
}
|
|
||||||
@defproc[(langs-with-colors)
|
|
||||||
(listof pict?)]{
|
|
||||||
}
|
|
||||||
|
|
||||||
@section{Slides}
|
|
||||||
|
|
||||||
To show a slide that demos the pict, run
|
|
||||||
@tt{main.rkt} on the command-lide, or use
|
|
||||||
|
|
||||||
@racketblock[
|
|
||||||
@#,hash-lang[] @#,racketmodname[racket]
|
|
||||||
(require (submod lang-slide/main main))]
|
|
||||||
|
|
||||||
@tt{hudak-quote.rkt} has a slideshow slide that uses
|
|
||||||
the picture along with a quote from Paul Hudak.
|
|
||||||
|
|
||||||
@section{PNG}
|
|
||||||
|
|
||||||
@tt{mk-img.rkt} generates a PNG of the image.
|
|
||||||
|
|
||||||
@section{Regenerating the data}
|
|
||||||
|
|
||||||
@tt{find.rkt} regenerates @tt{lang.plain} and
|
|
||||||
@tt{lang-colors.rktd} automatically when run.
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user