I'm new to using scribble, but I can't work out how to use its syntax in my own programs, rather than using a scribble language.
> (define ht (make-hash '(("Name" . "Simon"))))
> (define template "Hello @Name")
> (function-i-dont-know ht template)
"Hello Simon"
What is the function that I'm looking for? It must exist, but I can't find it in the documentation.
Add at-exp
to use @-expressions in your language of choice.
#lang at-exp racket
(define x (random 5))
(define y (random 5))
@~a{@x + @y = @(+ x y)}
Output: "3 + 1 = 4"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With