diff --git a/beautiful-racket-demo/jsonic-demo-3/scribblings/jsonic.scrbl b/beautiful-racket-demo/jsonic-demo-3/scribblings/jsonic.scrbl index 7fb3c5a..a25a295 100644 --- a/beautiful-racket-demo/jsonic-demo-3/scribblings/jsonic.scrbl +++ b/beautiful-racket-demo/jsonic-demo-3/scribblings/jsonic.scrbl @@ -1,9 +1,35 @@ #lang scribble/manual +@(require (for-label json)) -@title[#:style 'toc]{@tt{jsonic}: because JSON is boring} - -@author[(author+email "Roger Freenbean" "roger@freenbean.com")] +@title{jsonic: because JSON is boring} +@author{Roxy Lexington} @defmodulelang[jsonic] -Let's document. \ No newline at end of file +@section{Introduction} + +This is a domain-specific language +that relies on the @racketmodname[json] library. + +In particular, the @racket[jsexpr->string] function. + +If we start with this: + +@verbatim|{ +#lang jsonic +[ + @$ 'null $@, + @$ (* 6 7) $@, + @$ (= 2 (+ 1 1)) $@ +] +}| + +We'll end up with this: + +@verbatim{ +[ + null, + 42, + true +] +} \ No newline at end of file