Re: [PATCH] test-suite: Add tests for `for-rdelim-in-port`-relatedfunctions.

2024-12-20 Thread Nala Ginrut
> > If so, the entire (ice-9 rdelim) module needs to be revised as well as > libguile/rdelim.c since the current implementation assumes that the line > delimiter is a single character, which was not true under Windows last time > I checked. > As I know, Windows seems the only mainstream and livin

Re: [PATCH] test-suite: Add tests for `for-rdelim-in-port`-related functions.

2024-12-20 Thread Nala Ginrut
You typed so many patches unrelated thing that help me thought your time is cheap. It is cheap talking to me. Personally I'm so curious why you think blocklist is a weapon to threat people. But anyway, I don't against your interesting opinions, since you are always interesting. Anyway, I would li

Re: [PATCH] test-suite: Add tests for `for-rdelim-in-port`-related functions.

2024-12-20 Thread Nala Ginrut
I don't talk nonsense with you, and I didn't against your opinions even for your nonsense. The only thing I care is that, are you ready to back to the coding part, and show your code than cheap talking, now? Best regards. On Fri, Dec 20, 2024, 23:47 Maxime Devos wrote: > Can you stop it with th

Re: [PATCH] test-suite: Add tests for `for-rdelim-in-port`-related functions.

2024-12-20 Thread Nala Ginrut
"I also care if the image in your mind is not what showed in your mind" should be "showed in my mind" Best regards. On Fri, Dec 20, 2024, 23:30 Nala Ginrut wrote: > As I said, I didn't against any of your opinions. But I have my freedom to > comment on what I th

Re: [PATCH] test-suite: Add tests for `for-rdelim-in-port`-related functions.

2024-12-20 Thread Nala Ginrut
As I said, I didn't against any of your opinions. But I have my freedom to comment on what I think important. So I made my proposal accordingly to the specific issue as you pointed out. This may not be accepted by you, but that's your freedom to share your mind further. And I unnecessarily need to

Re: [PATCH] test-suite: Add tests for `for-rdelim-in-port`-related functions.

2024-12-20 Thread Nala Ginrut
> >You can just say you've no idea about it, > > That’s true (i.e., I can say I have no idea about it), but I have no > reason to lie about it, so I won’t. I did have an idea, and I gave the idea > to you, as I mentioned in my two previous replies. > > Thanks! This sentence saves a lot of time. He

Re: [PATCH] test-suite: Add tests for `for-rdelim-in-port`-related functions.

2024-12-20 Thread Nala Ginrut
> > I already did. Also, no. Just because you know something is bad, doesn’t > mean you know a better solution, so it doesn’t automatically follow that a > better solution should be given. > You can just say you've no idea about it, such situation doesn't need to write so many words to explain it

Re: [PATCH] test-suite: Add tests for `for-rdelim-in-port`-related functions.

2024-12-20 Thread Nala Ginrut
I have no any interest to persuade you, just show my opinion and suggestions. And I also have no interest to argue with you about the design, because the efforts has made according to you suggestions. I'm trying to follow the idea to not waste any efforts have been made. My suggestion is to find

Re: [PATCH] test-suite: Add tests for `for-rdelim-in-port`-related functions.

2024-12-20 Thread Nala Ginrut
> Also, you are assuming “\n” is a line delimiter. This is true under Unix > according to the documentation. But it doesn’t say anything about non-Unix > systems. > RnRs defined read-line to handle different newline properly. My original idea is to stick to a pure line string reader iterator helpe

Re: [PATCH] test-suite: Add tests for `for-rdelim-in-port`-related functions.

2024-12-16 Thread Nala Ginrut
The preferred activity in your design is more like for-each family, say, handle the result inside the proc without return result. So maybe it should be named as for-each-*-in-file, which is more understandable in the first glance. Best regards. On Tue, Dec 17, 2024, 13:31 Adam Faiz wrote: > From

Re: [PATCH 1/2] rdelim: Add new procedure `for-rdelim-in-port`.

2024-12-16 Thread Nala Ginrut
Thanks for the work! I didn’t find anything to be picky about yet in the implementation. Now there are two things could go further. 1. About the port closing, I don’t insist on my previous suggestion right now. There may be arguments against it by folks. I’m fine with any. 2. To complete a promis

Re: [PATCH v3] rdelim: Add new procedure `for-line-in-file`.

2024-12-16 Thread Nala Ginrut
> > I know you were told that it should close the port, but I am not sure > about it. It should close the port it opened, but should it also the > one it got? This will prevent the same port being processed multiple > times, which could be annoying. > I'm sorry folks, I regretted to give this su

Re: [PATCH v2] rdelim: Add new procedure `for-line-in-file`.

