Compare commits
6 Commits
master
...
pictures-i
Author | SHA1 | Date | |
---|---|---|---|
![]() |
cda7465ad4 | ||
![]() |
2c5c130048 | ||
![]() |
8e1fcfbcfb | ||
![]() |
9736a35f89 | ||
![]() |
4a642c8004 | ||
![]() |
ae39167eb1 |
3
info.rkt
3
info.rkt
|
@ -1,4 +1,7 @@
|
||||||
#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,5 +1,2 @@
|
||||||
#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,11 +1,12 @@
|
||||||
#lang scribble/manual
|
#lang scribble/manual
|
||||||
@require[@for-label[lang-slide
|
@require[@for-label[lang-slide/pictures
|
||||||
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}
|
||||||
|
|
||||||
|
@ -13,6 +14,46 @@ Here is a bird's eye view of the modules implementing racket:
|
||||||
|
|
||||||
@(langs-pict #f)
|
@(langs-pict #f)
|
||||||
|
|
||||||
And here is the languages they use:
|
And here are 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