[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [guile-reader-devel] Guile-Bash reader extensions
From: |
Dmitry Bogatov |
Subject: |
Re: [guile-reader-devel] Guile-Bash reader extensions |
Date: |
Sat, 6 Jun 2015 08:14:52 +0300 |
User-agent: |
Mutt/1.5.23.1-rc1 (2014-03-12) |
* Ludovic Courtès <address@hidden> [2015-06-05 14:18:37+0200]
> Dmitry Bogatov <address@hidden> skribis:
>
> > My use-case is Guile interface to Bash, and I would like to get `$foo'
> > be read as (variable-ref 'foo) but just `foo' as symbol.
>
> Sorry to spoil the party ;-), but I think you should avoid that.
>
> The problem with reader extensions is that they do not compose well. If
> a program uses guile-bash, or if a module is loaded from guile-bash,
> then suddenly it gets the reader extension, and that extension could
> break it, for instance because it uses $ identifiers (this is not
> uncommon; one example is (system base lalr).)
I am not sure the problem you are describing is actually possible.
Somewhere I heard `load dynamic extend` expression. I mean, any
assignment to fluid in loaded file will be lost in master one.
Not tested.
So, my intention is export `$-token-reader' for advanced composition and
`(enable-$-reader-extension)' for common folk.
--
Best regards, Dmitry Bogatov <address@hidden>,
Free Software supporter, esperantisto and netiquette guardian.
GPG: 54B7F00D
pgp2WHLTHYJbc.pgp
Description: PGP signature
- Re: [guile-reader-devel] guile-reader releases, Dmitry Bogatov, 2015/06/03
- Re: [guile-reader-devel] guile-reader releases, Ludovic Courtès, 2015/06/03
- Re: [guile-reader-devel] guile-reader releases, Dmitry Bogatov, 2015/06/03
- Re: [guile-reader-devel] guile-reader releases, Ludovic Courtès, 2015/06/03
- Re: [guile-reader-devel] guile-reader releases, Dmitry Bogatov, 2015/06/04
- Re: [guile-reader-devel] guile-reader releases, Ludovic Courtès, 2015/06/04
- Message not available
- Re: [guile-reader-devel] guile-reader releases, Ludovic Courtès, 2015/06/05
- Message not available
- [guile-reader-devel] Guile-Bash reader extensions, Ludovic Courtès, 2015/06/05
- Re: [guile-reader-devel] Guile-Bash reader extensions,
Dmitry Bogatov <=
- Re: [guile-reader-devel] Guile-Bash reader extensions, Ludovic Courtès, 2015/06/06
- Re: [guile-reader-devel] Guile-Bash reader extensions, Dmitry Bogatov, 2015/06/06
- Re: [guile-reader-devel] Guile-Bash reader extensions, Ludovic Courtès, 2015/06/07
- Re: [guile-reader-devel] Guile-Bash reader extensions, Dmitry Bogatov, 2015/06/07
- Re: [guile-reader-devel] Guile-Bash reader extensions, Ludovic Courtès, 2015/06/08
- Re: [guile-reader-devel] Guile-Bash reader extensions, Dmitry Bogatov, 2015/06/08