2024-12-16 Thread Nala Ginrut
The faces icons are my speaking freedom as part of text. I grown up in a dictatorship place, they don’t even let me stop typing faces 😁 and no one told me smile faces make things worse. It is interesting to hear it first time in my life. “Well enough to go” means there is enough efforts to show an

Re: [PATCH v2] rdelim: Add new procedure `for-line-in-file`.

2024-12-16 Thread Nala Ginrut
I'm not going to pursued anyone here, just sharing my opinion about a patch for line parsing in a text file.😄 Yes, some of the parsers don need backwards, but it also doesn't mean others parsers have priority to occupy a general API. To my experience, a parser author like me prefer to write own p

Re: [PATCH v2] rdelim: Add new procedure `for-line-in-file`.

2024-12-16 Thread Nala Ginrut
for ‘split’.) > > > > Also, I’d rather keep opening files out of the procedure – avoids the text > encoding issues (mentioned by Nala Ginrut), also convenient for sandboxed > environment that don’t want to give access to the file system (or, at > least, only use a special file openin

Re: [PATCH v2] rdelim: Add new procedure `for-line-in-file`.

2024-12-15 Thread Nala Ginrut
Hi Adam! For string manipulation, the proper encoding has to be considered. It's better to use the provided [#:guess-encoding=#f] [#:encoding=#f] as well. You may take a look at call-with-input-file in document: https://www.gnu.org/software/guile/manual/html_node/File-Ports.html BTW, in your case,

Re: [PATCH v1] rdelim: Add new procedure `for-line-in-file`.

2024-12-15 Thread Nala Ginrut
Hi Adam! I was confused with the name "file" here since it acts more like a port rather than a filename. If it's expected to be a opened port passed from the caller, it's better rename to "port". In your context, I think you want to check if it's the end of file, so you may use eof-object? To mak

Re: [PATCH] At-exit hook

2024-11-07 Thread Nala Ginrut
How about using sigprocmask to disable async signals temporarily? On Thu, Nov 7, 2024 at 8:23 PM Maxime Devos wrote: > ‘atexit’ functions are run at ‘exit’. ‘exit’ can be run from signal > handlers (*). Since the hook runs Scheme code, it could do a lot of > AC-unsafe things, resulting in probl

Re: Why does guile put -lgc into the linker flags?

2024-10-06 Thread Nala Ginrut
Hello, I think the issue is that the libguile.h file does not help downstream packages isolate themselves from libgc completely. There are many static functions related to bdwgc in gc-inline.h, which will be combined with downstream code as a whole to compile, similar to using gc directly in your

Re: Non-blocking web server

2024-03-25 Thread Nala Ginrut
Hi Ryan! For the single-threaded non-blocking server in Guile, you have to make sure at least 3 steps: 1. set socket to non-blocking 2. enable suspended ports to prepare delimited-continuation powered coroutine 3. designed your own scheduler Even in the single thread, you can handle requests concu

Re: Make the pkgconfig file of Guile relocatable.

2022-02-27 Thread Nala Ginrut
hi Zihao! I think the substitution is OK. But if you want to package for Guix, you need to go Guix way. Guix package has made a similar approach, for example, you may check "guix edit artanis" to see how it substitutes the dir for Artanis. Best regards. On Mon, Feb 28, 2022 at 12:27 AM Zhu Zih

Re: thoughts on targetting the web

2021-10-06 Thread Nala Ginrut
I'm looking forward to it, and I'm pretty sure this can bring new possibilities to Artanis! Best regards. On Sun, Jun 20, 2021, 04:21 Andy Wingo wrote: > Hi :) > > A brain-dump tonight. I was thinking about what it would mean for Guile > to target the web. The goal would be for Guile to be a

Re: Implementing ES6 on top of Guile

2021-07-06 Thread Nala Ginrut
Sorry, "it's mostly ES6". On Tue, Jul 6, 2021, 15:48 Nala Ginrut wrote: > Hi Ayush! > I have some experiences to write language frontend on Guile. > Here are posts and project you can take a look, they could be helpful to > you. > > > https://nalaginrut.

Re: Implementing ES6 on top of Guile

2021-07-06 Thread Nala Ginrut
Hi Ayush! I have some experiences to write language frontend on Guile. Here are posts and project you can take a look, they could be helpful to you. https://nalaginrut.com/archives/2016/09/05/a-preview-of-guile-lua-%28rebirth%29%2c-and-some-opinions- https://gitlab.com/NalaGinrut/guile-lua-rebirt

Re: Python-on-guile

2021-04-27 Thread Nala Ginrut
Nice to know it! I still don't have time to polish my guile-lua-rebirth. Anyway, it's really good news to see the transpiler has a good performance on Guile.! Best regards. On Fri, Apr 23, 2021 at 11:01 PM Mikael Djurfeldt wrote: > Hi, > > Yesterday, Andy committed new code to the compiler, so

