There is no simple way to set procedure-documentation in guile.
For some years I've done it in the module's scheme description like
(set-procedure-property! proc 'documentation "help text")
but this is quite hard to maintain, and what seems to be the standard way
(looking at libguile)
is too comp
I found an easy way to set documentation for closures and procedures.
I wrote this to guile-user earlier but send it to guile-devel as well
as it may be of interest.
On Fri, Aug 9, 2013 at 8:06 PM, Roland Orre wrote:
>
> There is no simple way to set procedure-documentation in guile.
>
@code{proc}.");
On Mon, Aug 12, 2013 at 12:21 PM, Roland Orre wrote:
> I found an easy way to set documentation for closures and procedures.
> I wrote this to guile-user earlier but send it to guile-devel as well
> as it may be of interest.
>
> On Fri, Aug 9, 2013 at 8:06 PM,
Thanks for the hint Andy. However, for now I've made a patch of
SCM_DEFINE and SCM_PROC, actually as SCM_PUBLIC_DEFINE as well as
SCM_PUBLIC_PROC (to not collide with SCM_DEFINE_PUBLIC) as well as
SCM_PUBLIC_CONST and SCM_PUBLIC_SUBR (same as PROC but with doc and
C-parameters (as the DEFINE macro)
I consider using double cells for efficient implementation of binary trees.
Is this safe? (i.e. no pre-assumptions made somewhere what these are used for)
For prototyping I intended to add
double-cons
set-cbr!
set-ccr!
cbr
ccr
to the scheme level. Is this safe?
They will only contain or refer to
Sorry, double cells are even encouraged to use according the manual under
"Allocating cells" (I had missed that)
and no specific cares as long as they contain only SCM.
On Tue, Oct 29, 2013 at 11:15 AM, Roland Orre wrote:
> I consider using double cells for efficient implementat
(in the long run..., billions of records)
I guess the best alternative then is to use smob with e.g. a 4-word
(SCM) vector.
which implies 6 scm_t_bits, but if a 4 word vector is equally space
efficient I may
better go for that.
On Tue, Oct 29, 2013 at 6:17 PM, Mark H Weaver wrote:
> Rola
My problem: I have invested a lot of development using the guile API
and am now in urgent need to interface my software with the web.
In python I can easily define a web server to serve my needs
(simple GET and POST including cookie handling and file transfers).
I've set up such a server using exa
On Sat, 2005-04-02 at 20:32, Thien-Thi Nguyen wrote:
>From: Roland Orre <[EMAIL PROTECTED]>
> a lot of this stuff has been around for a while. if you were not able
> to find them that probably means your search methods could be improved.
>
Great!, it seems to contain exact
is, but haven't
found anything (someth like: short pointer and long pointer
which I think I've seen in some languages long time ago).
/Roland Orre
___
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
don't allocate more memory than this!
/Roland Orre
___
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
half ready...
/Roland
On Wed, 2007-08-29 at 08:13 +0200, Roland Orre wrote:
> What is the best way to limit the memory allocation in guile?
>
> I have a process that has allocated 6GB when the first step
> is finished, this is much, but is fine as the machine has 8 GB.
>
> Then w
On Tue, 2007-12-04 at 19:34 +0100, Kjetil S. Matheussen wrote:
...
> Oh, and another thing. My tests (available in the guile-devel archives)
> also showed that the HBGC version usually use a bit less memory
> than Guile's old garbage collector. (Yet another "should"
> for replacing. :-) )
I don't
On Wed, 2007-12-05 at 10:01 +0100, Marco Maggi wrote:
> Pre-answer to all: the most important thing is to make clear
> what are the priorities. With a "language for extensions"
> (LFE) there are certain priorities, with a "Scheme
> implementation" (SI) there are others. I fear that
14b9d091 in scm_gc_mark_dependencies (p=0x97c) at
gc-mark.c:441
441 if (SCM_GC_MARK_P (ptr))
Current language: auto; currently c
Grateful for any hints to trace these kinds of problems.
Roland Orre
Hi Ludovic, thanks for your reply
On Mon, 2008-06-30 at 21:42 +0200, Ludovic Courtès wrote:
> Hi,
>
> Roland Orre <[EMAIL PROTECTED]> writes:
>
> > I need hints on how to find occasional segmentation faults
> > and missed GC references. This relates to 64 bit mac
Hi again, and thanks for the hints.
On Tue, 2008-07-01 at 14:27 +0200, Ludovic Courtès wrote:
> Roland Orre <[EMAIL PROTECTED]> writes:
> > That's a good hint. I'll check out the code and see if I can locate
> > the changes. Problem is that I've considered swit
I finally see the only way out of my 64-bits problems to upgrade to 1.8
The problem, configure fails in the test for ltdl
I downloaded libtool-2.2.4, which seemed to be the latest
from http://www.gnu.org/software/libtool/
I installed it under the guile directory so
that the libltdl/lib/ is firs
Even though it may be obvious:
it is of course from
guile-1.8.8/examples/box-dynamic-module
where essential files (Makefile and/or Makefile.am) are missing from.
On Wed, Jul 10, 2013 at 3:11 PM, Roland Orre wrote:
> I now intended to start using guile again. I used guile daily for my R&D
I now intended to start using guile again. I used guile daily for my R&D
from 1995 to 2008. The last guile I built for was guile-1.8.5
However, my old module build does no longer work with guile-1.8.8
(the latest stable downloaded from savannah.gnu.org)
Previously the guile dist contained an exam
Hi Alexi,
thanks for your reply.
The builds works fine, but when loading the module, e.g.
(use-modules (bcpnn2))
which contains
(load-extension (string-append bcpnn2-path ".libs/libbcpnn"
"scm_init_bcpnn")
I get the error message
./bcpnn2.scm:13:1: In procedure dynamic-link in expression (load-exte
On Thu, Jul 11, 2013 at 12:10 AM, Ludovic Courtès wrote:
> Hello, and welcome back! :-)
>
> Roland Orre skribis:
>
> > I now intended to start using guile again. I used guile daily for my R&D
> > from 1995 to 2008. The last guile I built for was guile-1.8.5
> >
for guile-2.0.9
OK, there is a Makefile examples/Makefile which is possibly
intended to replace the separate makefiles in
box, box-dynamic, box-dynamic-module
but then the README files under the box directories need to be updated.
On Thu, Jul 11, 2013 at 1:52 AM, Roland Orre wrote:
> On Thu, Jul
I'm trying to build guile-2.0.9 on a Debian squeeze system, but get the error
./.libs/libguile-2.0.so: undefined reference to `rpl_regfree'
./.libs/libguile-2.0.so: undefined reference to `rpl_regcomp'
./.libs/libguile-2.0.so: undefined reference to `rpl_regerror'
./.libs/libguile-2.0.so: undefined
I got it working by adding
--with-included-regex
to configure. I think the configure file should be more clear upon what
you want or not. Now it's a kind of guess work, with too many and
somewhat confusing options I would say.
On Fri, Jul 12, 2013 at 11:43 AM, Roland Orre wrote:
> I&
On Fri, Jul 12, 2013 at 2:05 PM, Ludovic Courtès wrote:
> Roland Orre skribis:
>
> > I'm trying to build guile-2.0.9 on a Debian squeeze system, but get the
> error
> > ./.libs/libguile-2.0.so: undefined reference to `rpl_regfree'
> > ./.libs/libguile-2.0.so
26 matches
Mail list logo