hi folks!
Here is the project to colorize Guile REPL:
https://github.com/NalaGinrut/guile-colorized
Play it according to README.
Attached a screen shot for the effect.
Enjoy it!
And it uses 'before-print-hook', Daniel posted a patch to add REPL
optional printer in another thread.
I
On Fri, 2012-11-02 at 16:54 +, Ian Price wrote:
> Kejia柯嘉 writes:
>
> > if i use the default web server of guile, where should i put static
> > html documents?
>
> Right now, I'd be tempted to suggest you let a "real" web server handle
> these, and reverse proxy to guile for the dynamic stuf
On Thu, 2012-11-01 at 20:03 -0400, Kejia柯嘉 wrote:
> hi all,
>
> in an html textarea, i input some chinese text, and receive the text from
> the http request body. i tried to use uri-decode to restore the text, but
> failed:
> (display (uri-decode "%E5%B0%8F"))
>
It's OK in my system.
---
I'm not sure what you mean, any example would be better.
Maybe you need 'read-delimited' in the (ice-9 rdelim)?
(call-with-input-string "abcd@efg"
(lambda (port)
(read-delimited "@,/ " port)))
==> abcd
Maybe it's not you need, as I said, some example to explain your thought
would be better.
I think (web server) module only provides preliminary tools to implement
a real web-server. So you have to write your own path-parser in the
handler which will be passed into 'run-server'.
On Wed, 2012-10-31 at 12:55 -0400, Kejia柯嘉 wrote:
> hi,
>
> if i use the default web server of guile, wher
On Mon, 2012-10-29 at 15:26 -0400, Kejia柯嘉 wrote:
> for example, `append' mode string. now I just use `open-file' to
> specify the append operation.
>
Do you need "a" mode in the 'open-file' while you call
'call-with-output-file'?
You may use fcntl to change it to O_APPEND in the thunk(I mean the
On Fri, 2012-09-07 at 21:49 +0400, . wrote:
> Hi,
>
> Why do we need substring [1]? We already have string-copy which looks
> similar to me.
> (These functions take different number of arguments, but string-copy
> can handle this because it's more generic.)
>
> Is this connected with compatabili
hi Olf!
Maybe you use a low version libgc?
But I can compiler Guile successfully under openSUSE, libgc1 version is
7.1.9.6-143.1.2
On Fri, 2012-08-31 at 13:35 +0800, Olf wrote:
> Hello everyone,
> I am just trying to install guile to my home folder of a SLES cluster. I
> had to install several d
nice job!
At least we can do some test work before guildhall.gnu.org works.
Thanks!
On Sun, 2012-08-12 at 18:48 +0100, Ian Price wrote:
> The following message is a courtesy copy of an article
> that has been posted to gmane.lisp.guile.devel as well.
>
>
> Hi,
>
> For those of you using guild
> Hi again,
>
> Thanks for the help so far.
>
> On Mon, June 27, 2011 10:38, nalaginrut wrote:
> > I can't give accurate answer because you provided less information. So I
> > just give a guess:
> > If you have wrapped a module in mapdisplay.scm, you'd
> On Mon, June 27, 2011 05:40, nalaginrut wrote:
> > I think you need to import this symbol in your module, in this case, I
> > think it's mapdisplay.scm. If get-map's not within a module, you'd need
> > to get this symbol with "dynamic-link" and i
s symbol in your module, in this case, I
think it's mapdisplay.scm. If get-map's not within a module, you'd need
to get this symbol with "dynamic-link" and it's friends.
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x
hackerkey.com
---end key---
m by checking
scm_major_version? Just suggestion. I'm not sure whether it's a proper
way.
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x
hackerkey.com
---end key---
"s: ;.*::g" filename' is better.
Note there should be a space before ";" in case you are using a "#;" as
dismich said. But I think we must design a perfectly safe method.
Anyway, I think it's a big deal now. :-)
To dismich: I don't know there's a "#;" now. Thanks for warning. And I'd
like to know what the "#;" means. :-)
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
this way:
==
sed "/;.*/d" filename
==
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
; I've no idea because the definition of "score-update" is actually out of
> the class definition.
>
> Can I get some advice about the topic "how to hide the critical
> property"? Or maybe I have some misunderstandings?
>
Sorry I think the "update score" is a fake problem. It can be solved by
#:allocation #:virtual.
But I still want to talk this topic: "How to hide the critical
property?"
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
"how to hide the critical
property"? Or maybe I have some misunderstandings?
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
hi all!
I got a question. Is there any approach to define a "private"
vars/methods in the GOOPS? Or it's impossible? I didn't find any
"private" info in the GOOPS manual.
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
> On Mon, Feb 28, 2011 at 04:54:00PM +0800, nalaginrut wrote:
> > > I then run `guile' and evaluate
> > > (load-extension "./sdl-guile.so" "init_module") and get the following
> > > output.
> > >
> > > ERROR: In proce
may type ",d load-extension" in the repl environment.
And you will find this note:
===
LIB should be a string denoting a shared library without any file
type suffix such as ".so".
===
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
de to change. :-)
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
hi all!
I found SCM_STRING_CHARS is deprecated, but I didn't find it's
alternative from NEWS. Could anybody tell me where to find it?
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
I just told you
guile-gnome + guile2.0 works well.
And you can find it here:
http://www.gnu.org/software/guile-gnome/
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
> Is it possible to use guile-gnome with Guile 2.0?
>
> Are there any plans to port guile-gnome to GTK 3?
>
Yes, I'm working with that. You may try it.
But I'm not sure about GTK3.
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
> On Thu 10 Feb 2011 06:22, nalaginrut writes:
>
> > I'm writing a program with xml-based config. I think an xpath2.0
> > implementation would be convenient. Is there any proper module
> > available?
>
> (sxml xpath).
>
> Not well documented though...
&
hi all!
I'm writing a program with xml-based config. I think an xpath2.0
implementation would be convenient. Is there any proper module
available?
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
for a while. But I'd better go deep
into the meta-class sometime.
Thank you!
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
27 matches
Mail list logo