Re: No Guile on Windows? (was: My Guile Hacker Handbook)

2020-07-24 Thread Mike Gran
ra -- because of arguments as to whether they should be fixed in Guile or in Gnulib and having to deal with both Guile and Gnulib having competing interests. Thanks you for coming to my TED talk. Regards Mike Gran

Re: Licensing of Cygwin comatibility layer (was: No Guile on Windows?)

2020-07-24 Thread Mike Gran
On Fri, Jul 24, 2020 at 07:25:07PM +0300, Dmitry Alexandrov wrote: > Mike Gran wrote: > > Cygwin: use gcc or clang, link to a special C and POSIX library that > > handles the Windows API for you. > > Its emulation library is GPL[ed] > > Really? I was under imp

Re: No Guile on Windows? (was: My Guile Hacker Handbook)

2020-07-25 Thread Mike Gran
f running configure. Like Cygwin, MSYS2 also has a big library that emulates POSIX that everything links to. The difference betwen MSYS2 and MinGW is that MinGW apps try to link directly to windows libraries without linking to an emulation library. -Mike Gran

Re: rfc: next guile 1.8.x release

2021-01-11 Thread Mike Gran
nt to see in 1.8.9? Hello ttn- Guile 1.8.x was rather portable. So my only suggestion is to keep it portable. -Mike Gran

[ANN] guile-curl 0.9 released

2021-01-19 Thread Mike Gran
you have any questions. Thanks, Mike Gran

[ANN] guile-aspell v0.5.0 released

2021-11-30 Thread Mike Gran
ng right now. I am recovering from exciting events. Thanks, Mike Gran

Re: [ANN] guile-plotutils 1.0.1

2021-12-08 Thread Mike Gran
Sorry, that github download link is actually https://github.com/spk121/guile-plotutils/releases/download/v1.0.1/guile_plotutils-1.0.1.tar.gz

Re: guile-ncurses 3.1 released

2022-09-14 Thread Mike Gran
On Wed, Sep 14, 2022 at 01:37:02PM -0700, Mike Gran wrote: > Here are the compressed sources and a GPG detached signature[*]: > http://www.gnu.org/software/guile-ncurses/guile-ncurses-3.1.tar.gz > http://www.gnu.org/software/guile-ncurses/guile-ncurses-3.1.tar.gz.sig wrong pat

Re: 64-bit Guile on Windows

2022-11-22 Thread Mike Gran
t tree was based on, and will eventually contribute back to https://git.savannah.gnu.org/cgit/guile.git/log/?h=wip-mingw Both of these trees require that you --enable-mini-gmp --enable-jit=no and --disable-lto at configure time. Regards, Mike Gran

relocatable guile on windows

2022-12-03 Thread Mike Gran
he line with a space or tab. The first non-comment line of "command-args.txt" is stripped of initial and terminal whitespace and is used as the first command-line argument (argv[1]). The 2nd non-comment line is the 2nd command-line argument (argv[2]), etc. If the file does not end with newline, the last line is ignored. Regards, Mike Gran

Re: relocatable guile on windows

2022-12-08 Thread Mike Gran
On Thu, Dec 08, 2022 at 06:56:44AM +0100, Janneke Nieuwenhuizen wrote: > Mike Gran writes: > > Hi! > > > Almost all instances of the long integer are replaced with intptr_t, > > since on 64-bit Windows, sizeof(long) < sizeof(void *), in violation > > of Guile

Re: [EXT] relocatable guile on windows

2022-12-08 Thread Mike Gran
On Wed, Dec 07, 2022 at 08:55:10AM -0500, Thompson, David wrote: > Hi Mike, > > On Sat, Dec 3, 2022 at 9:49 PM Mike Gran wrote: > > > It would be really great if we could organize a bit around upstreaming > patches for proper Windows support and come up with some document

Re: Help installing guile-ncurses

