diff --git a/README.md b/README.md index 60c417c..fe9b110 100644 --- a/README.md +++ b/README.md @@ -24,12 +24,17 @@ It differs from Racket's at-expr in that it is not a proper reader extension, bu ``` @<[args ...]{squiggly ...} + +``` + + Where all parts are optional, but you have to have at least one. cmd and args are read with guile's normal reader. Squiggly is special. Any normal text between { and } is read as a string. If an @ is found, whatever follows is interpreted as an at-expr. To write a literal at, you have to do @"@". Examples: +``` scheme #@list(1 2 3) ;;=> (list 1 2 3) #@list{My name is: @(read)} => (list "My name is: " (read)) #@+(1 2) ;; => (+ 1 2)