[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Future of OpenLilyLib
From: |
Kieren MacMillan |
Subject: |
Re: Future of OpenLilyLib |
Date: |
Mon, 21 Nov 2022 17:02:30 -0500 |
Hi all,
> I don't think we're very far from that. Include files already work
> as kinds of modules. I only see two potential differences between modules
> and include files:
>
> - a module should only be loaded once, even if imported twice in
> different locations,
>
> - a module could (optionally?) have its own namespace (Guile module
> object) with private definitions, and only export the definitions
> it needs.
>
> None of these two would be very complicated to add to LilyPond.
Then they should definitely be added: those were things Urs and I discussed (a
fair bit off-list) as principle obstacles to the integration of “external” code
(mostly equivalent to OLL at the time) into the ’Pond ecosystem.
I feel like the moment we have a real module system, two things will happen
fairly quickly:
1. Many \include files (which are, to be fair, pretty cumbersome, especially in
any reasonably complex file set) will become modules… and modular stylesheets
will suddenly become exponentially less of a headache to implement.
2. The uptake (and thus maintenance) of really-helpful-but-currently-obscure
code (e.g., the EE) will ramp up.
What’s required to add those two things you’re talking about?
Thanks,
Kieren.
- Re: Future of OpenLilyLib, (continued)
- Re: Future of OpenLilyLib, Jean Abou Samra, 2022/11/21
- Re: Future of OpenLilyLib, Mark Knoop, 2022/11/22
- Re: Future of OpenLilyLib, Andrew Bernard, 2022/11/22
- Re: Future of OpenLilyLib, Valentin Petzel, 2022/11/22
- Re: Future of OpenLilyLib, Graham King, 2022/11/23
- Re: Future of OpenLilyLib, Jean Abou Samra, 2022/11/23
- Re: Future of OpenLilyLib, Federico Bruni, 2022/11/23
- Re: Future of OpenLilyLib, Graham King, 2022/11/23
Re: Future of OpenLilyLib, Valentin Petzel, 2022/11/21
- Re: Future of OpenLilyLib, Jean Abou Samra, 2022/11/21
- Re: Future of OpenLilyLib,
Kieren MacMillan <=
- Re: Future of OpenLilyLib, Jean Abou Samra, 2022/11/21
- Re: Future of OpenLilyLib, Kieren MacMillan, 2022/11/21
- Re: Future of OpenLilyLib, Henning Hraban Ramm, 2022/11/22
- Re: Future of OpenLilyLib, Jean Abou Samra, 2022/11/22
Re: Future of OpenLilyLib, Valentin Petzel, 2022/11/21
Re: Future of OpenLilyLib, Karlin High, 2022/11/21
Re: Future of OpenLilyLib, Andrew Bernard, 2022/11/21