2023-02-05 Thread Mike Gran
t on where it installs, so that might help. Note that you'll probably need to set GUILE_LOAD_PATH to point to the code and GUILE_SYSTEM_EXTENSIONS_PATH to point to the libguile-ncurses.so. > > Happy to give more info or try things and report back. > Regards, Mike Gran > Thanks! > > -- > Paul > >

Re: G-Golf - Installation problems in Guix

2023-05-28 Thread Mike Gran
Yeah, guile-gi had the same problem on Guix. Working around it is hard. I made a patchset where I linked GLib at runtime, but that created other problems. No easy answers -Mike Gran

Re: Evaluation with function whitelist

2023-07-14 Thread Mike Gran
ince it has meta-commands like ",m" that would let the user ignore your whitelist. I didn't really test this, but it should be mostly correct. Regards, Mike Gran 

Re: Evaluation with function whitelist

2023-07-15 Thread Mike Gran
sandy) module found here: https://github.com/spk121/guile-web-sandbox/tree/master/module/sandy Since it was a minor change, I also did one using the (ice-9 sandbox) like Arne suggested. You can see both in sandy.scm in that directory. Regards, Mike Gran

Fw: guile or scheme used to implement make or meson

2023-09-12 Thread Mike Gran
nepubs/9699919799/utilities/make.html for what POSIX make does and does not do. While I never finished writing a make, I did make a build tool in Guile inspired by make.  But it is mostly a toy, and not actively maintained. github.com/spk121/potato-make Regards, Mike Gran

Re: Guile outside of Emacs + Geiser

2023-09-28 Thread Mike Gran
ce tried to write a graphical debugger in Gtk for Guile, but, gave up. Like often happens, a fun idea ended up being real work. Regards, Mike Gran

TTN

2023-10-17 Thread Mike Gran
rveez, in which he was kind and helpful. Regards, Mike Gran

Re: status of guile-gnome and replacements?

2023-11-07 Thread Mike Gran
is more methodically maintained. There aren't many people writing gui apps in Guile. Regards, Mike Gran

Re: [ANN] Haunt 0.3.0 released

2024-02-20 Thread Mike Gran
> Hey Guilers, > I'm happy to announce that Haunt 0.3.0 has finally been released! > Haunt is a static site generator that uses the Guile Scheme as its > configuration language. It aims to be simple, functional, and > extensible. Nice. Thanks for all the hard work. Mike Gran

Re: Creating a top level definition if none so far exists, on the fly.

