Which is the best way to collect lists?

2013-08-10 Thread
We often process a list into another one in LISP. For example: (define (filter-a l) (if (null? l) '() (let ((n (car l)) (r (filter-a (cdr l (if (> n 10) r (cons n r) The procedure above can choose the items in 'l' which is less than or equal ten, then put them in a new l

Anyone who had read the src of lalr-scm?

2013-12-06 Thread
Hi all. I am a college student, recently I became interested in parser generating algorithms. One of them is LALR(1).I took lalr-scm(which is mentioned in Guile Manual) as an example of the design of this kind of parser generators and studied its source code. However, I found the source code too

Need a simple graphics lib

2014-04-14 Thread
Hi, I want to write a guile program to help me extract some music scores from a few MOD files. I wish to store the scores as image files.But I don't know much about graphics libs in guile. Any advice? kq

Re: Need a simple graphics lib

2014-04-15 Thread
Panicz Maciej Godek 于2014年4月15日星期二写道: > 2014-04-15 8:43 GMT+02:00 康桥 : >> Hi, I want to write a guile program to help me extract some music scores >> from a few MOD files. >> I wish to store the scores as image files.But I don't know much about >> graphics libs in g