This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: Language translation proposal 1.4
- To: Mikael Djurfeldt <djurfeldt at nada dot kth dot se>
- Subject: Re: Language translation proposal 1.4
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 14 Aug 2000 17:10:21 +0200
- Cc: guile at sourceware dot cygnus dot com, gang-of-four at red-bean dot com
- Cc: djurfeldt at nada dot kth dot se
- References: <E13NpFa-00014f-00@mdj.nada.kth.se>
- Reply-To: djurfeldt at nada dot kth dot se
Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:
> ** Foreign language escape syntax
>
> Note that such data can flow freely between modules. In order to
> accomodate data with different native syntaxes, each language module
> provides a foreign language escape syntax. In Scheme, this syntax
> uses the sharp comma extension specified by SRFI-10. The read
> constructor is simply the last symbol in the long language name (which
> is usually the same as the short language name).
>
> ** Example1
>
[...]
> enums #,(ctax ENUM) ENUM
>
> ** Example2
>
[...]
> #,(ctax 1+2;)
This is not compatible with SRFI-10.
It should be:
#,(ctax "ENUM")
#,(ctax "1+2;")
Or, we could introduce some other sharp syntax
#[ctax ENUM]
#[ctax 1+2;]