2013-08-15 Thread Mike Gran
> From: Richard Shann > > I have just started using GNU/Denemo under the guile 2.x and the > following construct no longer works: > > (if (not (defined? 'ToggleFiguredBassMode::Active)) >     (define ToggleFiguredBassMode::Active #f)) I remember Andy once suggested on this list that   (define-o

Re: Creating a top level definition if none so far exists, on the fly.

2013-08-15 Thread Mike Gran
> From: Richard Shann >> > From: Richard Shann >> > >> > I have just started using GNU/Denemo under the guile 2.x and the >> > following construct no longer works: >> > >> > (if (not (defined? 'ToggleFiguredBassMode::Active)) >> >     (define ToggleFiguredBassMode::Active #f)) >> >>

Re: Define in let

2013-08-20 Thread Mike Gran
> From: Dmitry Bogatov > It seems following is invalid: > >   (let ((a 2)) >         (define (foo x) (+ a x))) > Perhaps something like (let* ((a 2)    (foo (lambda (x) (+ a x   (foo -Mike

Re: Problem with wide characters on upgrading to guile 2.x

2013-08-22 Thread Mike Gran
Hi Richard- > scheme@(guile-user)> (string-append "  " "hello") > $1 = "  \ue176hello" > scheme@(guile-user)> (display  "  ") >   scheme@(guile-user)> (display  (string-append "  " > "hello")) >   helloscheme@(guile-user)> > I notice that I do not have LC_ALL set in my environment. > > F

Re: Problem with wide characters on upgrading to guile 2.x

2013-08-22 Thread Mike Gran
>> 2. In the inner_main of your scm_with_guile call, >> try calling scm_setlocale.  Maybe something like this? >> (This shouldn't make a difference, I think. >> But, if it does, it says something interesting.) >> >> scm_setlocale( scm_variable_ref(scm_c_lookup("LC_ALL")), > scm_from_local

Re: How to read integers from file faster?

2013-08-30 Thread Mike Gran
> From: Darren Hoo >It is way too slow to read numbers from a file simply by using `read' The problem mostly lies in dealing with the locale or doing utf-8 conversion.  Also, your code creates and destroys a lot of strings. You could push data through much more quickly if it were binary and

Unquote syntax

2013-12-31 Thread Mike Gran
should be valid in that sort of construction. Thanks, -Mike Gran

Potluck, midi -> chiptune

2014-02-16 Thread Mike Gran
ctory) to a file named tmp.wav. I'll be honest: this code is just a couple of days old, and it is really raw. Incomplete and painfully slow.  But, it is good for a laugh. I'll fix it up over the next couple of weeks, if I can find some spare time. -Mike Gran

Re: Writing libraries for C programs using Guile Scheme

2014-03-08 Thread Mike Gran
nt be triple-checking code in Guile as it is today. It is just an >opinion and you're free to disagree of course. Scheme itself is pretty horrible to read (but fun to write and use).  How much worse could it be? But if software safety is your goal, I'd go with ADA. Un-seriously yours, Mike Gran

Re: GNU Guile 2.0.10 released

2014-03-26 Thread Mike Gran
On Wednesday, March 26, 2014 11:45 AM, Panicz Maciej Godek wrote: 2014-03-26 19:24 GMT+01:00 Eli Zaretskii : > >>> I had a "process hacker" tool installed, and it allows me to do some >>> introspection (although I understand very little). [...] >> >> Isn't this the same problem I reported last

Unicode 7.0

2014-06-30 Thread Mike Gran
ic/UNIDATA/UnicodeData.txt 2. Run the unidata_to_charset.pl script that appears in the libguile subdirectory of the software.  This generates srfi-14.i.c.  It requires that you have GNU Indent installed. That's it, really. Regards, Mike Gran

Re: Block comment syntax

2014-08-06 Thread Mike Gran
like the docs suggest, though. Best practice here is probably to use "#!" block comments only for containing shell script headers, and use the #| syntax otherwise. -Mike Gran  

Re: Downloading a file from a URL from the web with http-get

2014-08-15 Thread Mike Gran
> On Friday, August 15, 2014 11:16 AM, 白熊 wrote: > Is there a way to use similar syntax to download ftp files? > I can successfully download only http:// files this way. I don't know if anyone has a pure Scheme code solution to handle FTP. There was once a binding to the libcurl library tha

GNU guile-ncurses 1.5 released

2014-09-28 Thread Mike Gran
I am pleased to announce a new version of GNU guile-ncurses. guile-ncurses is a library for the creation of text user interfaces in the GNU Guile dialect of the Scheme programming language. It is based on the ncurses project's curses, panel, form, and menu libraries. The web page for GNU guile-ncu

[ANN] guile-curl 0.3

2014-09-30 Thread Mike Gran
lecurl-0.3.tar.gz source code: http://github.com/spk121/guile-curl home page: http://www.lonelycactus.com/guile-curl.html Thanks, Mike Gran

Re: guile - sending emails

2014-10-20 Thread Mike Gran
mail. If one checked out the very latest git at ... https://github.com/spk121/guile-curl ...one could do something like the following. But, that is a bit crap. A proper library would handle the bookkeeping of the many names, addresses, and dates appear multiple times in SMTP headers

Guile-ncurses 1.6 released

2014-10-27 Thread Mike Gran
now operates only on file ports. Other port types never worked correctly. - the configure script no longer ignores LIBS and LDFLAGS specified on the command line Thanks, Mike Gran

Re: ftp uploading files

2014-10-31 Thread Mike Gran
I've never actually tried it, and I don't have any access to a box where I can try it right now. You'd probably need to use the git release, which has the 'readdata' option which isn't in the last official release. And then you'd probably do something like this. (define handle (curl-easy-init)) (

Re: Trouble using hashq-get-handle in Guile

2014-12-07 Thread Mike Gran
On Sunday, December 7, 2014 4:49 PM, jamil egdemir wrote: >Mark, > >> Based on a quick glance at the json code, I suspect you want this: >> >> (hash-get-handle queryResults "documents") >> >> i.e. change 'hashq-get-handle' to 'hash-get-handle', and pass a string >> as the key, not a symbol.

Re: BUG (1.8): can't redefine /debug/

2015-06-21 Thread Mike Gran
On Saturday, June 20, 2015 11:54 PM, Michael Tiedtke wrote: > > >As the bug database doesn't allow filing bugs even when you have a Savannah >account I'm sending this to the mailing list. There is a separate list for bugs: bug-gu...@gnu.org But I'd imagine that the maintainers would tell yo

Re: GOOPS Terminal Class - RnRS POSIX support

2015-06-23 Thread Mike Gran
ings, I did try to make the interface slightly more like Scheme, but, it is what it is. The underlying ncurses interface is hard to make scheme-like. www.gnu.org/s/guile-ncurses -Mike Gran

scm_c_eval_string and filename

2015-07-09 Thread Mike Gran
Hi- Question: if I'm reading in some Guile code using the C API scm_c_eval_string, can I set a fake "filename" so that it gets added as a source property to the contents read in as a string? Thanks, Mike

scm_init_guile and debug vm

2015-08-31 Thread Mike Gran
Hello, In Guile 2.0.x, how does one choose to use the debug VM when initializing with scm_boot_guile, scm_with_guile, or scm_init_guile? Thanks, Mike Gran

Re: scm_init_guile and debug vm

2015-08-31 Thread Mike Gran
> On Monday, August 31, 2015 2:39 PM, Mike Gran wrote: > > > Hello, > > In Guile 2.0.x, how does one choose to use the debug VM > when initializing with scm_boot_guile, scm_with_guile, > or scm_init_guile? I eventually settled on the following invocation, using

Re: Transient environment with standard functions

2016-06-10 Thread Mike Gran
> On Friday, June 10, 2016 3:31 PM, Matthew Keeter > wrote: > > The specific use case is for dataflow graphs, where you’re evaluating a > > bunch of > small > snippets of code that can refer to each other by name. > > I’d like to make an environment in which the variables in the same subg

Guile on MinGW

2016-10-09 Thread Mike Gran
I can tell: mingw.org and mingw-w64.org. If I wanted to test my upcoming release, which MinGW should I using to compile guile-2.0.x and test my new release of guile-ncurses? Thanks, Mike Gran

[ANN] guile-curl 0.4

2016-10-23 Thread Mike Gran
Guile. There is no mailing list per se, but, you can contact the project either via https://github.com/spk121/guile-curl/issues or by e-mailing me directly at spk...@yahoo.com Thanks Mike Gran

[ANN] guile-aspell 0.3 released

2016-10-29 Thread Mike Gran
project either via https://github.com/spk121/guile-aspell/issues or by e-mailing me directly at spk...@yahoo.com Thanks, Mike Gran

Re: guile can't find a chinese named file

2017-01-30 Thread Mike Gran
eed to set the environment variable G_FILENAME_ENCODING if your filename encoding is different from your locale encoding. GTK/GLIB also likes to store strings internally as UTF-8, and will convert to UTF-8 from either the locale or the G_FILENAME_ENCODING- specified encoding. As another aside, OpenBSD removed su

Guile Aspell 0.4 released

2017-04-05 Thread Mike Gran
may be browsed at http://lonelycactus.com/guile-aspell/index.html The release tarball is at http://lonelycactus.com/tarball/guile_aspell-0.4.tar.gz The development website is at https://github.com/spk121/guile-aspell There is no mailing list per se, but the maintainer, Mike Gran, may be reached

Re: on using 8cc in reproducible bootstrap process

2017-06-18 Thread Mike Gran
ago getting the old PCC Porable C Compiler back up and running. Because it is based on a much older program, it may not have these new features with which you are struggling. http://pcc.ludd.ltu.se/ -Mike Gran

Re: Debugging Guile module loading

2018-03-12 Thread Mike Gran
On Mon, Mar 12, 2018 at 07:25:15PM +, Christopher Baines wrote: > Hey, > > I'm having some trouble with Guile module loading. I've got a > (use-modules ...) call which results in some warnings, which seem to be > actually more like errors, as the modules aren't loaded. > > From loading one m

[ANN] Burro, a game engine

2018-04-07 Thread Mike Gran
s built with many dependencies gtk+-3.0, version 3.22 gio-2.0, version 2.54 glib-2.0, version 2.54 cairo, version 1.15.10 pango, version 1.40.13 pangocairo libpulse, which is part of pulseaudio 11.1 libpluse-mainloop-glib, but this is probably going away vorbisfile, version 1.3.5 guile-2.2 Thanks, Mike Gran

Re: Mes 0.12 released

2018-04-08 Thread Mike Gran
actor of 100; mes.c (~3000 LOC) now compiles in ~4min. Many fixes > and enhancements make that now also TinyCC parses (~1.5h) and compiles > (~20min) with Mes+MesCC (Guile+MesCC takes ~2min). Just as an interested bystander, I want to say that y'all are doing amazing work. -Mike Gran

My Lisp Game Jam entry

2018-04-30 Thread Mike Gran
pk121/burro The build script used to make the downloadable builds at https://github.com/spk121/psychic-guacamole For MinGW, this requires a patched version of Guile branched off of 2.2.3 http://git.savannah.gnu.org/cgit/guile.git/log/?=wip-mingw-guile-2.2 Regards, Mike Gran

[ANN] guile-gi v0.0.1 released

2018-11-15 Thread Mike Gran
alpha code which I am releasing well before it is useful or ready, mostly for academic interest. Regards, Mike Gran

Re: [ANN] guile-gi v0.0.1 released

2019-01-31 Thread Mike Gran
ing until then. Regards, Mike Gran

Re: display-backtrace

2019-03-01 Thread Mike Gran
number of columns you want. The terminal-width procedure is in the (system repl debug) module. Note that there is a different terminal width in each thread of your program, so maybe setting the COLUMNS environment variable would be easier. But I haven't tried these methods, so I don't know what will happen, exactly. Good luck, Mike Gran

Re: Guile assert macro

2019-04-22 Thread Mike Gran
On Mon, Apr 22, 2019 at 08:57:32PM +0200, Zelphir Kaltstahl wrote: > Hello Guile users, > > I was looking for an assert facility in Guile and found the following: > > https://www.gnu.org/software/guile/manual/html_node/rnrs-base.html#rnrs-base > > (Search for assert there to find it on the page.

Re: TeXmacs on Guile 2.2.4

2019-05-26 Thread Mike Gran
On Sun, May 26, 2019 at 11:17:48PM +0200, Massimiliano Gubinelli wrote: > Hi all, > > I???m porting GNU TeXmacs (www.texmacs.org) to Guile 2.2.4 (and > hopefully to Guile 3.0). The current status is the > following. TeXmacs runs on Guile 2.2.4 with autocompilation turned > off: the application

[ANN] guile-gi 0.0.2 released

2019-06-16 Thread Mike Gran
le-gi/Getting-Started.html Regards, Mike Gran

Re: guile-gi: scancode->keyval?

2019-06-16 Thread Mike Gran
On Fri, Jun 14, 2019 at 01:14:29PM +0200, Jan Nieuwenhuizen wrote: > Mike Gran writes: > > > ...and I found another one, trying to load text in the test/editor.scm example > > (let ((buffer (send editor (get-buffer > (warn 'buffer buffer) ; =

Re: problem with srfi-1 when loading from the command line

2005-04-17 Thread Mike Gran
;scm-style-repl" kicks off a new guile prompt in which the commands at the prompt have the same environment as the script. list-index should then work as expected. Hope this helps. -- Mike Gran -- > > As you can see, the list-index function was not redefined by srfi-1, > or

Re: Are there fixes for winsock2.h in cygwin?

2005-05-19 Thread Mike Gran
Don't know about the winsock problem, but, as far as the spam problem, you get a much cleaner and spam free interface to the lists by looking at it at http://news.gmane.org/gmane.lisp.guile.devel/ There's a pretty good search at the bottom of the page. --- [EMAIL PROTECTED] wrote: > I've tried

Re: setting env variable from Guile

2005-07-30 Thread Mike Gran
There are four things that should work, but, that I haven't tried out yet. You could call "dynamic-link" with the explicit pathname plus filename to your library. If your app is a pure guile script, you could write a wrapper shell script that exports the environment variable you need and then cal

Re: Guile

2005-09-07 Thread Mike Gran
Angelyn- Hi. Installing programs from the source can be confusing if you don't have much experience with it. Before you try installing from source, you should check to see if your version of GNU/Linux (or whatever operating system you are using) has a ready-to-install version. If you are using

Re: make: don't know how to make CFLAGS. Stop

2005-10-27 Thread Mike Gran
running GNU Make ("gmake") instead of BSD Make ("make"). FWIW, this affects AIX as well, and is still present in Guile-1.6.8-rc0. Hope this helps, Mike Gran --- ãÆÑ©±ù <[EMAIL PROTECTED]> wrote: > Hello, > I am experiencing an error with guile-1.6.7 installation

Re: C structures

2005-12-30 Thread Mike Gran
of the following are you trying to accomplish? 1. You want to make C data available to Guile functions, and once that data is passed to Guile, it never (or rarely) needs to be handed back to C. 2. You want the C code and the Guile code to be able to operate on the same C structs at the same time

Re: C structures

2005-12-30 Thread Mike Gran
o the C func "c_func". I just bashed it out, and haven't had a chance to test it. It should (almost) work, though. There are probably prettier ways of accomplishing this, as well. -- Mike Gran --- Leonardo Lopes Pereira <[EMAIL PROTECTED]> wrote: > To be more clear.

Re: C structures

2005-12-31 Thread Mike Gran
Yeah. There's a bit of overhead in getting a SMOB set up, but, it has the advantage that you aren't keeping duplicate copies (a C copy and a Scheme copy) of your information in memory. --- Neil Jerram <[EMAIL PROTECTED]> wrote: > Leonardo, > > Based on your replies to other people on the list,

Re: newbie: read, load and eval

2006-10-22 Thread Mike Gran
ssion from the top of the file, as you requested. It might be simpler to have an "a.data" that contained a bunch of (define) statements, like so (define a '("This" "is" "a" "test")) Then you could (load "a.data") that file, and t

Guile Introspection

2007-07-07 Thread Mike Gran
Hi- Is it possible to get introspection information out of Guile (preferably without having to load GOOPS)? For example, how can I write a function that prints its own name? Or, what is the scheme version of the following C code printf("%s %d\n", __FILE__, __LINE__); Thanks in adva

Siag lives

2007-07-12 Thread Mike Gran
: http://siag.nu/ linux.com article: http://www.linux.com/feature/116353 osnews article: http://osnews.com/comment.php?news_id=18243 -- Mike Gran ___ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user

Autoconf test for site scheme files

2007-08-07 Thread Mike Gran
-path, and then saves the first element in %load-path that ends in the word "site". Or something with `guile-config info pkgdatadir`, I guess. Thanks, Mike Gran ___ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user

Re: Autoconf test for site scheme files

2007-08-07 Thread Mike Gran
e by default? Arguments in favor: it would keep symmetry with the emacs $(lispdir) directory as described in the GNU coding standards. [1] Philosophically, can something be "site"-specific and not be "local"? Arguments opposed: don't fix what ain't broke. Thanks, M

Re: Autoconf test for site scheme files

2007-08-08 Thread Mike Gran
I can tell. (I did find then in the 1.6.x reference manual, however.) Thanks again, Mike Gran --- Ludovic Courtès <[EMAIL PROTECTED]> wrote: > Hi, > > Note that the `GUILE_SITE_DIR' M4 macro gives you > "`guile-config info pkgdatadir`/site". But as Greg said, you

Re: (fcntl fd F_GETLK ...) from Guile

2007-09-01 Thread Mike Gran
Your mileage may vary. bash-3.1$ guile guile> (use-modules (getlk)) guile> (define fd (open-output-file "blammo")) guile> (define lk (fcntl-lk fd F_SETLKW (list F_WRLCK SEEK_SET 0 0 (getpid guile> lk (1 0 0 0 11415) guile> (set! lk (fcntl-lk fd F_SETLK (list F_UNLCK

Re: (fcntl fd F_GETLK ...) from Guile

2007-09-03 Thread Mike Gran
If it fails again, you should write me directly, as autoconf problems (and my failings as a coder) are off-topic for the list. ;-) -Mike Gran ___ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user

Re: read-string!/partial on non-file ports

2007-09-10 Thread Mike Gran
p where I used "(display data socket)" to send and "(read-string!/partial block socket-port)" to receive. I haven't tried it with a pipe, however. (I used it in a rather confusing program found at http://lonelycactus.com/code/schmolester , but, that code is pr

Re: (fcntl fd F_GETLK ...) from Guile

2007-09-11 Thread Mike Gran
ort2num > That appears correct. > Not sure whether it is correct, but works for the trivial examples I > run for now. I don't know what to do with scm_to_int64 and > scm_from_int64, though. For many machines 64bits is long l

Re: rfc (define-module ... #:use-modules ...)

2007-10-04 Thread Mike Gran
--- Thien-Thi Nguyen <[EMAIL PROTECTED]> wrote: > proposed: > (define-module (foo) > #:use-modules > (a b c) > ((d e f) #:select (x y z)) > #:export (bar)) > > that is, `#:use-modules X Y Z' would be exactly equivalent > to `#:use-module X #:use-module Y #:use-module Z'. > I l

Guile and Curses

2007-10-24 Thread Mike Gran
, but, it seems fairly stable so far. It is guile-1.8.x and ncurses-5.x specific. Thanks, Mike Gran [1] http://freshmeat.net/projects/guile-ncurses/ [2] http://www.nongnu.org/libruin/ [3] http://gano.sourceforge.net/ ___ Guile-user mailing list

Re: Guile and Curses

2007-10-25 Thread Mike Gran
GtkTextBuffer just stores the text of a buffer (as a B-Tree) and also holds a list of "tags", which are generic attributes assigned to characters, lines, or paragraphs. It is the "model" of the model-view-controller. That's the part I'

Re: Guile 1.8.2 Compile Error [GAH]

2007-11-13 Thread Mike Gran
le 1.6.x to compile on the ancient AIX 4.2.1.0 (using xlc) a couple of years back. To make it build, I remember having to change "func_data" to "funk_data" in a few places to avoid some internal definition. Sorry I didn't mention this before, but, I'd forgotten un

Re: Guile 1.8.2 Compile Error [GAH]

2007-11-14 Thread Mike Gran
t is, for some reason, being processed down to "__I", losing the word "Complex". What if you replace "_Complex_I" with "(0.0 + 1.0i)" ? Good Luck, Mike Gran - Original Message > From: Kevin Brott <[EMAIL PROTECTED]> > To: Guile-User

Re: the future of Guile

2007-12-05 Thread Mike Gran
cult to coordinate. Second, most non-trivial scripts require the whole of the configure, make, make install, LD_LIBRARY_PATH, %load-path overhead. Where is the analog of a Java jar file? Apologies if my rant has drifted off topic. Thanks, Mike Gran ___ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user

[ANN] GuICU: Guile Unicode v0.0

2007-12-22 Thread Mike Gran
ebrew, and Arabic shaping. The manual can be browsed at http://gano.sourceforge.net/guicu.html The tarball is at http://sourceforge.net/project/showfiles.php?group_id=147277 It is called guicu-0.0.tar.gz. Seems to work for me with Guile 1.8.2 and icu4c 3.8.0. Thanks,

OS distros that package guile-1.8

2008-01-09 Thread Mike Gran
Minix 3.0 Darwin FreeDOS ;-) (Granted, Guile may well compile on other OSs, but, I don't want to sign myself up to do more than porting and testing of my own software.) Am I missing anything obvious? -- Mike Gran

Re: ice-9 and $GUILE_LOAD_PATH

2008-01-29 Thread Mike Gran
it off into a separate package. The manual is incorrect. This is a known bug, and should be fixed in the next release. The bug is documented here. http://lists.gnu.org/archive/html/bug-guile/2007-10/msg00037.html The separate package lives here, I think. https://gna.org/projects/guile-debugging Hope this helps, Mike Gran

UTF-8 and new ports

2008-02-14 Thread Mike Gran
27; function will receive data 1 byte at a time and buffer it. It will only write the character when a complete UTF-32 codepoint has been received. Sound right? Has anyone already done this sort of thing? -- Mike Gran

Re: Clean Guile code from C program

2008-03-07 Thread Mike Gran
er could use the C API of readline instead.) 4. Make sure that your C datatypes are freed appropriately. 5. ??? 6. Profit! Good luck! -- Mike Gran

[ANN] gucu: guile ncurses v0.1

2008-06-03 Thread Mike Gran
lives at http://gano.sourceforge.net/ It works for me on GNU/Linux and Cygwin. Thanks, Mike Gran

Re: [ANN] gucu: guile ncurses v0.1

2008-06-03 Thread Mike Gran
will always have extremely limited appeal. You might have noted that every message in the forum is written by me, and occasionally replied to by me. I do it solely to keep my activity rating high, so my project shows up at the top of the listings. :-) -- Mike Gran

Re: [ANN] gucu: guile ncurses v0.1

2008-06-03 Thread Mike Gran
> From: Ludovic Courtès <[EMAIL PROTECTED]> > I thought SF also allowed you to create mailing lists, hence my > question. Doh!  I disabled that feature so long ago, I'd forgotton its existence.

What new libraries or functionality does Guile need?

2008-07-18 Thread Mike Gran
Hi- If you could ask someone to write a library or package a set of functionality for Guile that it doesn't currently have, what would it be? (My personal projects are near completion, and I may have some Saturdays free.) -Mike

Re: What new libraries or functionality does Guile need?

2008-07-18 Thread Mike Gran
er of these would be enough for simple things. But in terms of more featureful libraries that could be adapted/wrapped, I rather like libcurl.  Bigloo scheme has bindings for this one.  It does all the LDAP and https stuff. But then again libcurl doesn't do webdav. The neon client library does do webdav. -Mike Gran

Re: What new libraries or functionality does Guile need?

2008-07-20 Thread Mike Gran
--- On Sun, 7/20/08, Ludovic Courtès <[EMAIL PROTECTED]> wrote: > > Great! So Gano itself is nearing completion? If so, > that's good news. > I'm sure some of your free time could be used > maintaining it then. ;-) Ha ha. My real-world has moved away from ncurses and the console. So, there

[ANN] Guile Curses Bindings: 0.2

2008-08-01 Thread Mike Gran
Guile bindings for the NCurses libraries (curses, panel, form, and menu) have been updated and are to be found at http://gano.sourceforge.net/ This wrapset is now feature complete. The docs need scrubbing, but, are nearly complete. As a consequence, I'm calling this "beta". It has been tested

Re: PATCH [0/12]: Guile-DBI and Guile-DBD-Postgres

2008-09-19 Thread Mike Gran
- Original Message > From: Linas Vepstas <[EMAIL PROTECTED]> > > Hi, > > Below follows a series of 12 patches against Guile-DBI and DBD-Postgres. > Linus, thank you for doing this. -Mike Gran

  1   2   3   >