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
ether? ;-)
On Tue, 2012-12-04 at 13:34 +0800, Daniel Hartwig wrote:
> On 4 December 2012 13:19, nalaginrut wrote:
> > Hi Daniel!
> > I believe this patch simplified my work, and 'colorized' module has been
> > finished, I'm testing and debugging.
> > I
st
> Tags: patch
> X-Debbugs-CC: nalaginrut
>
> Dear maintainer
>
> The attached patch adds a new repl-option to set a custom print
> procedure.
>
> --
> scheme@(guile-user)> (use-modules (srfi srfi-1))
> scheme@(guile-user)> (iota 20)
> $1 = (0 1 2 3 4 5 6 7 8 9
On Sun, 2012-12-02 at 17:50 +0100, Ludovic Courtès wrote:
> Hi,
>
> nalaginrut skribis:
>
> > I think a colorized REPL is useful for our users.
> > Will you accept a patch to 'pp' for colorized REPL? Or an easy way, a
> > module with hook to do the same
On Sun, 2012-12-02 at 10:59 +0800, Daniel Hartwig wrote:
> On 2 December 2012 00:31, nalaginrut wrote:
> > I think a colorized REPL is useful for our users.
> > Will you accept a patch to 'pp' for colorized REPL? Or an easy way, a
> > module with hook to do
On Fri, 2012-11-30 at 11:49 +0100, Ludovic Courtès wrote:
> Hello!
>
> nalaginrut skribis:
>
> > I want to do some magic to let REPL display in color.
> > But I found there's no content about REPL hook in Guile manual.
> > And how can I get the result-strin
I want to do some magic to let REPL display in color.
But I found there's no content about REPL hook in Guile manual.
And how can I get the result-string which the REPL is going to output?
Anyone point me out?
Thanks!
In ruby, we can use force_encoding to convert the encoding of a string:
"abc\u{}".force_encoding("UTF-8")
What's the same thing in Guile?
PS: I know Guile treat all strings with "UTF-8". I don't mean to encode
UTF-8 string. I need something like "force_encoding".
On Wed, 2012-11-21 at 14:25 +0100, Ludovic Courtès wrote:
> Hi!
>
> nalaginrut skribis:
>
> > I switch to lua branch then compiled it and try, seems some bugs there,
> > it can't run successfully:
> > ---cut
> > sche
On Mon, 2012-11-19 at 22:07 +0100, Ludovic Courtès wrote:
> Hi!
>
> nalaginrut skribis:
>
> > I'd like to know what work should the maintainer take? As I know there's
> > some work has been done, but it didn't merge into stable-2.0. What's the
> &
On Tue, 2012-11-20 at 18:04 +0100, Ludovic Courtès wrote:
> Hi!
>
> nalaginrut skribis:
>
> > @ludo: Thanks! I'll try to do it follow your steps.
> > Besides, do we have the final conclusion for the multi-lang choosing
> > approach, say, --lang=lua/elisp or #
On Mon, 2012-11-19 at 22:07 +0100, Ludovic Courtès wrote:
> Hi!
>
> nalaginrut skribis:
>
> > I'd like to know what work should the maintainer take? As I know there's
> > some work has been done, but it didn't merge into stable-2.0. What's the
> &
On Sat, 2012-11-17 at 16:30 +, Ian Price wrote:
> About two weeks ago, I emailed "Phil", who had shown some interest in
> hacking guile lua a while back. I still haven't heard back from him, nor
> has that branch been touched in 18 months, so I think we can safely say
> we need a new maintainer
hey guys! Should we consider add our specified name, like: .gl or
just .guile?
On Mon, 2012-11-05 at 22:15 +0100, Ludovic Courtès wrote:
> Hi!
>
> Mark H Weaver skribis:
>
> > I don't think the command-line switch is a good solution. The problem
> > is that even if the main program is not wri
On Mon, 2012-11-05 at 19:11 +0100, Ludovic Courtès wrote:
> Hello!
>
> I think time has come for 2.0.7. I suggest scheduling it for Week 48,
> WDYT?
>
> By then, we should essentially squash as many bugs as possible.
>
> New features we may want to include:
>
> - functional setters, for SRFI
For cautious, anyone tried if 'master' could be compiled/run
successfully?
On Tue, 2012-10-30 at 16:21 -0400, Mark H Weaver wrote:
> Hello all,
>
> I've started the process of merging stable-2.0 into master. It's an
> unusually large merge (50 commits, since July 28), and I found 'git
> merge' t
Ah~very good news!
On Fri, 2012-10-26 at 21:51 -0400, Mark H Weaver wrote:
> Hello all,
>
> I'm pleased to announce that Guile's built-in reader (on the stable-2.0
> branch) now includes full support for SRFI-105 curly-infix expressions.
> To use it, simply put "#!curly-infix" in a code (or data
the sweet-expressions implementation first, and
> then ask them to somehow arrange for your code to be read using the
> special reader.
>
> > And there as also this preliminary patch:
> >
> > http://lists.gnu.org/archive/html/guile-devel/2012-03/msg00129.html
>
hi Mark!
Thanks for reply!
The prime algorithm is good to me. :-)
But do you think we may take this chance to add srfi-58 incidentally?
On Fri, 2012-09-21 at 11:45 -0400, Mark H Weaver wrote:
> On 09/21/2012 04:32 AM, nalaginrut wrote:
> > hi guys!
> > I checked out the slib an
hi guys!
I checked out the slib and realized most of the part of slib we do have
it in our core/modules.
Unfortunately, "prime" is not in the feature list of slib when I run
slib:feature. But I need it, then I try to port it to Guile directly.
And I encountered something "A:fixN32b" can't be foun
On Tue, 2012-09-18 at 15:55 -0400, Chris K. Jester-Young wrote:
> On Tue, Sep 18, 2012 at 08:59:33PM +0800, nalaginrut wrote:
> > Anyway, if there're so many people like this nice thing, why not we add
> > it (at any option of these three implementations) into ice-9?
>
&
I had the same topic before:
http://lists.gnu.org/archive/html/guile-devel/2011-12/msg00247.html
Actually, there's an older thread than mine before:
http://old.nabble.com/regex-split-for-Guile-td31093245.html
Anyway, if there're so many people like this nice thing, why not we add
it (at any option
The patch to fix the error while compiling the corba module.
>From 4de97260fcf465b2e1d3a6c7c89845de5bd1697d Mon Sep 17 00:00:00 2001
From: Nala Ginrut
Date: Thu, 13 Sep 2012 14:46:16 +0800
Subject: [PATCH] change scm_vtable_index_printer to
scm_vtable_index_instance_printer modified:
corba/g
hi Wheeler!
I ever port the sweet-expression as a language module for Guile, and I
have such an honor to say it's based on your work.
There're still some bugs I need to face. But it works fine already.
https://gitorious.org/nacre/guile-sweet
Anyway, I'd like to see it becomes SRFIs. I've proposed
Oh~I just love it!
Now we may do some work for guildhall
On Wed, 2012-08-15 at 18:39 +0100, Ian Price wrote:
> Hello guilers,
>
> Attached is a pkg-list.scm file for guile-lib for use with
> guildhall. I have only included the files not part of guile 2 already,
> nor have I included the compatib
On Sun, 2012-08-12 at 22:31 +0800, rushan chen wrote:
> Hi Mark,
>
> Very appreciate for your reply.
>
> I see you mention that it's useful to implement a larger library of
> efficient data structure, and I'm interested in that very much. I used to
> work on projects which involve complicated bu
> Personally I would think that having Guile guess by extension would be
> the, in most cases, most reliable. Otherwise there could be problems
> loading several files in different languages etc.
>
Yes, my vote is gussing by extension. But also provide an option --lang
to specify in case the exten
e an issue, one may choose bytevector
to implement "make-mutable-string". And it's easy to substitute with
sed.
BTW, can't we make an efficient "mutable-string" module for an
alternative? Just like old version. I mean it could be a Guile specific
feature.
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x
hackerkey.com
---end key---
-
,d scandir
-
PS: There must be some bugs in this implementation, like portable
problem. I believe I didn't add some critical macro in it. But I think
there're lots of people know more than me in the mail-list. So I submit
it, and waiting for any advices or
I talked with cky on IRC. And I realized that I made a mistake.
He needs a cycle-printer. But in my case, I just want to avoid a cycle
printing.
So that's fine.
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WD
o
> no fix is attached.
>
> Many thanks,
> Chris.
Well, I got such a problem too. But some guy told be
set-record-type-printer! is helpful. So I just write a new printer for
my record for testing. I think it's unnecessary to change the module
since
hi guys! I got new message for this topic.
If I run this:
>cut<----
^_^[nalaginrut@Renee-desktop:guildhall]$ LANG=C
^_^[nalaginrut@Renee-desktop:guildhall]$ guild hall update
Fetching http://rotty.yi.org/doro/experimental/available.scm
L
hi all, I tried "guild hall update", and get these errors:
-->cut<------
^_^[nalaginrut@Renee-desktop:cedar]$ guild hall update
Fetching http://rotty.yi.org/doro/experimental/available.scm
Backtrace:
In ../../module/ice-9/
S:
This patch doesn't contain the missing files. Just a modification of
Makefile.am. I believe they are spells/private/* which we may find them
in dorodango/spells/spells/private. Correct me if I'm wrong.
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaG
we're happy with it.
>
> So, let's build the guild hall!
>
> Andy
Should we consider a new directory to put these downloaded packages
without any authority? Sometimes new packages have .so files. I don't
think it's proper to handle them with authority. If some bad
)) instead.
>
Well, thanks!
Finally I've wrote an unless macro for myself. But I'm happy to know the
reason why it failed. :)
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RA
ession:
ERROR: Syntax error:
unknown location: source expression failed to match any pattern in form
unless
is it a bug?
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8M
ust be a already-known-symbol. So
there's some generalize problem. Ian thought a simple approach to solve
this without modify the sxml-match code.
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORT
macro explaining it to me. :-)
The other solution is to "modify the code on the fly", then eval it.
But finally I realized that sxml-match is macro, not suitable for eval.
Any new suggestions will be welcome. :-)
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x
hackerkey.com
---end key---
m261 top))
#("i262")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage () () ())
#(ribcage #(content) #((top)) #("i259")) #(ribcage () () ()) #(ribcage
#(type) #((top)) #("i257")) #(ribcage () () ()) #(ribcage #(title)
#((top)) #("i255")) #(ribcage () () ()) #(ribcage #(author-name)
#((top)) #("i253")) #(ribcage () () ()) #(ribcage #(feed) #((top))
#("i251")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(sxml)
#((top)) #("i249"))) (hygiene guile-user)) #(syntax-object (unquote cv)
((#f top) shift #(ribcage () () ()) #(ribcage #(escape) #((m266 top))
#("i270")) #(ribcage () () ()) #(ribcage () () ()) #(ribcage () () ())
#(ribcage () () ()) #(ribcage () () ()) #(ribcage #(exp) #((m261 top))
#("i265")) #(ribcage #(cfun) #((m261 top)) #("i262")) #(ribcage () ()
()) #(ribcage () () ()) #(ribcage () () ()) #(ribcage #(content)
#((top)) #("i259")) #(ribcage () () ()) #(ribcage #(type) #((top))
#("i257")) #(ribcage () () ()) #(ribcage #(title) #((top)) #("i255"))
#(ribcage () () ()) #(ribcage #(author-name) #((top)) #("i253"))
#(ribcage () () ()) #(ribcage #(feed) #((top)) #("i251")) #(ribcage ()
() ()) #(ribcage () () ()) #(ribcage #(sxml) #((top)) #("i249")))
(hygiene guile-user
End===
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x
hackerkey.com
---end key---
,tv)) ,cv)
...
===End===
I can't substitute 'http://www.w3.org/2005/Atom:content by a variable,
say ,mypattern. It spews a lot of error message.
Is it a bug or I missed something?
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - Nala
So we'll see a 48-bits solution in 2.2?
Sorry I can't say I'm clear since it's a long article.
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x
red it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x
hackerkey.com
---end key---
ected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x
hackerkey.com
---end key---
ted it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x
hackerkey.com
---end key---
t like Guile always does.
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x
hackerkey.com
---end key---
get is to build some guile apps in embedded device.
Anyway, this is useful for non-embedded users too~
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x
hackerkey.com
---end key---
programming guys, this module even provides inline assemble. I know this
module is too simple for some guys, but it's easy to implement and easy
to use.
My patch is attached(actually it's not a patch...).
Any advices?
--
GNU Powered it
GPL Pr
his accepted?
[2] I'm failed to find "load" procedure(well,I can find sym_load but no
further), anybody give me a hint?
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x
hackerkey.com
---end key---
According to the paper, some
scheme compiler provided "tail call" based on a modified standard C
compiler. I think it's similar to arrange/restrict solution.
I'm not sure if my understanding is correct. Anyway, I'll finish reading
this paper.
--
GNU
solution which could support nice
efficient for GUILE to run on embedded device.
The VM&bytecode maybe a good solution. But I'd like to see a GUILE
compiler which compile some code to binary directly(if it's possible).
I've tried Gambit-C, it's great. Can we do something al
ctually need to do
> that yet.
>
> (Is that right? In any case, it definitely isn't relevant to the
> memory eating problem, because the strace shows that guile hasn't yet
> tried to open any .scm or .go files.)
>
> Regards,
> Neil
>
I think guile
gt; guild update
> guild compile foo.scm
> guild install fmt
>
My girl friend think "guile-tool" could be abbreviate to
"guil+t"=guilt...just joking, I don't think that's a proper name...hope
not enraging somebody. :-)
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x
hackerkey.com
---end key---
well:guile[0]$
>
> Compilation of the tag "v2.0.0" succeeds. Installed locally is
> gc-7.2alpha4.
>
> Is this a known problem?
>
> Thanks
> Detlev
>
hi, I got the same problem today. While I tried bdwgc-7_2alpha5-20110107
the problem's gone. Good
da (k) #f)
> >(f)))
>
> Fixed in git. Thanks for the amusing bug, Mr. Turing!
>
> Andy
Well~it's a nice news. My code was modified to an more ugly style to
make it work because of this bug. But I think it's cure now. :-)
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
.html
> and it points to http://lonelycactus.com/guilebook/
>
> Thanks,
>
> Mike
>
good job! Is this book finished? If so, I'd like to translate it into
Chinese and put it in my wiki. :-)
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
r good short names?
> >
> > Cheers,
> >
> > Andy
Well~I really like "guido". But I'll suppose "guide" if somebody
complains the "metaphor" of "guido"...
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
;guido". But I'll suppose "guide" if somebody
complains the "metaphor" of "guido"...
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
Guile will crash and say:
../../module/sxml/xpath.scm:111:0: In procedure nodeset?:
../../module/sxml/xpath.scm:111:0: Throw to key `vm-error' with args
`(vm-run "VM: Stack overflow" ())'.
Is it a bug?
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
get this right if you're installing
> multiple versions.
>
> Ken
Definitely sure. I used `guile-config compile` in my Makefile. But the
header file still missing. So I modified the include path directly. I
think there're some manage/control work in Guile-2.0 need to be done.
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
right header.
>
>
Well~I modified the include path and it's done.
Thanks all!
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
ult.
Is this conversion accepted? Or I made some mistakes?
Any help would be appreciated! Thanks!
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
62 matches
Mail list logo