Re: The r6rs record-type in pattern matching of Guile-3.0

2020-09-15 Thread Nala Ginrut
ord-type (subclass) from now on, which would be faster for access, obviously. Best regards. On Tue, Aug 25, 2020 at 4:16 AM Nala Ginrut wrote: > Hi folks! > I found the r6rs record pattern matching has different results compared to > Guile-2.

The r6rs record-type in pattern matching of Guile-3.0

2020-08-24 Thread Nala Ginrut
Hi folks! I found the r6rs record pattern matching has different results compared to Guile-2. Here is the example code: -code-- ,use (rnrs) ,use (ice-9 match) (define-record-type aaa (fields a)) (define-record-type bbb (p

Re: GNU Guile 2.9.8 Released [beta]

2020-01-25 Thread Nala Ginrut
nis:latest Best regards. On Sun, Jan 19, 2020 at 3:43 AM Nala Ginrut wrote: > Just a report, the same compiling error existing in Guile-3.0.0. > > Best regards. > > > On Tue, Jan 14, 2020 at 4:49 PM Nala Ginrut wrote: > >> Hi Wingo! >> Here're update: >&

Strange activity in Guile-3.0.0 record-type

2020-01-25 Thread Nala Ginrut
Here's a simple test: ---mm.scm--- (define-module (mm) #:use-module ((rnrs) #:select (define-record-type))) (define-record-type aaa) (define-record-type bbb) --end

Re: Announcing the first stable release of guile-for-loops

2020-01-24 Thread Nala Ginrut
+1 On Fri, Jan 24, 2020, 20:13 Stefan Israelsson Tampe wrote: > > > -- Forwarded message - > From: Stefan Israelsson Tampe > Date: Fri, Jan 24, 2020 at 12:42 PM > Subject: Re: Announcing the first stable release of guile-for-loops > To: Linus Björnstam > > > Would be cool to ha

Re: GNU Guile 2.9.8 Released [beta]

2020-01-18 Thread Nala Ginrut
Just a report, the same compiling error existing in Guile-3.0.0. Best regards. On Tue, Jan 14, 2020 at 4:49 PM Nala Ginrut wrote: > Hi Wingo! > Here're update: > 1. 2.9.9 didn't fix this issue > > 2. I imported r6rs record-type in (artanis utils), and this module

Re: Logo baseline

2020-01-18 Thread Nala Ginrut
On Sat, Jan 18, 2020 at 10:14 PM Ludovic Courtès wrote: > Hello Guilers! > Clearly, Guile is still an extension language, with many great > applications (Gnucash, Lepton-EDA, OpenCog, GDB, etc.), and I’m sure > libguile is here to stay. Yet, to me, “extension language” does not > accurately cap

Re: GNU Guile 2.9.8 Released [beta]

2020-01-14 Thread Nala Ginrut
ine-record-type in server-context.scm I guess there're some name conflicting. On Sat, Jan 11, 2020 at 6:33 PM Andy Wingo wrote: > On Wed 08 Jan 2020 15:22, Nala Ginrut writes: > > > In unknown file: > >4 (primitive-load-path "artanis/server/serve

Re: GNU Guile 2.9.8 Released [beta]

2020-01-08 Thread Nala Ginrut
When I was trying to compile Artanis with Guile-2.9.8, it throw error like this: --- WARNING: (artanis utils): imported module (rnrs) overrides core binding `record-accessor' Backtrace: In ice-9/psyntax.scm:

Re: SHA256 performance with Guile 2.2 vs. Guile 3.0

2020-01-04 Thread Nala Ginrut
Congrats! I just replaced Weinholt's hmac implementation with NSS binding for product consideration, but nice to know this great result! And thanks to Weinholt's work, Artanis had been relying on it for many years. Best regards. On Sat, Jan 4, 2020, 18:36 Göran Weinholt wrote: > Ludovic Courtè

Re: GNU Guile 2.9.8 Released [beta]

2020-01-02 Thread Nala Ginrut
When I was trying to compile Artanis, the configure threw an error: checking for Guile version >= 3.0... configure: error: Guile 3.0 required, but 2.9.8 found Here's what I put in configure.ac: GUILE_PKG(2.2 2.3 2.9 3.0) My question is "wh

Re: draft 3.0 release schedule

2019-12-13 Thread Nala Ginrut
Finally! On Thu, Dec 12, 2019, 05:27 Andy Wingo wrote: > Hi, > > I've been trying to put out releases on an every-other-Friday schedule. > Due to holidays I will probably bump this next one (2.9.7) up to this > Friday. Current plan would then be to do 2.9.8 on 3 January 2020, and > then if all

Re: landed r7rs support

2019-11-22 Thread Nala Ginrut
On Tue, Nov 19, 2019, 03:34 Amirouche Boubekki wrote; > > link: > https://www.gnu.org/software/guile/manual/guile.html#Extending-the-Compiler > > In that section, maybe add a note about a web assembly backend? > +1 In the past decade, we've gotten some experiences about compiler frontend around

Re: guile 3 update, halloween edition

2019-10-30 Thread Nala Ginrut
Hi Andy! Thanks for all the work! On Thu, Oct 31, 2019 at 4:55 AM Andy Wingo wrote: > Hey folks! > > I wanted to send out an update on Guile 3. Do take a look at > https://git.savannah.gnu.org/cgit/guile.git/tree/NEWS to see where we've > come; basically the JIT is done, and we're ready to rele

Re: Contributions to “Guile Studio”

2019-10-29 Thread Nala Ginrut
I just want to say thank you to all the contributors! I'm trying to do some efforts to make Guile more friendly to newbies, guile-studio seems a good thing to help them to get a start. Best regards. On Tue, Oct 29, 2019 at 2:40 AM Ricardo Wurmus wrote: > > Hi Mark, > > I’m glad you consider th

Re: conflicts in the gnu project now affect guile

2019-10-19 Thread Nala Ginrut
On Sun, Oct 20, 2019 at 11:10 AM Mark H Weaver wrote: > It might create more divisions between us, at a time when we should be > focused on healing our wounds and coming together as a community. I'd > be glad to discuss it later. > > +1 I agree that let's keep friendly just like before, after al

Re: conflicts in the gnu project now affect guile

2019-10-17 Thread Nala Ginrut
hi Andy, I think Mark has explained something, I hope you can rethink about it calmly. It seems a misunderstanding. A decade ago I came to Guile community, and I've learned many things from the people here. Andy, Mark, and Ludo are the people I really respect. However, someday if they start to bla

Re: Maintainership changes: many thanks to Mark!

2019-09-11 Thread Nala Ginrut
Hi Mark! Many thanks for all your contributions! I'm going to say that I've learned too many things from you, and you helped me to carve my skills. Do you remember once I said I owe you a beer? ;-) Best regards. On Wed, Sep 11, 2019 at 3:57 PM Andy Wingo wrote: > Hi all, > > After many years w

Re: Support Websocket status code

2019-08-07 Thread Nala Ginrut
hi Mark! Yes you're right, the status code should be encoded in close-frame, not HTTP response. Sorry for the wrong patch. ;-) Best regards. On Wed, Aug 7, 2019 at 2:52 PM Mark H Weaver wrote: > Hi, > > Nala Ginrut writes: > > > Hi folks! > > The current respon

Re: Support Websocket status code

2019-07-28 Thread Nala Ginrut
Here is a patch to add necessary status code, and avoid checking failure when building response. Based on branch stable-2.2 Thanks! On Fri, Jul 26, 2019 at 2:06 PM Nala Ginrut wrote: > Hi folks! > The current response builder will reject status code less th

Support Websocket status code

2019-07-25 Thread Nala Ginrut
Hi folks! The current response builder will reject status code less than 600: ---code- ((not (and (non-negative-integer? code) (< code 600))) (bad-response "Bad code: ~a" code)) --- H

Re: python-on-guile

2019-06-26 Thread Nala Ginrut
Thanks for the work! I appreciate it! On Sat, Jun 15, 2019 at 3:05 AM Stefan Israelsson Tampe wrote: > > python on guile has reached quite far and now compiles a lot of the standard > python code base. The speed has not been of importance. Rather to get good > coopertion between guile scheme an

Re: Releasing 2.2.5?

2019-06-06 Thread Nala Ginrut
I'm looking forward to it! On Thu, Jun 6, 2019 at 4:51 PM Ludovic Courtès wrote: > > Hello comrades! > > What would you think of releasing ‘stable-2.2’ as 2.2.5? > > It’s great if you can do it, Mark, but otherwise I can do it. > > Thanks, > Ludo’. >

Re: compilation pragmas?

2019-05-29 Thread Nala Ginrut
Hi Massimiliano! Could you show some code to elaborate on your idea? It's too vague to understand by a pure text description. Thanks! On Wed, May 29, 2019 at 8:43 PM Massimiliano Gubinelli wrote: > > Hello, > I noticed that the Tree IL compiler uses an ad-hoc code to check if some > symbol is

Re: [PATCH] Add current-suspendable-io-status parameter

2019-05-17 Thread Nala Ginrut
Hi Mark! I need some time to think about all the situations in front of us. And here's a quick reply to one of your questions: On Thu, May 16, 2019 at 8:59 AM Mark H Weaver wrote: > What about when we write something more structured, such as writing a > large S-expression using 'write', or seri

Re: [PATCH] Add current-suspendable-io-status parameter

2019-05-15 Thread Nala Ginrut
Similar, but in Guile, you don't have to care about if it's blocking and schedule it by yourself, while you have to care about it explicitly in C. 于 2019年5月15日周三 20:10写道: > On Wed, May 15, 2019 at 07:25:37PM +0800, Nala Ginrut wrote: > > hi Tomas! > > For Guile, if you

Re: [PATCH] Add current-suspendable-io-status parameter

2019-05-15 Thread Nala Ginrut
ioned by I/O multiplexer. That is to say, you can do other works before it mentions you some time. On Wed, May 15, 2019 at 6:09 PM wrote: > > On Mon, May 13, 2019 at 06:54:38PM +0800, Nala Ginrut wrote: > > Hi folks! > > Here's a patch to add current-suspendable-io-stat

Re: [PATCH] Add current-suspendable-io-status parameter

2019-05-15 Thread Nala Ginrut
2019 at 4:23 AM Mark H Weaver wrote: > > Hi Nala, > > Nala Ginrut writes: > > > On Tue, May 14, 2019 at 7:01 AM Mark H Weaver wrote: > >> I guess what you want is the ability to see incremental reports on the > >> progress of your large I/O operations. Is th

Re: [PATCH] Add current-suspendable-io-status parameter

2019-05-13 Thread Nala Ginrut
Hi Mark! Thanks for so patient reply! On Tue, May 14, 2019 at 7:01 AM Mark H Weaver wrote: > I guess what you want is the ability to see incremental reports on the > progress of your large I/O operations. Is that right? If we are going > to add an API for this, it needs to be reliable, and alw

Re: [PATCH] Add current-suspendable-io-status parameter

2019-05-13 Thread Nala Ginrut
BTW, the patch is based on the latest stable-2.2 branch. On Mon, May 13, 2019 at 6:54 PM Nala Ginrut wrote: > > Hi folks! > Here's a patch to add current-suspendable-io-status: > Its result is a pair: (finished-bytes . rest-bytes) > > This is useful for designing a proper

[PATCH] Add current-suspendable-io-status parameter

2019-05-13 Thread Nala Ginrut
ed on this status to decide how to schedule the suspended task. Comments are welcome. Best regards. From 59c2584a1eda94c19fbef07bb8bfa36da3c0ce1c Mon Sep 17 00:00:00 2001 From: Nala Ginrut Date: Mon, 13 May 2019 18:45:54 +0800 Subject: [PATCH] Add current-suspendable-io-status When suspendable

Re: Code coverage is broken

2019-02-09 Thread Nala Ginrut
I wonder if it's a bug that the FN was skipped. On Sat, Feb 9, 2019 at 10:51 AM Nala Ginrut wrote: > > Never mind, it's better than mine, at least there're lines records, > although functions calling are still missing. > Thanks ;-) > > On Sat, Feb 9, 2019 at 8:

Re: Code coverage is broken

2019-02-08 Thread Nala Ginrut
Never mind, it's better than mine, at least there're lines records, although functions calling are still missing. Thanks ;-) On Sat, Feb 9, 2019 at 8:27 AM Amirouche Boubekki wrote: > > Sorry! My test is not good. Ignore what I posted previously.

Code coverage is broken

2019-02-08 Thread Nala Ginrut
Hi folks! I'm trying to add code coverage for certain program. However, the function callings are always unrecorded. -- (use-modules (system vm coverage) (system vm vm)) (call-with-values

Re: FOSDEM 2019

2019-02-05 Thread Nala Ginrut
This patche provide #lang tag like Racket does. If so then it's reasonable and doable. Thanks for that! :-) Matt Wette 于 2019年2月6日周三 08:38写道: > > > On 2/5/19 8:58 AM, Ludovic Courtès wrote: > > Hi, > > > > Amirouche Boubekki skribis: > > > >> What does it mean in practice? What are the tasks th

Re: FOSDEM 2019

2019-02-05 Thread Nala Ginrut
Does it mean someone is working on writing Racket specific dialect front-end on Guile? I appreciate! Ludovic Courtès 于 2019年2月6日周三 00:59写道: > Hi, > > Amirouche Boubekki skribis: > > > What does it mean in practice? What are the tasks that must dealt with? > > Like I wrote, an immediate task is

Re: FOSDEM 2019

2019-02-03 Thread Nala Ginrut
Thanks for all the words folks! I confess the thoughts about "Guile is crap" is reasonable for some people, especially when you compare Guile to Chez and Racket. We can't ignore the quality of Chez and Racket. People always have choices, some would choose performance, some choose rapid development

Re: moving to gitlab?

2019-01-22 Thread Nala Ginrut
First, I hope Guile can use gitlab. However, IIRC, RMS has some comments on this, the hosting service must be free, and it shouldn't allow to fork, but branch-based. This is reasonable to protect project, but RMS speaks as a skilled hacker, I have to say it's very good policy in a professional engi

Re: GTK3 bindings status

2018-11-11 Thread Nala Ginrut
Hi Mike! I'm just here to say, thanks for the work! Mike Gran 于 2018年11月12日周一 07:52写道: > Hi- > > After a few weeks hacking, I have actually got a library that parses > GObject-Introspection *.typelib files to create Guile bindings, and I > have added just enough machinery to get GTK's famous Exa

Re: 2018 Scheme and Functional Programming Workshop CfP

2018-08-01 Thread Nala Ginrut
I've sent a paper about guile-lua, hope everything is ok ;-P On Fri, Jul 6, 2018 at 2:46 PM Amirouche Boubekki wrote: > > I did not see this CfP going through Guile mailling list, > so here is it. Deadline is monday! > > > DEADLINE: 9 July 2018, (Any time in the world) > WEBSITE: https://brinckerh

What's the alternative of scm_new_port_table_entry?

2018-04-04 Thread Nala Ginrut
I found there're many issues after scm_new_port_table_entry was removed recently: commit 9417fdb80fb5db4f657c9a329faaa61162ab996b Author: Ludovic Courtès Date: Fri Feb 16 14:26:56 2018 +0100 doc: Fix typo about SRFI-4 syntax. Reported by Ma

Re: Question: link to wrong library

2018-01-22 Thread Nala Ginrut
0x7f3cf9d3e000) >> /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 >> (0x7f3cfba49000) >> libdl.so.2 => /usr/lib/libdl.so.2 (0x7f3cf9b3a000) >> libatomic_ops.so.1 => /usr/lib/libatomic_ops.so.1 (0x7f3cf9937000) >> ``` >> >> >> --

Re: Question: link to wrong library

2018-01-21 Thread Nala Ginrut
I think you may need LD_LIBRARY_PATH 2018年1月21日 23:46,"陶青云" 写道: > Hi. I'm new to guile. I compiled it from source without `make install`. > > I write a simple C file and use the flowing command to compile it. > `gcc -pthread -I. -L ./libguile/.libs -lguile-2.2 -lgc test.c` > it successed. b

Re: Rename GNU fdisk to GUILE diskutils

2017-12-14 Thread Nala Ginrut
Personally, I don't think adding guile prefix to a package name is the way to advocating Guile, unless it's Guile specific program and used by Guile only. GNU Artanis is written in pure Guile scheme, but the name doesn't imply any guile stuff. If people like it, then they will like the power of Gui

Re: Error while detecting Guile-3.0

2017-10-23 Thread Nala Ginrut
I formatted a patch here in case anyone need it before 3.0 release. On Mon, Oct 23, 2017 at 3:42 PM, Nala Ginrut wrote: > Sorry, this line: > --- > (define guile-module "guile-2.2") > --- >

Re: Error while detecting Guile-3.0

2017-10-23 Thread Nala Ginrut
Sorry, this line: --- (define guile-module "guile-2.2") --- On Mon, Oct 23, 2017 at 3:40 PM, Nala Ginrut wrote: > And this line should be changed to "guile-3.0"

Re: Error while detecting Guile-3.0

2017-10-23 Thread Nala Ginrut
And this line should be changed to "guile-3.0" in meta/guile-config.in --- (define guile-module "guile-3.0") --- Best regards. On Mon, Oct 23, 2017 at 3:36 PM, Nala Ginrut wrote: > Now I t

Re: Error while detecting Guile-3.0

2017-10-23 Thread Nala Ginrut
ION=3 GUILE_MINOR_VERSION=0 GUILE_MICRO_VERSION=0 The problem gone. I think it's better to fix it in master branch, or people may find it's confusing sometimes. Best regards. On Mon, Oct 23, 2017 at 3:19 PM, Nala Ginrut wrote: > hi folks! &

Error while detecting Guile-3.0

2017-10-23 Thread Nala Ginrut
hi folks! I'm trying to use Guile-3.0 for a project, but it complains when configure: - checking for Guile version >= 3.0... configure: error: Guile 3.0 required, but 2.3.0 found - The related lines in

Re: Wisp as shipped language in Guile?

2017-09-19 Thread Nala Ginrut
Well yes, it looks good if we have it. And I could let users of Artanis write HTML template like Ruby slim. http://slim-lang.com/ 2017年9月19日 下午10:10,"Christopher Allan Webber" 写道: > Matt Wette writes: > > >> On Sep 17, 2017, at 4:22 PM, Arne Babenhauserheide > wrote: > >> > >> > >> Matt Wette w

Re: Wisp as shipped language in Guile?

2017-08-11 Thread Nala Ginrut
Hi Arne! Personally, I'd like to see many languages on Guile. But I prefer maintain mine, guile-lua-rebirth and a new shell language(undone) as an external package. GNU official project reviews contributions too strictly, it's good for the quality and free software ethics, but too difficult for ne

Re: ffi-help: handling types

2017-06-27 Thread Nala Ginrut
Good job! 2017年6月28日 上午10:26,"Matt Wette" 写道: > Hi All, > > I am working on a ffi-helper: a program that will read in a C dot-h file > and generate a Guile dot-scm file which defines a module to provide hooks > into the associated C library. A little status on type handling: > > For nominal C t

Re: [ Porting Guile on Android 4.4 ]

2017-06-17 Thread Nala Ginrut
I'm not familiar with this porting work, so can't help more. But it's great if I could use Guile on my phone! Thanks for the work! 2017年6月16日 下午11:48,"Robert Dazi" 写道: > Hello, > I tried to port Guile 2.2.1 on Android 4.4. As you might know, Android is > not GNU/Linux and many functions (and even

Re: Efficiency of `map`

2017-06-09 Thread Nala Ginrut
Hi Mark! Do you have any advice to optimize it without disable GC temperaly? Or the only way is to change a better GC? 2017年6月10日 12:28,"Mark H Weaver" 写道: > Stefan Monnier writes: > > >> (define (map f l) > >> (if (pair? l) > >> (cons (f (car l)) > >> (map f (cdr l))

Re: Is the backtrace broken in 2.2.2?

2017-05-12 Thread Nala Ginrut
I'm trying to form a simplified test case, please wait a moment. 2017年5月13日 06:21,"Mark H Weaver" 写道: > Nala Ginrut writes: > > > On Wed, May 3, 2017 at 3:45 AM, Andy Wingo wrote: > >> On Mon 01 May 2017 06:45, Nala Ginrut writes: > >> > >&

Re: Is the backtrace broken in 2.2.2?

2017-05-03 Thread Nala Ginrut
It always appears. Maybe relate to call-with-prompt? On Wed, May 3, 2017 at 3:45 AM, Andy Wingo wrote: > On Mon 01 May 2017 06:45, Nala Ginrut writes: > >> Hi all! >> I'm using the latest Guile from git repo. >> It seems something is wrong

Is the backtrace broken in 2.2.2?

2017-04-30 Thread Nala Ginrut
Hi all! I'm using the latest Guile from git repo. It seems something is wrong to print message of backtrace. ---cut Exception thrown while printing backtrace: ERROR: In procedure vector-ref: Value out of range: 156 end

Re: RFC: (ice-9 sandbox)

2017-04-17 Thread Nala Ginrut
front-end writer has to write their own sandbox with (ice-9 sandbox) if any necessary. :-) Best regards. 2017年4月17日 16:07,"Andy Wingo" 写道: > On Sat 15 Apr 2017 19:23, Nala Ginrut writes: > > > Could you please add #:from keyword to evil-in-sand box to indicate > > the la

Re: RFC: (ice-9 sandbox)

2017-04-15 Thread Nala Ginrut
Hi Andy! It's pretty cool! Could you please add #:from keyword to evil-in-sand box to indicate the language front-end? Don't forget there's multi-lang plan. :-) Best regards. Andy Wingo 于2017年3月31日周五 17:28写道: > Hi, > > Attached is a module that can evaluate an expression within a sandbox. > If t

Re: GNU Guile 2.2.0 released

2017-03-16 Thread Nala Ginrut
Congrats! 6 years, well I never realized it. At that time I was a newbie in Scheme land... Best regards. On Thu, Mar 16, 2017 at 6:16 PM, Andy Wingo wrote: > We are delighted to announce GNU Guile release 2.2.0, the first of a > new stable release series. > > More than 6 years in the making, Gu

Re: The status of JIT compiler of Guile (was: Guile benchmark)

2017-03-13 Thread Nala Ginrut
This version has fixed file missing during compilation. On Tue, Mar 14, 2017 at 10:35 AM, Nala Ginrut wrote: > Rebased to the latest, folks may download the tarball directly > https://github.com/NalaGinrut/guile-tjit/releases/tag/tjit-2.1.8.975-1f6fc-rebase > > > On Mon, Mar 6,

Re: The status of JIT compiler of Guile (was: Guile benchmark)

2017-03-13 Thread Nala Ginrut
Rebased to the latest, folks may download the tarball directly https://github.com/NalaGinrut/guile-tjit/releases/tag/tjit-2.1.8.975-1f6fc-rebase On Mon, Mar 6, 2017 at 7:19 PM, Nala Ginrut wrote: > I've rebased the latest master (2.1.7.1040-0f7db-dirty) and fixed to work. > The re

Re: The status of JIT compiler of Guile

2017-03-09 Thread Nala Ginrut
rch to see if there's anything different. That's why I suggest people in serious use case should choose upstream Guile. WDYT? Best regards. On Thu, Mar 9, 2017 at 10:27 PM, Andy Wingo wrote: > On Thu 09 Mar 2017 07:59, Nala Ginrut writes: > >> I've discussed with @Ludo, I th

Re: The status of JIT compiler of Guile

2017-03-08 Thread Nala Ginrut
Hi Andy! Sorry for late replay, it seems I've filtered your mail to another TAG in my mailbox. On Thu, Mar 2, 2017 at 4:31 PM, Andy Wingo wrote: > Heya Nala :-) > > And hello Atsuro! I don't think I have had the chance of expressing to > you how impressive your work is. Awesome stuff!!! > > Wh

Re: The status of JIT compiler of Guile (was: Guile benchmark)

2017-03-06 Thread Nala Ginrut
I've rebased the latest master (2.1.7.1040-0f7db-dirty) and fixed to work. The result become more interesting with the naive case mentioned in my earlier mail: Chez: 15s Guile-JIT: 12s Alright, we still need to face some problems. In Atsuro's original design, there're two files should be included

The status of JIT compiler of Guile (was: Guile benchmark)

2017-03-01 Thread Nala Ginrut
Hi folks! It's been a long time for me to be inactive here. ;-) I saw there's thread to discuss Guile benchmark, I think it's better to mention the JIT compiler of Guile. It exists and real, and of course, very fast. Thanks Atsuro Hoshino, who is the author of Guile JIT compiler. We've met on IC

Re: Guile security vulnerability w/ listening on localhost + port (with fix)

2016-10-12 Thread Nala Ginrut
On Tue, 2016-10-11 at 09:01 -0500, Christopher Allan Webber wrote: > The Guile team has just pushed out a new commit on the Guile stable-2.0 > branch addressing a security issue for Guile.  There will be a release > shortly as well.  The commit is > 08c021916dbd3a235a9f9cc33df4c418c0724e03, or for

Re: Experimental JIT for Guile (???!)

2016-09-27 Thread Nala Ginrut
Well, there's interesting story behind it. Few days ago this new JIT backend named Nash was introduced in ICFP2016 (scheme workshop), I and Ludo are lecturers too. When I first saw the topic, I looked back to Ludo and thought "oh you guys are making a new weapon secretly huh?" I thought this work m

Re: GNU Guile 2.1.4 released [beta]

2016-09-14 Thread Nala Ginrut
Nice work! Thanks for working on it! I think maybe we can expect 2.2 released end of this year, right? ;-) Best regards. On Wed, 2016-09-14 at 13:41 +0200, Andy Wingo wrote: > We are pleased to announce GNU Guile release 2.1.4. > > Guile 2.1.4 is the fourth pre-release in what will eventually be

Re: A request to take charge of guile-zmq

2016-09-12 Thread Nala Ginrut
on't use github for GNU programs (or parts thereof). For ethical > reasons > github is unacceptable for us. > > See https://www.gnu.org/software/repo-criteria-evaluation.html for a > list of what > we can and cannot use. > > J' > > > On Mon, Sep 12, 2016 at

A request to take charge of guile-zmq

2016-09-12 Thread Nala Ginrut
I plan to use guile-zmq in my work. Also, guile-zmq may play an important role in Artanis.  Thanks Wingo for all previous work. If you don't mind, I would like to take charge of guile-zmq for improving and maintaining. Here's the new repo: https://github.com/NalaGinrut/guile-zmq Contributions

Re: [PATCH 02/25] Define structure

2016-07-18 Thread Nala Ginrut
Hi Dmitry! Thanks for working on it! On Mon, 2016-07-18 at 18:17 +0300, kact...@gnu.org wrote: > From: Dmitry Bogatov >  > +(define-module (system foreign declarative) > +  #:export (make-foreign-type) > +  #:export (define-foreign-type)) > +(use-modules (srfi srfi-9)) You don't have to write #

Re: [PATCH] gnu: Add emacs-clojure-mode

2016-05-18 Thread Nala Ginrut
This patch seems for Guix? On Wed, 2016-05-18 at 15:56 +0200, Catonano wrote: >

Re: rename from q to queue

2016-04-11 Thread Nala Ginrut
Agreed, such a force change may effect many folks On Mon, 2016-04-11 at 22:55 -0500, Christopher Allan Webber wrote: > ra...@openmailbox.org writes: > > > > > Hello! > > > > The following library uses a pun writing 'q' instead of 'queue':  > >

Re: anyone define port types?

2016-03-29 Thread Nala Ginrut
On Mon, 2016-03-28 at 21:04 +0200, Andy Wingo wrote: > Hi! > > I am working on improving our port implementation to take advantage of > the opportunity to break ABI in 2.2. I am wondering how much I can > break C API as well -- there are some changes that would allow better > user-space threading

  1   2   3   4   5   >