[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugging/showing internal stuff?
From: |
Nicolas Sceaux |
Subject: |
Re: Debugging/showing internal stuff? |
Date: |
Fri, 13 Mar 2009 19:02:37 +0100 |
Le 13 mars 09 à 18:36, Ian Hulin a écrit :
Hi Nicolas,
So how do you do interactive debugging if you're trying to write (or
modify) Scheme code for Lilypond. I'd be interested to know as an
apprentice Frog.
you can try that:
-----foo.ly-----
#(module-define! (resolve-module '(guile-user)) 'lilypond-module
(current-module))
#(top-repl)
----------------
guile> (set-current-module lilypond-module)
#<directory (guile-user) 22416f0>
guile> parser
#<Lily_parser #<Lily_lexer (#<module 33965e0>) > >
guile> (display-scheme-music #{ a' #})
(make-music
'SequentialMusic
'elements
(list (make-music
'EventChord
'elements
(list (make-music
'NoteEvent
'duration
(ly:make-duration 2 0 1 1)
'pitch
(ly:make-pitch 0 5 0))))))
- Debugging/showing internal stuff?, David Kastrup, 2009/03/08
- Re: Debugging/showing internal stuff?, Valentin Villenave, 2009/03/09
- Re: Debugging/showing internal stuff?, David Kastrup, 2009/03/10
- Re: Debugging/showing internal stuff?, Nicolas Sceaux, 2009/03/10
- Re: Debugging/showing internal stuff?, Carl Sorensen, 2009/03/13
- Re: Debugging/showing internal stuff?, Ian Hulin, 2009/03/13
- Re: Debugging/showing internal stuff?,
Nicolas Sceaux <=
- Re: Debugging/showing internal stuff?, David Kastrup, 2009/03/15
- Re: Debugging/showing internal stuff?, Carl Sorensen, 2009/03/26