manpagez: man pages & more
info r5rs
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.1.5 Transformers

<transformer spec> –>
    (syntax-rules (<identifier>*) <syntax rule>*)
<syntax rule> –> (<pattern> <template>)
<pattern> –> <pattern identifier>
     | (<pattern>*)
     | (<pattern>+ . <pattern>)
     | (<pattern>* <pattern> <ellipsis>)
     | #(<pattern>*)
     | #(<pattern>* <pattern> <ellipsis>)
     | <pattern datum>
<pattern datum> –> <string>
     | <character>
     | <boolean>
     | <number>
<template> –> <pattern identifier>
     | (<template element>*)
     | (<template element>+ . <template>)
     | #(<template element>*)
     | <template datum>
<template element> –> <template>
     | <template> <ellipsis>
<template datum> –> <pattern datum>
<pattern identifier> –> <any identifier except ‘...’>
<ellipsis> –> <the identifier ‘...’>


This document was generated on October 23, 2011 using texi2html 5.0.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.