Documentation ¶
Overview ¶
Package quote contains functions to use quotations These are: quote, quasiquote, unquote, unquote-splicing.
Quasiquote implementation is a little bit too simple as it does not support nested quasiquotes.
Index ¶
- func InstallQuasiQuoteReader(rd *reader.Reader, symQQ *sxpf.Symbol, chQQ rune, symUQ *sxpf.Symbol, ...)
- func InstallQuasiQuoteSyntax(env sxpf.Environment, symQQ, symUQ, symUQS *sxpf.Symbol) error
- func InstallQuoteReader(rd *reader.Reader, quoteSym *sxpf.Symbol, initCh rune)
- func InstallQuoteSyntax(env sxpf.Environment, symQuote *sxpf.Symbol) error
- type QuoteExpr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallQuasiQuoteReader ¶
func InstallQuasiQuoteReader(rd *reader.Reader, symQQ *sxpf.Symbol, chQQ rune, symUQ *sxpf.Symbol, chUQ rune, symUQS *sxpf.Symbol, chUQS rune)
InstallQuasiQuoteReader sets the reader macros to support quasi quotation.
func InstallQuasiQuoteSyntax ¶
func InstallQuasiQuoteSyntax(env sxpf.Environment, symQQ, symUQ, symUQS *sxpf.Symbol) error
func InstallQuoteReader ¶
InstallQuoteReader will install a quote symbol as a reader macro.
func InstallQuoteSyntax ¶
func InstallQuoteSyntax(env sxpf.Environment, symQuote *sxpf.Symbol) error
InstallQuoteSyntax will setup the system to allow quoting values.
Types ¶
Click to show internal directories.
Click to hide internal directories.