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
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
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
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
you have any questions.
Thanks,
Mike Gran
ng right now. I am
recovering from exciting events.
Thanks,
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
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
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
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
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
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
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
>
>
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
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
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
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
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
rveez, in which he was
kind and helpful.
Regards,
Mike Gran
is more methodically maintained.
There aren't many people writing gui apps in Guile.
Regards,
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
> 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
> 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))
>>
>>
> 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
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
>> 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
> 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
should be valid in that sort of construction.
Thanks,
-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
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
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
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
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
> 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
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
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
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
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
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))
(
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.
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
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
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
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
> 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
> 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
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
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
project either via
https://github.com/spk121/guile-aspell/issues
or by e-mailing me directly at spk...@yahoo.com
Thanks,
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
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
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
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
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
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
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
alpha code which I am releasing well before it is useful
or ready, mostly for academic interest.
Regards,
Mike Gran
ing until then.
Regards,
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
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.
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
le-gi/Getting-Started.html
Regards,
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) ; =
;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
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
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
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
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
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
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.
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,
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
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
: 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
-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
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
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
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
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
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
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
--- 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
, 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
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'
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
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
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
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,
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
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
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
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
lives at http://gano.sourceforge.net/
It works for me on GNU/Linux and Cygwin.
Thanks,
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
> 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.
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
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
--- 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
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
- 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 - 100 of 226 matches
Mail list logo