One of my old interests has been storing data as s-expressions. But just
"storing" data is kind of useless, unless you can also search through it,
query it. And, from experience, search/query is mostly useless without
typing. Is `(foo (bar baz))` of type `(surname (given-name occupation))`
or is
On Sat, Apr 27, 2024 at 2:47 AM Nikolaos Chatzikonstantinou <
nchatz...@gmail.com> wrote:
> On Fri, Apr 26, 2024 at 4:39 PM Tomas Volf <~@wolfsden.cz> wrote:
> >
> > What you want is:
> >
> > (set-object-property! foo 'documentation "Contains a @code{'bar}.")
>
> Okay, so this can document
Hi Paul,
Conventionally, a guile module would look something like
(define-module (test-embedding))
(use-modules (srfi srfi-1)) ; .. etc
(define (enahanced-ligand-coot-p) #t) ; etc.
(export enahanced-ligand-coot-p)
In your example, you never explained how "enahanced-ligand-coot-p"
Hi Paul,
Conventionally, a guile module would look something like
(define-module (test-embedding))
(use-modules (srfi srfi-1)) ; .. etc
(define (enahanced-ligand-coot-p) #t) ; etc.
(export enahanced-ligand-coot-p)
In your example, you never explained how "enahanced-ligand-coot-p"
To answer my own question, I've now got a glimmer as to how to do most of
this, using syntax-case and quasi-syntax, as described in
https://www.gnu.org/software/guile/manual/html_node/Syntax-Case.html#Syntax-Case
with the display-compile-timestamp example, and then cleverly reworking
that.
Hi Taylan,
Our emails are crossing in the ether...
On Sat, Jan 11, 2020 at 9:21 PM Taylan Kammer
wrote:
>
> It might be possible to create a sort of "compile-time memoization"
Yes, that's what I'm looking for...
So the following:
>
> (display (f-memo 42))
> (display (f-memo 66))
>
Thank you Taylan!
So let me seize on this statement:
On Sat, Jan 11, 2020 at 3:56 PM Taylan Kammer
wrote:
> On 11.01.2020 19:52, Linas Vepstas wrote:
>
> When you compile the code, all that actually ends up in the program is
> "(display ...)" with no trace of the or
Thanks Taylan, gmail is on the fritz lately and doesn't show replies until
after I post; let me read what you wrote and ponder. ~~~
On Sat, Jan 11, 2020 at 3:56 PM Taylan Kammer
wrote:
> On 11.01.2020 19:52, Linas Vepstas wrote:
> > Or, thinking aloud a bit: boxes and symbols
&
ables on
to the c++ function.
Now if I could just memoize-in-place, without the hash table ...
--linas
On Sat, Jan 11, 2020 at 12:52 PM Linas Vepstas
wrote:
> Or, thinking aloud a bit: boxes and symbols
>
> So, for example, if I was able to tell apart calls (f 42) from calls (f x)
t;42" from "y" ?
-- Linas
On Sat, Jan 11, 2020 at 12:11 PM Linas Vepstas
wrote:
> Hmm Thanks. Perhaps I should have been more clear. I'm talking about a
> handful of values that behave like constants, and NOT about memoization.
>
> So here's a bit more detail. The onl
))
into
(define c42 (f 42))
(define c43 (f 43))
(define (foo x) (g c42 (f x) c43))
so that guild can treat c42 and c43 as constants (boxes, I guess).
-- Linas
On Sat, Jan 11, 2020 at 8:39 AM Matt Wette wrote:
> On 1/10/20 2:36 PM, Linas Vepstas wrote:
> > So, I've got lots of C code w
So, I've got lots of C code wrapped up in guile, and I'd like to declare
many of these functions to be pure functions, side-effect-free, thus
hopefully garnering some optimizations. Is this possible? How would I do
it? A cursory google-search reveals no clues.
To recap, I've got functions f and
p_min=0x7efcd152b888
stack_lim=0x7efcd152b000
duuude wrong type to apply!
The addresses all look healthy. I also added a guard-word, looking
for memory corruption, but none was found. Next up: decoding the
SCM by hand, and figuring out why it's there.
-- Linas
On Sun, Jul 14, 2019 at 10:03 PM Li
=0x2965ca0) at ../../libguile/symbols.c:244
The parallelism is low because of this one lock. This appears to be the
primary bottleneck for my workload.
-- Linas
On Sun, Jul 14, 2019 at 5:03 PM Linas Vepstas
wrote:
> Below was for
> guile (GNU Guile) 2.9.2.14-1fb399
>
> --linas
>
Below was for
guile (GNU Guile) 2.9.2.14-1fb399
--linas
On Sun, Jul 14, 2019 at 4:59 PM Linas Vepstas
wrote:
>
> So, here's my next installment on using guile-2.9.2. The first installment
> said that I'd piled up CPU-months of guile 2.9.2 experience without any
> crashe
So, here's my next installment on using guile-2.9.2. The first installment
said that I'd piled up CPU-months of guile 2.9.2 experience without any
crashes. Well, now, a different workload crashes in minutes. Below is a
highly simplified, edited gdb session -- it crashes because it unexpectedly
Hi Mark,
Sorry for the late reply; my email client mananged to hide your email where
I won't see it. I need to fix this.
On Thu, Jun 6, 2019 at 11:28 PM Mark H Weaver wrote:
>
> You'll need to look at the stack frames on the Scheme stack. It can be
> done from GDB if necessary, but it might
I'm trying to understand how scm_jit_enter_mcode leads to
scm_timed_lock_mutex ... I want to know who is attempting to lock, and why
... and how to work around this...
Background: par-for-each works poorly for my app, I want to understand why.
Specifically, how par-for-each and n-par-for-each
Me too.
With one significant difference: I have extremely sparse arrays. Like, only
one-in-a-million array entries are non-zero. And my arrays are hug -- say
2M by 2M, for a total of 4 tera-entries, of which only one in a million are
non-zero, so in fact, my data might fit in a gigabyte or less.
FYI, I've written a guile telnet server; unfortunately it is deeply buried
in another project and would be hard to abstract.
Why do this? Well, because the default guile-2.2 network REPL server was
slow, would crash, deadlock, have terrible response times, etc. making it
embarrassingly unusable.
needless complexity and confusing confusion.)
-- Linas
On Wed, Dec 5, 2018 at 9:56 PM Linas Vepstas wrote:
>
> So I pulled guile-2.9.1(beta) today, and gave it a spin. Looks
> good/great! One bug -- some crazy multithreading bug,
> reported as #33641
>
> My use case: guile callin
I've just been pointed at this:
https://github.com/jerry40/guile-kernel
Recall that Jupyter is a web-based interactive framework meant for
collaborative creation of research diaries, journals, presentations & etc.
where the researcher/author can embed snippets of code that graph stuff, do
stuff,
On Mon, Nov 27, 2017 at 5:44 PM, Hans Åberg wrote:
>
>
> > On 28 Nov 2017, at 00:23, Marko Rauhamaa wrote:
> >
> > Hans Åberg :
> >> I saw overhead also for the small allocations, 20-30% maybe. This is
> >> in a program that makes a lot
Hi Ludo,
On Fri, Sep 15, 2017 at 3:56 PM, Ludovic Courtès <l...@gnu.org> wrote:
> Linas Vepstas <linasveps...@gmail.com> skribis:
>
> > On Mon, Sep 11, 2017 at 2:26 AM, Ludovic Courtès <l...@gnu.org> wrote:
> >
> >> Hello,
> >&g
Tomas, Hans, Mark,
Thanks looking at it now.
--linas
On Mon, Sep 11, 2017 at 3:22 AM, wrote:
>
> To just add one more: total memory usage (gc and non-gc) seems to enter
> the gc triggering heuristics [1] (I couldn't follow in detail how, and I
> don't know whether this is
Hi Marko, long off-topic reply about the nature of programming languages.
On Thu, Sep 14, 2017 at 1:58 PM, Marko Rauhamaa <ma...@pacujo.net> wrote:
> Linas Vepstas <linasveps...@gmail.com>:
>
> > Well that's a can of worms. Aside from static typing to benefit the
>
Hi Mark,
Thanks... I'm not sure how to reply. So below I write "Yes, but...". My
alternative was to ignore your email, but that seems rude.
On Tue, Sep 12, 2017 at 9:24 PM, Mark H Weaver <m...@netris.org> wrote:
> Hi Linas,
>
> Linas Vepstas <linasveps...@gm
On Mon, Sep 11, 2017 at 2:42 AM, Kjetil Matheussen wrote:
>
>
> This is probably not the reason, but could it be that your program has a
> lot of global/static data,
> or that you are dynamically loading more and more libraries that has
> global/static data?
>
On Mon, Sep 11, 2017 at 2:26 AM, Ludovic Courtès <l...@gnu.org> wrote:
> Hello,
>
> Linas Vepstas <linasveps...@gmail.com> skribis:
>
> > The stuff coming over the network sockets are bytes, not s-exps. Since
> none
> > of the bytes are ever z
On Sun, Sep 10, 2017 at 3:36 PM, Marko Rauhamaa <ma...@pacujo.net> wrote:
> Linas Vepstas <linasveps...@gmail.com>:
> > which suggests that the vast majority of time is spent in GC, and not
> > in either scheme/guile, or my wrapped c++ code.
>
> That may well
Hi Arne,
On Sun, Sep 10, 2017 at 11:50 AM, Arne Babenhauserheide <arne_...@web.de>
wrote:
> Hi Linas,
>
>
> Linas Vepstas <linasveps...@gmail.com> writes:
>
> > To make this conversation less crazy, and more down-to-earth, here is a
> > demo that seem
a
file. Not my fault; its built into the python language definition. Idiots.
--linas
On Sun, Sep 10, 2017 at 8:11 AM, Ludovic Courtès <l...@gnu.org> wrote:
> Hi,
>
> Linas Vepstas <linasveps...@gmail.com> skribis:
>
> > 1) There is a need to pass messa
cnt) lis
(make-bgl longer (- cnt 1
; (define foo (make-bgl '() (* 1235 1000 1000)))
On Sat, Sep 9, 2017 at 2:47 PM, Linas Vepstas <linasveps...@gmail.com>
wrote:
>
> I've been experiencing problems with guile GC for a while now, that I've
> mostly been able to ignore, but t
Hi Marko,
On Sat, Sep 9, 2017 at 5:31 PM, Marko Rauhamaa <ma...@pacujo.net> wrote:
> Linas Vepstas <linasveps...@gmail.com>:
> > So if you used GC_malloc_atomic() in your code, then gc will NOT scan
> > that region for pointers. guile-2.2 does this correctly for stri
Stale reply to old message, but maybe its still helpful:
On Fri, Jul 21, 2017 at 1:15 AM, Marko Rauhamaa wrote:
> Mark H Weaver :
>
> > Marko Rauhamaa writes:
> >
> >> l...@gnu.org (Ludovic Courtès):
> >>
> >>> libgc knows which regions it
Hi Ludo, a very late reply...
On Thu, Jul 20, 2017 at 10:28 AM, Ludovic Courtès wrote:
>
> > String handling in guile is a disaster area: If I give it a
> > 10-megabyte-long string in utf8, it promptly tries to convert all of that
> > string in utf32, for utterly pointless
I've been experiencing problems with guile GC for a while now, that I've
mostly been able to ignore, but that are becoming debilitating, and I need
help, or need to find some solution.
Background: I have a C++ library that has guile bindings; it is wrapped up
as a guile module. It manages a lot
On Mon, Feb 13, 2017 at 2:28 PM, Panicz Maciej Godek wrote:
>
> someone
> responded critically: "are there out of the box libraries to estimate a
> zero inflated negative
> binomial regression model in guile". Of course, if I knew what a
> zero-inflated
> negative
Sorry for the very late reply. I applied these patches to
https://github.com/opencog/guile-dbi
which will have to serve as the official repo for guile-dbi, since gna.org
is now dead.
Maurizio Boriani, I was surprised to see you answer -- do you have some
other repo somwhere that contains the
I don't think guile-dbi does this safety check. You are welcome to add it.
Since gna.org is dead, I moved everything over to
https://github.com/opencog/guile-dbi
--linas
On Mon, Mar 27, 2017 at 1:24 PM, Christopher Allan Webber <
cweb...@dustycloud.org> wrote:
> Jakub Jankiewicz writes:
>
> >
On Mon, Jan 30, 2017 at 1:27 PM, David Kastrup wrote:
> Marko Rauhamaa writes:
>> David Kastrup :
>>> Marko Rauhamaa writes:
Guile's mistake was to move to Unicode strings in the operating system
interface.
>>>
>>> Emacs
Hey,
On Mon, Feb 13, 2017 at 11:59 PM, Marko Rauhamaa wrote:
>
> Arne Babenhauserheide :
>
> > Marko Rauhamaa writes:
> >> Then, there's GOOPS, which in my opinion is simply an unnatural way
> >> to go about object-oriented programming. It
On Thu, Jan 26, 2017 at 3:56 PM, Mike Gran wrote:
>
> On Thursday, January 26, 2017 7:31 AM, Rchar wrote:
>
>
>> Is Guile slow or fast, comparing to others?
>
> Guile is about average compared to the others. But it depends
> on the specific task. It is
It's a bug. There have been bugs on and off with guile utf8 handling.
One of the guile-2.0 versions does almost everything right, but utf8
is semi-broken, again in 2.2 -- some things work, but various things
that used to work great are now broken (again). I'm guessing that
guile has a
I'd like to ask for help/clarification (and maybe even volunteer to
write the required code) to resolve this extension-loading problem.
I have almost a dozen C++ shared libs that implement guile modules,
and regularly struggle to get them loaded correctly. First, they
need to be installed into
Anand Mohanadoss anand108 at gmail.com writes:
hashtab.c:137: vacuum_weak_hash_table: Assertion `removed = len' failed.
FWIW, me too.
guile --version
guile (GNU Guile) 2.0.9
on stock Linux Mint Qiana 17
Right now, I am seeing it on a unit test that explicitly tests multi-
threading, and
On 27 November 2011 16:23, Ludovic Courtès l...@gnu.org wrote:
Hi!
I don’t have any data to answer your question. It also seems to me that
the Racket and Chicken communities are very active, and have good tools
for that, such as PLaneT and Eggs.
The guile projects page is skimpy, because
On 13 October 2011 20:07, Ian Price ianpric...@googlemail.com wrote:
Linas Vepstas linasveps...@gmail.com writes:
I have no clue why it never occurred to me to use the above paradigm,
I will definitely start experimenting with it.
Any clue on how to indicate that func returns type 'X' ?
I
On 14 October 2011 03:28, Andy Wingo wi...@pobox.com wrote:
On Thu 13 Oct 2011 23:42, Linas Vepstas linasveps...@gmail.com writes:
In the code that I work on, in (func a b), its rarely the case that a
and b are merely strings or lists; they're usually some fairly complex
structure, where e.g
On 13 October 2011 10:20, Andy Wingo wi...@pobox.com wrote:
On Thu 13 Oct 2011 16:26, l...@gnu.org (Ludovic Courtès) writes:
Anyway this second, proof side of types, is the side that Scheme does
not have. C has a stronger story in that regard.
Lack of types in scheme has made me day-dream
On 13 October 2011 13:37, Mike Gran spk...@yahoo.com wrote:
Anyway this second, proof side of types, is the side that Scheme does
not have. C has a stronger story in that regard.
Lack of types in scheme has made me day-dream about learning
ocaml or haskell. My pet peeve about scheme is
On 12 July 2011 16:05, Panicz Maciej Godek godek.mac...@gmail.com wrote:
As we all know, The guile module (ice-9 match) includes an
implementation for a pattern matcher as specified by Andrew K. Wright.
I've recently been reading a book by Peter Norvig, where he came up
with the following
On 27 June 2011 04:41, Peter Brett pe...@peter-b.co.uk wrote:
Tomas By to...@basun.net writes:
I have an extended Guile interpreter with a C function get-map,
defined by scm_c_define_gsubr, that I then try to use in the
(pure Scheme) module mapdisplay, with the following result:
[snip]
Hi,
On 26 May 2011 17:14, ro...@lavabit.com wrote:
I think I found a bug in Guile DBI 2.1.4
It's in the src/test/Makefile.am file at line 32. The lib -lguile should
be removed to successfuly compile under Guile 2.0
Thanks, I'll try to look at this 'real soon now'.
--linas
Hi,
On 22 February 2011 13:13, Andy Wingo wi...@pobox.com wrote:
On Tue 22 Feb 2011 18:53, Mike Gran spk...@yahoo.com writes:
So, the specific line on which the error occurred will always read
in unknown file because source data is a property of procedures. And,
when procedure A tail-calls
Hi,
On 10 January 2011 19:24, ro...@lavabit.com wrote:
Thanks Ludovic,
I delete config.guess and config.sub, then regenerate them and voila.
I see Greg it's very old, Does have Guile DBI project a plan to remove
this dependency or to give some maintenance to Greg? Just curious.
I maintain
Hi,
On 22 December 2010 05:30, Hans Aberg haber...@telia.com wrote:
I have put up the source code of the standard functional language syntax
program on top of Guile mentioned in earlier posts. One can see that Guile
already has a combined imperative/functional syntax, but to go further, it
Wild guess: a unicode/utf-8 problem?
Which version of guile is this?
--linas
2010/12/18 Marek Kubica ma...@xivilization.net:
Hi,
I do a bit regexp-matching in my log analyzer but found out that the
Regexp engine chokes on some input (see attached file). It just takes
100% CPU time and
On 3 December 2010 12:35, Neil Jerram n...@ossau.uklinux.net wrote:
Andy Wingo wi...@pobox.com writes:
But I would like to mention the downside of the dynamic FFI
approach: with the static FFI you get typechecking by the C
compiler, but with the dynamic FFI you're on your own.
Interesting
On 28 November 2010 05:51, Neil Jerram n...@ossau.uklinux.net wrote:
Linas Vepstas linasveps...@gmail.com writes:
Hi,
On 25 November 2010 08:12, Andy Wingo wi...@pobox.com wrote:
I just hacked up a new binding to sqlite. It works with sqlite3 and
Guile 1.9/2.0. Check it out at:
http
(and
to multi-thread, which someone later on disabled :-( Its in C++,
sorry about that, don't blame me.)
--linas
/*
* SchemeEval.h
*
* Simple scheme expression evaluator
* Copyright (c) 2008 Linas Vepstas li...@linas.org
*/
#ifndef OPENCOG_SCHEME_EVAL_H
#define OPENCOG_SCHEME_EVAL_H
#ifdef
On 2 September 2010 10:44, Shenli Zhu zhushen...@gmail.com wrote:
Everyone knows a good debugger is very important, PLT-scheme have one-click
Debug,
Can someone describe what it is that the PLT/MIT scheme debuggers do?
Are any of these portable to guile? If not, why not .. license
On 29 July 2010 03:04, Mike Solomon mike...@ufl.edu wrote:
Hope this helps the fledgling C++ programmer using guile!
If anyone is interested, I have a C++ template class that is analogous to
scm_c_define_gsubr for object methods (and calls scm_c_define_gsubr
under the covers) One just says:
On 28 July 2010 12:54, Joel James Adamson adams...@email.unc.edu wrote:
Hans Aberg haber...@telia.com writes:
GNUPLOT seems to require pipes, if not using a file.
The question from the IPC newbie (myself): is there something wrong with
pipes? I've read a basic tutorial and they seem to do
Hi,
On 10 July 2010 03:22, Andy Wingo wi...@pobox.com wrote:
Hi,
On Fri 09 Jul 2010 22:23, Neil Jerram n...@ossau.uklinux.net writes:
Andy Wingo wi...@pobox.com writes:
Interestingly, the first thread has you in (guile-user), but the second
has you in (guile). So you don't see the full
On 3 July 2010 00:36, ri...@happyleptic.org wrote:
Hi list !
At work, I recently pushed the idea to use an extention language for our
main product, which is a middle sized program written in C with many
threads, that must run quickly without without interruption 24/7, and
that have little
2010/5/31 Hsiu-Hao Tsao s_h_t...@hotmail.com:
Hello plt-scheme users ,
I am new to scheme and sorry to ask a newbie question.
I want to let function return the value , for example , in Drscheme :
(define add2 (lambda (i) (+ i i)))
(add2 2)
4
I type (add2 2) in command line and it will
FYI, don't know which scheme this was, but it was certainly fun!
--linas
-- Forwarded message --
From: Joel Pitt joel.p...@gmail.com
Date: 26 April 2010 16:19
Subject: [OpenCog] Lazybots
To: opencog open...@googlegroups.com
Lazy bots - this is just too cool:
Hi,
On 21 May 2010 06:06, Andy Wingo wi...@pobox.com wrote:
Hi,
On Tue 18 May 2010 21:26, Romel R. Sandoval Palomo ro...@lavabit.com
writes:
The only issue was with LIBADD. I edited Makefiles to use -lguile-2.0
instead of -lguile
Linas would you mind looking into this? If you want to
Hi,
On 15 May 2010 18:57, tantalum tanta...@online.de wrote:
Hi,
I did write a guile-dbi module for sqlite3.
I am using it everyday successfully for basic queries.
You can find it under: http://thaseph.de/ande/guile-dbd-sqlite3.html
I've just repackaged and released it as
On 17 May 2010 20:57, Romel R. Sandoval Palomo ro...@lavabit.com wrote:
Thank you, its great, unfortunately to me, I'm targeting
guile 2.0 (1.9.10) and the released guile-dbi (2.1.2) use the
deprecated guile/gh.h
The only thing using this is the test case; you can use the test
case from svn,
Hi,
On 15 May 2010 16:35, Karl Winterling kwinterl...@gmail.com wrote:
Hi,
I've thought about writing an official tutorial for Guile directed
at application users who have no programming experience. I thought
it's best to see what the community thinks given that educational
approaches are
BTW, this is guile version 1.8.7, for me.
--linas
On 10 May 2010 11:26, Linas Vepstas linasveps...@gmail.com wrote:
On 7 May 2010 03:09, user8472 head_over_he...@freenet.de wrote:
Please find the code for streams and the integration below.
;; The troublesome procedure
(define (solve f y0 dt
On 10 May 2010 16:36, user8472 head_over_he...@freenet.de wrote:
Is it possible that you first typed the (define y ...) and (define dy ...)
things at the REPL (thereby defining them in the global environment)?
Yes. Stupid me. I admit, I just cut-n-pasted your code
into the terminal, without
On 4 May 2010 11:59, user8472 head_over_he...@freenet.de wrote:
becomes
streams.scm:601:14: While evaluating arguments to stream-map in expression
(stream-map f y):
streams.scm:601:14: Variable used before given a value: y
ABORT: (unbound-variable)
So something is still not quite right.
On 4 May 2010 01:32, user8472 head_over_he...@freenet.de wrote:
I am currently working through SICP using Guile. I have found some strange
behavior when doing the exercises in chapter 3.5. I am running Guile 1.4
installed via Fink on Mac OS X 10.6, all latest patches installed. The
problem
I've found the following bug/feature with guile-1.8.7 and would like to
solicit for comments.
Is this a guile bug? What's the proper work-around?
I've got a C program that does a setlocale (LC_ALL, ); printf (%f,
0.2000);
In the de_DE.utf8 locale, the result of the print is 0,2000 using a
On 5 April 2010 12:19, Mike Gran spk...@yahoo.com wrote:
From: Linas Vepstas linasveps...@gmail.com
I've found the following bug/feature with guile-1.8.7 and would like to
solicit for comments.
Is this a guile bug? What's the proper work-around?
I've got a C program that does a setlocale
On 22 March 2010 14:00, Andy Wingo wi...@pobox.com wrote:
Hi Peter ( Neil co),
On Mon 22 Mar 2010 09:10, Peter Brett pe...@peter-b.co.uk writes:
We get people coming to the gEDA user mailing list on a regular basis
saying, Where can I find a version of gEDA for Windows? and the
Windows
On 15 February 2010 11:43, Tomas By tomas...@fcsh.unl.pt wrote:
Hello again everybody,
Just a wild guess -- i'm focusing on the file not found aspect of the
error message:
what does ldd libguile-mytest.so show? Are all dependencies resolved?
If you compile the following, will it run?
2009/12/17 Ludovic Courtès l...@gnu.org:
Hi,
Yi DAI plm@gmail.com writes:
I'd like to suggest the following name convention which complies to names
commonly found in assembly languages.
- Replace (less than) with *_lt*.
- Replace (greater than) with *_gt*.
Changing
2009/12/16 Thien-Thi Nguyen t...@gnuvola.org:
() Linas Vepstas linasveps...@gmail.com
() Tue, 15 Dec 2009 18:19:21 -0600
I have a new feature request -- it would be useful, in a
variety of situations, to be able to provide an opaque (void *)
pointer when calling make_gsubr
2009/12/16 Ludovic Courtès l...@gnu.org:
Hi Linas,
Linas Vepstas linasveps...@gmail.com writes:
I have a new feature request -- it would be useful, in a variety of
situations,
to be able to provide an opaque (void *) pointer when calling make_gsubr,
and then getting that pointer back
2009/12/15 Ludovic Courtès l...@gnu.org:
Changes since the 1.9.5 pre-release:
*** Simplify representation of primitive procedures
It used to be that there were something like 12 different typecodes
allocated to primitive procedures, each with its own calling convention.
Now there is
Hi Wendy,
The below is located on some mailing list archive. No one here
has the ability to do a thing about this. You would have to contact
the people who maintain the archive.
--linas
2009/12/6 Wendy Ann Tarzian wendyanntarz...@comcast.net
Please remove this posting from internet access.
2009/11/28 Linas Vepstas linasveps...@gmail.com:
2009/11/17 Ludovic Courtès l...@gnu.org:
We are pleased to announce GNU Guile release 1.9.5.
Now I'm getting a crash.
third crashes with following stack trace:
Program received signal SIGPWR, Power fail/restart.
I retract this bug report
2009/11/11 Changying Li lchangy...@gmail.com:
in the guile manual:
-- Scheme Procedure: format dest fmt [args...]
Write output specified by the FMT string to DEST. DEST can be an
output port, `#t' for `current-output-port' (*note Default
Ports::), a number for
2009/10/16 vi...@selgrad.org:
Hitting return three times yields:
shellprompt ~ $ shellprompt ~ $ shellprompt ~ $
I didn't quite understand everything, but -- saying
stty sane should fix this problem.
I'm not sure what stty sane does, its some sequence of
calls to tcsetattr I guess.
strace
Hi Neil.
Wow!
2009/8/26 Neil Jerram n...@ossau.uklinux.net:
Linas Vepstas linasveps...@gmail.com writes:
i.e. I'd like something like this to work:
scm_c_eval_string( ... (call/cc (lambda (k) (set! *myk* k))) ...);
... some_c_code(...);
scm_c_eval_string( ... (*myk* 42) ...);
I think
I just tried continuations for the first time in my environment, and
promptly hit a continuation barrier. I think I understand why,
-- its how I'm mixing C and guile -- but don't see any solution.
I think what I want is a continuation since the last time I
entered guile, and don't worry about C
2009/8/21 Eric Cooper e...@cmu.edu:
On Fri, Aug 21, 2009 at 06:53:29PM -0500, Linas Vepstas wrote:
I'm trying to find an elegant way of multi-threading between C
and scheme code, without actually using threads... Basically,
I want to do some scheme stuff for a while, break off, run some
C
Hi,
I'm trying to find an elegant way of multi-threading between C
and scheme code, without actually using threads... Basically,
I want to do some scheme stuff for a while, break off, run some
C code for a while, then resume the scheme execution where
I left off.
I can acheive this by running in
2009/8/16 Samir Araújo samir.ara...@gmail.com:
Hi Linas,
Now that I looked at them more closely, it appears that this
is in the relex shim that Samir wrote, for embodiment. I have
not reviewed this code, ... at the moment, I cannot even find it ...
but clearly its doing something
2009/8/15 Ludovic Courtès l...@gnu.org:
** Incomplete support for Unicode characters and strings
Internally, strings are now represented either in the `latin-1'
encoding, one byte per character, or in UTF-32, with four bytes per
character.
Will this eventually move to UTF8? European
2009/8/2 Richard Shann richard.sh...@virgin.net:
Hi,
I want to call a scheme procedure with four arguments from C.
(The example scheme procedure here is just displaying its arguments.)
(define (d-UploadRoutine a b c d)
(display a)
(display b)
(display c)
(display d))
But I can't
2009/8/2 Mike Gran spk...@yahoo.com:
Oh my oh my. I wrote that doc at lonelycactus.com quite awhile ago. I
keep meaning to take it down, because the way I did things was a little
strange and a little old. But, oddly, there are few other
tutorial-level resources. Someone really ought to
2009/8/2 Daniel Kraft d...@domob.eu:
Yeah, X examples are rather anachronistic. I dunno, an OpenGL
version might be fun. Imagine .. 3D programming in scheme ..!
it would not be a bad idea, I don't think.
Hm... Maybe allowing to build a simple 3D scene, like:
(define x (make-scene))
2009/5/13 Sebastian Tennant seb...@smolny.plus.com:
Restricting regexps to actual text is fine... until you need to grep
binary data, or, as in this case, a combination of text and binary data.
Last I looked, standard c-library posix/gnu/perl/java
regex only worked on strings, not on binary
2009/4/21 Didier Godefroy l...@ulysium.net:
I'd like to finish compiling this.
What else can I do to fix this???
cc1: warnings being treated as errors
One possible work-around would be to remove the flag
that turns warnings into errors
numbers.c: In function 'scm_c_make_polar':
2009/4/14 Sebastian Tennant seb...@smolny.plus.com:
Hi Guilers,
I needed to replace two consecutive spaces in strings with ' nbsp;' so
Most programming languages use regex, and so does guile:
http://www.gnu.org/software/guile/manual/html_node/Regular-Expressions.html
--linas
1 - 100 of 150 matches
Mail list logo