* Wanna hacking into Guile @ 2009-12-19 3:11 Yi DAI 2009-12-20 11:02 ` Neil Jerram 0 siblings, 1 reply; 3+ messages in thread From: Yi DAI @ 2009-12-19 3:11 UTC (permalink / raw) To: guile-user [-- Attachment #1: Type: text/plain, Size: 743 bytes --] Hi, I've been using Guile for a while. And now I wanna learn things under the hook and wish someday I could contribute some code to the base also. I haven't finished reading the manual yet. I think it would be a good combination to read the manual and at the same time read some implementation code of Guile also. I've looked through the branch at Git. But I did not get it. I mean I feel a little bit messed and don't know where to start. So anyone can give some hint, for example, the architecture of the source tree, among these source files, which one should I take to read first, etc. If some Guile developer could talk a little about his/her hacking experience, it would be hight appreciated. Thanks a lot. best regards, -- DAY [-- Attachment #2: Type: text/html, Size: 905 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Wanna hacking into Guile 2009-12-19 3:11 Wanna hacking into Guile Yi DAI @ 2009-12-20 11:02 ` Neil Jerram 2009-12-21 5:12 ` Yi DAI 0 siblings, 1 reply; 3+ messages in thread From: Neil Jerram @ 2009-12-20 11:02 UTC (permalink / raw) To: Yi DAI; +Cc: guile-user Yi DAI <plm.day@gmail.com> writes: > Hi, Hi there! > I've been using Guile for a while. And now I wanna learn things under the hook > and wish someday I could contribute some code to the base also. I haven't > finished reading the manual yet. I think it would be a good combination to read > the manual and at the same time read some implementation code of Guile > also. Yes, that sounds good. > I've looked through the branch at Git. But I did not get it. I mean I feel a > little bit messed and don't know where to start. So anyone can give some hint, > for example, the architecture of the source tree, among these source files, > which one should I take to read first, etc. The "libguile" directory contains the C code for the Guile library. I'm sure there are many ways of trying to get to grips with it; one way would be to start at main(), which is in libguile/guile.c, and follow calls through from there. Tags are essential for this kind of thing, so do `make tags' to create TAGS files in your copy of the tree. The other most important directory is "module", which contains all of the core Scheme code - for things like compilation, providing a REPL, the help system, SRFIs, and lots more. The starting point here is module/ice-9/boot-9.scm, a Scheme file that gets loaded very early on by the C library, as part of the Guile initialisation process. > If some Guile developer could talk > a little about his/her hacking experience, it would be hight > appreciated. I may say more on this later, and maybe some of the other developers will too. Hopefully the above is useful to get you going! Regards, Neil ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Wanna hacking into Guile 2009-12-20 11:02 ` Neil Jerram @ 2009-12-21 5:12 ` Yi DAI 0 siblings, 0 replies; 3+ messages in thread From: Yi DAI @ 2009-12-21 5:12 UTC (permalink / raw) To: Neil Jerram; +Cc: guile-user [-- Attachment #1: Type: text/plain, Size: 1985 bytes --] Neil, Thanks for your reply. It helps a lot, especially the explanation of the structure of the tree. I will try. And other suggestions are also welcome. best regards, On Sun, Dec 20, 2009 at 7:02 PM, Neil Jerram <neil@ossau.uklinux.net> wrote: > Yi DAI <plm.day@gmail.com> writes: > > > Hi, > > Hi there! > > > I've been using Guile for a while. And now I wanna learn things under the > hook > > and wish someday I could contribute some code to the base also. I haven't > > finished reading the manual yet. I think it would be a good combination > to read > > the manual and at the same time read some implementation code of Guile > > also. > > Yes, that sounds good. > > > I've looked through the branch at Git. But I did not get it. I mean I > feel a > > little bit messed and don't know where to start. So anyone can give some > hint, > > for example, the architecture of the source tree, among these source > files, > > which one should I take to read first, etc. > > The "libguile" directory contains the C code for the Guile library. > I'm sure there are many ways of trying to get to grips with it; one way > would be to start at main(), which is in libguile/guile.c, and follow > calls through from there. Tags are essential for this kind of thing, so > do `make tags' to create TAGS files in your copy of the tree. > > The other most important directory is "module", which contains all of > the core Scheme code - for things like compilation, providing a REPL, > the help system, SRFIs, and lots more. The starting point here is > module/ice-9/boot-9.scm, a Scheme file that gets loaded very early on by > the C library, as part of the Guile initialisation process. > > > If some Guile developer could talk > > a little about his/her hacking experience, it would be hight > > appreciated. > > I may say more on this later, and maybe some of the other developers > will too. Hopefully the above is useful to get you going! > > Regards, > Neil > -- DAY [-- Attachment #2: Type: text/html, Size: 2707 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-12-21 5:12 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-12-19 3:11 Wanna hacking into Guile Yi DAI 2009-12-20 11:02 ` Neil Jerram 2009-12-21 5:12 ` Yi DAI
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).