[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Global and local definitions of non-functions/variable (was: More re odd
From: |
Stefan Monnier |
Subject: |
Global and local definitions of non-functions/variable (was: More re odditie [Was: regular expressions that match nothing]) |
Date: |
Thu, 16 May 2019 17:01:32 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> I would much rather see a clean, robust and expressive extension mechanism
> for rx (`rx-constituents' does not count). There are various hacks and
> libraries but it probably needs to be integrated.
Agreed. Something like `rx-defmacro` and `rx-macrolet`.
Reminds me that this is a recurring need (we see it in `pcase`, in
`peg`, here, and arguably in `gv`). It would be nice if we could design
a general solution that those packages can (re)use.
Stefan
PS: Arguably `cl-defmethod` could also be extended to a kind of
`methodlet` for scoped methods, but it might be tricky to do that.
OTOH, this might provide exactly the generic mechanism we need to
implement the others.
- Re: regular expressions that match nothing, (continued)
- Re: regular expressions that match nothing, Michael Heerdegen, 2019/05/15
- Re: regular expressions that match nothing, Stefan Monnier, 2019/05/15
- Re: regular expressions that match nothing, Mattias Engdegård, 2019/05/15
- Re: regular expressions that match nothing, Michael Heerdegen, 2019/05/15
- More re odditie [Was: regular expressions that match nothing], phs, 2019/05/16
- Re: More re odditie [Was: regular expressions that match nothing], Mattias Engdegård, 2019/05/16
- Re: More re odditie [Was: regular expressions that match nothing], phs, 2019/05/16
- Re: More re odditie [Was: regular expressions that match nothing], Stefan Monnier, 2019/05/16
- Re: More re odditie [Was: regular expressions that match nothing], Michael Heerdegen, 2019/05/16
- Re: More re odditie [Was: regular expressions that match nothing], Mattias Engdegård, 2019/05/16
- Global and local definitions of non-functions/variable (was: More re odditie [Was: regular expressions that match nothing]),
Stefan Monnier <=
- Bootstrap/autoload policy (was Re: regular expressions that match nothing), Mattias Engdegård, 2019/05/20
- Re: Bootstrap/autoload policy (was Re: regular expressions that match nothing), Stefan Monnier, 2019/05/22
- Re: Bootstrap/autoload policy (was Re: regular expressions that match nothing), Mattias Engdegård, 2019/05/22
- Re: Bootstrap/autoload policy (was Re: regular expressions that match nothing), Stefan Monnier, 2019/05/22
- Re: Bootstrap/autoload policy (was Re: regular expressions that match nothing), Mattias Engdegård, 2019/05/22
- Re: Bootstrap/autoload policy (was Re: regular expressions that match nothing), Stefan Monnier, 2019/05/22
- Re: Bootstrap/autoload policy (was Re: regular expressions that match nothing), Mattias Engdegård, 2019/05/22
- Re: Bootstrap/autoload policy (was Re: regular expressions that match nothing), Stefan Monnier, 2019/05/22
- Re: Bootstrap/autoload policy (was Re: regular expressions that match nothing), Basil L. Contovounesios, 2019/05/26
- Re: regular expressions that match nothing, Eric Abrahamsen, 2019/05/16