Re: Lily inside scheme

2004-04-26 Thread Jan Nieuwenhuizen
Nicolas Sceaux writes: > OK, of course. Even if the internals will change, the interface, which > is still simple, can be documented. I'm beginning a draft. Good. > a possible explanation for NEWS.texi: Ok, please install this. Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - T

Re: Lily inside scheme

2004-04-26 Thread Werner LEMBERG
> a possible explanation for NEWS.texi: > >* LilyPond expressions can be embedded into Scheme, thanks to the > `#{ ... #}' syntax. Within such a block, Scheme forms, for > instance variable names, can be introduced thanks to a `$' > character (`$$' has to be used to issue a sing

Re: Lily inside scheme

2004-04-26 Thread Nicolas Sceaux
Sun, 25 Apr 2004 21:55:23 +0200, Jan a dit : > Looks good. When you feel this has fleshed out, there should be some > documentation (but I'm still `waiting' for the \book stuff to > stabilize before writing real documentation, eg). OK, of course. Even if the internals will change, the interf

Re: Lily inside scheme

2004-04-25 Thread Jan Nieuwenhuizen
Nicolas Sceaux writes: > It's commited. I hope I have not messed up things with CVS (first time > I use it...) Looks good. When you feel this has fleshed out, there should be some documentation (but I'm still `waiting' for the \book stuff to stabilize before writing real documentation, eg). May

Re: Lily inside scheme

2004-04-25 Thread Nicolas Sceaux
Sun, 25 Apr 2004 19:19:51 +0200, Jan a dit : > Yes. I think it's very good to have it in CVS as soon as it's sane, > we'll just change it again if we know how to do something better. It's commited. I hope I have not messed up things with CVS (first time I use it...) nicolas _

Re: Lily inside scheme

2004-04-25 Thread Jan Nieuwenhuizen
Nicolas Sceaux writes: > You can't know how happy I am with it :-) really. Yes, me too. This really looks as a great step for even better ly/scm integration, with possibly (hopefully) unthinkable possibilities. You really amazed me with your (albeit kludgy first) solution, I didn't know that wa

Re: Lily inside scheme

2004-04-25 Thread Nicolas Sceaux
Sun, 25 Apr 2004 17:00:49 +0200, Jan a dit : > Nicolas Sceaux writes: >> ly:parse-string is definitely a wonderful feature. > Well, you're to blame that we have it ;-) You can't know how happy I am with it :-) really. Though it's a beautiful day here in Bordeaux, I can't help going back to m

Re: Lily inside scheme

2004-04-25 Thread Jan Nieuwenhuizen
Nicolas Sceaux writes: > ly:parse-string is definitely a wonderful feature. Well, you're to blame that we have it ;-) > Here is a cleaner > version of a #{ ... #} lilypond syntax inside scheme. Cool; do you want to add this to CVS? > (list->string (map (lambda

Lily inside scheme

2004-04-24 Thread Nicolas Sceaux
Hi, ly:parse-string is definitely a wonderful feature. Here is a cleaner version of a #{ ... #} lilypond syntax inside scheme. %%% scm/lily-in-scm.scm %% (define-module (scm lily-in-scm)) (use-modules (ice-9 format) (lily)) (define (gen-lily-sym) '()) (let ((var-idx -1)) (