Re: 2.2.0 release plan

2017-03-14 Thread Matt Wette
> On Mar 14, 2017, at 8:50 AM, Andy Wingo wrote: > > On Tue 14 Mar 2017 16:25, Greg Troxel writes: > >> Andy Wingo writes: >> >>> However! Even though the code says 2.2.0 and the tag says 2.2.0, the >>> release is not until Thursday. I will not upload the tag yet. >> >> I have just barely

Re: 2.2.0 release plan

2017-03-14 Thread Matt Wette
> On Mar 14, 2017, at 5:35 PM, Matt Wette wrote: > >> >> On Mar 14, 2017, at 8:50 AM, Andy Wingo wrote: >> >> On Tue 14 Mar 2017 16:25, Greg Troxel writes: >> >>> Andy Wingo writes: >>> >>>> However! Even though the cod

Re: 2.2.0 release plan

2017-03-15 Thread Matt Wette
> On Mar 14, 2017, at 7:59 PM, Matt Wette wrote: > > >> On Mar 14, 2017, at 5:35 PM, Matt Wette > <mailto:matt.we...@gmail.com>> wrote: >> >>> >>> On Mar 14, 2017, at 8:50 AM, Andy Wingo >> <mailto:wi...@pobox.com>>

Re: 2.2.0 release plan

2017-03-15 Thread Matt Wette
> On Mar 15, 2017, at 6:07 AM, Matt Wette wrote: > > >> On Mar 14, 2017, at 7:59 PM, Matt Wette > <mailto:matt.we...@gmail.com>> wrote: >> >> >>> On Mar 14, 2017, at 5:35 PM, Matt Wette >> <mailto:matt.we...@gmail.com>>

Re: GNU Guile 2.2.0 released

2017-03-17 Thread Matt Wette
FYI, 2.2.0 has already been placed into MacPorts distribution (though still some minor hiccups wrt macport checksums.) root# port upgrade outdated ... ---> Computing dependencies for guile ---> Fetching distfiles for guile ---> Attempting to fetch guile-2.2.0.tar.gz from https://distfiles.mac

Re: GNU Guile 2.2.0 released

2017-03-17 Thread Matt Wette
> On Mar 17, 2017, at 7:19 AM, Matt Wette wrote: > > FYI, 2.2.0 has already been placed into MacPorts distribution (though still > some minor hiccups wrt macport checksums.) > > root# port upgrade outdated > ... > ---> Computing dependencies for guile > ---&

Re: GNU Guile 2.2.2 released

2017-05-13 Thread Matt Wette
> On Apr 21, 2017, at 7:41 AM, Andy Wingo wrote: > > We sheepishly announce GNU Guile release 2.2.2, a quick bug-fix to the > recent 2.2.1 release. The FreeBSD section in README is not quite correct IMO. Here are suggested changes: FreeBSD 11.0: - For a build supporting threads, please `

Re: ffi helper

2017-05-13 Thread Matt Wette
> On Apr 17, 2017, at 7:26 PM, Matt Wette wrote: > > >> On Mar 21, 2017, at 3:40 PM, Matt Wette wrote: >>> On Mar 19, 2017, at 10:23 AM, Matt Wette wrote: >>>> On Mar 13, 2017, at 5:53 PM, Matt Wette wrote: >>>>> On Mar 8, 2017, at 6:06 PM

make install-examples ???

2017-05-17 Thread Matt Wette
Is there a plan to support copying examples (e.g., “make install-examples”) from the build directory tree into the destination directory tree? I am working on a project that has a number of examples that are referenced from the info files. If so, it would be nice for %guile-build-info to incl

Tree-IL on let

2017-05-30 Thread Matt Wette
In Tree-IL there is let, letrec and letrec* but not let*. Any reason why? I guess I should use (let () (let () …, right? — Matt

ffi helper: enums

2017-06-17 Thread Matt Wette
The following seems to be a Guile architecture wrt how FFI-based interfaces should be implemented. 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. I am looking for

ffi-helper: modules and guild

2017-06-17 Thread Matt Wette
More on my ffi-helper project. This time about modules and guild 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. I am looking for concurrence on the following: Th

Re: #if __GNUC__ > 2 ..

2017-06-18 Thread Matt Wette
With patch below, this looks to be working. I will update and release later today. — Matt diff --git a/module/nyacc/lang/c99/cpp.scm b/module/nyacc/lang/c99/cpp.scm index 7ea57f7..511553a 100644 --- a/module/nyacc/lang/c99/cpp.scm +++ b/module/nyacc/lang/c99/cpp.scm @@ -230,7 +230,7 @@

[ANN] nyacc 0.80.3 released

2017-06-18 Thread Matt Wette
NYACC V0.80.3 is released. This release has work on the ffi-helper and numerous bug fixes: 1) use 0 for undefined identifiers in CPP conditional expressions 2) fixed lex routine make-ident-like-p to check for zero-length strings 3) fixed bug in c99/util2.smc that added comments in struct cleanup 4

ffi-help: handling types

2017-06-27 Thread 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 types I am trying to stick to the (system foreign) type syst

ffi-help: documentation

2017-07-03 Thread 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. I wanted to let you know that I have posted my start on documentation accessible from the following URL:

download link from guile project page is busted

2017-07-07 Thread Matt Wette
Hey folks, The link for “2.2 stable series” from the www.gnu.org/software/guile/download/ , namely http://hydra.nixos.org/job/gnu/guile-2-2/tarball/latest , Is BUSTED, yielding: “404 not foun

ffi-helper: status

2017-07-07 Thread 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. My goal is to have something to release ~Oct 2017. I have now been able to compile-ffi the following on my M

Re: ffi-helper: status

2017-07-07 Thread Matt Wette
> On Jul 7, 2017, at 5:18 PM, Matt Wette wrote: > However, the above generates 397 FFI declarations into a cairo.scm file which > is about 6000 lines long. I’m not > sure if I want to start testing this code or start converting suggestions and > have guile-users do some test

Re: ffi-helper: status

2017-07-10 Thread Matt Wette
> On Jul 7, 2017, at 5:31 PM, Matt Wette wrote: > > >> On Jul 7, 2017, at 5:18 PM, Matt Wette wrote: >> However, the above generates 397 FFI declarations into a cairo.scm file >> which is about 6000 lines long. I’m not >> sure if I want to start test

Re: New object system?

2017-08-01 Thread Matt Wette
> On Jul 28, 2017, at 11:34 AM, Stefan Israelsson Tampe > wrote: > > Hi all. We have goops, but I wondered how a functional object system can look > like and after some thought I modeled together functional and python together > with scheme. you can find the result at > > http://www.c-lambda

ffi varargs support

2017-08-13 Thread Matt Wette
libffi will have support for varargs in the future. How could the syntax in Guile be handled? How about ellipsis symbol in pointer->procedure and a pair for each va-arg: type in car and value in car? > (define p (dynamic-func “printf” (dynamic-link))) > (define f (pointer->procedure int p (lis

ffi-help: status to 19 Aug 2017

2017-08-19 Thread 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. Goal is to release something in Oct 2017 but that date is likely to slip. Current shortcomings: 1) Guile do

Re: feature request: simple hashbang for executable scripts

2017-08-24 Thread Matt Wette
> For example, it is quite common to put a shell script between #! and !# > that ends by running Guile on the same file. It is also quite common to > put "-*- scheme -*-" on the second line to that Emacs will recognize the > type of the file. I hadn't thought of this. Pretty cool. mwette$ c

Re: Auto compile from many different languages that interoperates with guile

2017-09-02 Thread Matt Wette
> On Sep 1, 2017, at 1:45 PM, Stefan Israelsson Tampe > wrote: > > Hi, > > I am maintaining a prolog->scheme compiler and a python->scheme compiler. The > nice thing with those implementation is that they work well with the guile > module system and are proper scheme functions and variables

Re: Auto compile from many different languages that interoperates with guile

2017-09-02 Thread Matt Wette
> On Sep 2, 2017, at 6:00 AM, Matt Wette wrote: > > >> On Sep 1, 2017, at 1:45 PM, Stefan Israelsson Tampe >> wrote: >> >> Hi, >> >> I am maintaining a prolog->scheme compiler and a python->scheme compiler. >> The nice thing

ffi-help: #:use-ffi-module

2017-09-07 Thread 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. Goal is to release something around Apr 2018. With the helper interfaces are with ffi-modules. A module

Re: ffi-help: #:use-ffi-module

2017-09-07 Thread Matt Wette
> On Sep 7, 2017, at 8:32 PM, Matt Wette wrote: > > > 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. Goal > is to

[ANN] nyacc 0.82.0 released

2017-09-10 Thread Matt Wette
Nyacc 0.82.0 has been released In this version I have cleaned up more of the FFI Helper. Note: 1) In the distribution, you will see example .ffi files in examples/ffi/. 2) use of the FFI Helper required the bytestructures package, available from: https://github.com/TaylanUB/scheme-bytestr

Re: [ANN] nyacc 0.82.0 released

2017-09-10 Thread Matt Wette
> On Sep 10, 2017, at 8:37 AM, Matt Wette wrote: > > Nyacc 0.82.0 has been released > > In this version I have cleaned up more of the FFI Helper. Note: > 1) In the distribution, you will see example .ffi files in examples/ffi/. > 2) use of the FFI Helper required the b

Re: [ANN] nyacc 0.82.0 released

2017-09-11 Thread Matt Wette
> On Sep 10, 2017, at 8:37 AM, Matt Wette wrote: > > Nyacc 0.82.0 has been released Appologies if you have tried this and running into problems. I found a few bugs. I have been working on macos but now trying on Centos system. I will release a minor update by end of the coming week

Re: macro helpers

2017-09-12 Thread Matt Wette
> On Sep 12, 2017, at 11:09 AM, Stefan Israelsson Tampe > wrote: > > Writing efficient macros is a bit difficult. Let me explain by using an > example. The background > is that I maintaining a python compiler and python like object system and > would like to program > a scheme macro that woul

[ANN] nyacc 0.82.1 released

2017-09-16 Thread Matt Wette
Nyacc 0.82.1 has been released. This is a fix to 0.82.0, which has issues with running the FFI helper. I can now run the cairo ffi helper demo on Centos. To run the ffi helper cairo demo, check the file HACKING in the distribution. NYACC, for Not Yet Another Compiler Compiler!, is set of guile

Re: Wisp as shipped language in Guile?

2017-09-17 Thread Matt Wette
Looks promising, especailly if the footprint is small. Can someone post the sample guix specification? I could not access from the gnunet log.

Re: Wisp as shipped language in Guile?

2017-09-17 Thread Matt Wette
> On Sep 17, 2017, at 4:22 PM, Arne Babenhauserheide wrote: > > > Matt Wette writes: >> Looks promising, especailly if the footprint is small. >> Can someone post the sample guix specification? >> I could not access from the gnunet log. > > Do you me

Re: Reduce/Reduce conflict errors

2017-10-21 Thread Matt Wette
> On Oct 21, 2017, at 12:43 AM, Jeffrey Walton wrote: > > Hi Everyone, > > I'm building GnuTLS 3.5.15 from sources, including its dependencies. > One of them is libguile, and I am using version 2.2.2 from > ftp.gnu.org. I'm working on Ubuntu 17, x86_64. > > The GnuTLS self tests are failing. A

ffi-help: status to date

2017-10-22 Thread Matt Wette
Hi All, I am working on a ffi-helper (FH): 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. Since last report I have removed the un-hygienic macros: all names are passed to macros now. This ma

Re: libguile-2.2.2 uses tmpnam

2017-10-24 Thread Matt Wette
> On Oct 24, 2017, at 4:47 AM, Jeffrey Walton wrote: > > On Sat, Oct 21, 2017 at 5:05 AM, Jeffrey Walton wrote: >> My apologies for writing about this. I found one previous thread that >> mentioned it, but it was working a clock_t problem. Cf., >> https://lists.gnu.org/archive/html/bug-guile/20

Re: ffi-help: status to date

2017-10-24 Thread Matt Wette
> On Oct 22, 2017, at 11:31 AM, Matt Wette wrote: > > Hi All, > > I am working on a ffi-helper (FH): 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. > > I wa

Re: ffi-help: status to 19 Aug 2017

2017-11-09 Thread Matt Wette
> On Nov 9, 2017, at 11:10 AM, Roel Janssen wrote: > > > Matt Wette writes: > >> 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 provi

Re: ffi-help: status to 19 Aug 2017

2017-11-09 Thread Matt Wette
> On Nov 9, 2017, at 5:00 PM, Matt Wette wrote: > >> On Nov 9, 2017, at 11:10 AM, Roel Janssen wrote: >>> ... >> >> Thanks for creating this! It seems to be very useful and powerful. >> >> I wanted to try ffi-helper on htslib, but I am confu

Re: ffi-help: status to 19 Aug 2017

2017-11-09 Thread Matt Wette
> On Nov 9, 2017, at 11:10 AM, Roel Janssen wrote: > I wanted to try ffi-helper on htslib, but I am confused on how to get > started. Where does the "compile-ffi" subcommand for "guild" come from? > And not sure I answered this question as intended. The `guild' command looks for a scm file w

Re: ffi-help: status to 19 Aug 2017

2017-11-10 Thread Matt Wette
> On Nov 10, 2017, at 3:04 PM, Stefan Israelsson Tampe > wrote: > > I'm trying out the ffi help stuff. > > 1. It looks like 1.234f numeric constants is not lexed > 2. characters constants can be included in #if preprocessor steps it looks, > 3. character constants seam to follow L?'(\\.|[^\\']

Re: [ANN] nyacc 0.82.1 released

2017-11-11 Thread Matt Wette
> On Nov 11, 2017, at 6:27 AM, Jan Nieuwenhuizen wrote: > > Matt Wette writes: > > Hey Matt, > >> Nyacc 0.82.1 has been released. > > Congrats! > > It's been a while but in 0.82.0 I found a regression of a bug that you > fixed earlier, I think in

guile 3 desires: guile-3-0, and debugging

2017-11-22 Thread Matt Wette
Here are a couple desires: 1) more cases for cond-expand, in case 3.2 has items 3.0 does not (e.g., srfi-199) 2) better debugging. Maybe I'm not doing it right, but I struggle in this area: I mostly resort to printing. For example, add scheme level hook, or command arg, to turn off opti

Re: guile 3 desires: guile-3-0, and debugging

2017-11-24 Thread Matt Wette
> On Nov 24, 2017, at 3:42 PM, Christopher Allan Webber > wrote: > > Matt Wette writes: > >> Here are a couple desires: >> >> 1) more cases for cond-expand, in case 3.2 has items 3.0 does not (e.g., >> srfi-199) >> >> 2) better debugging.

Re: GNU Guile 2.2.3 released.

2017-12-02 Thread Matt Wette
> On Dec 1, 2017, at 8:35 AM, Andy Wingo wrote: > > We are delighted to announce GNU Guile release 2.2.3, the third bug-fix > release in the 2.2 stable release series. Builds fine (`make' and `make check') on MacOS 10.12.6. Builds fine (`configure --with-bdw-gc=bdw-gc-threaded', `gmake' and `g

Re: GNU Guile 2.2.3 released.

2017-12-02 Thread Matt Wette
> On Dec 2, 2017, at 11:50 AM, Matt Wette wrote: > > >> On Dec 1, 2017, at 8:35 AM, Andy Wingo wrote: >> >> We are delighted to announce GNU Guile release 2.2.3, the third bug-fix >> release in the 2.2 stable release series. > > Builds fine (`m

Re: GNU Guile 2.2.3 released.

2017-12-02 Thread Matt Wette
> On Dec 1, 2017, at 8:35 AM, Andy Wingo wrote: > > We are delighted to announce GNU Guile release 2.2.3, the third bug-fix > release in the 2.2 stable release series. One change from 2.2.2 to 2.2.3 I notice is that the ChangeLog has been zeroed out. Accident or what?

ffi-help: documentation

2017-12-06 Thread Matt Wette
show what's going on. That is my approach here. Enjoy ... FFI Helper for Guile **** Matt Wette December 2017 With NYACC Version 0.00.0 1 Introduction ** The acronym FFI stands for "Foreign Function Interface". It refers to the Guile facility for b

Re: Website translations with Haunt

2017-12-10 Thread Matt Wette
> On Dec 9, 2017, at 10:06 AM, pelzflorian (Florian Pelz) > wrote: > (define xerror-handler-struct > (make-struct-po_xerror_handler)) ; TODO SET HANDLERS: > ;; […] > First of all, FFI helper + Guile can't deal with this pattern: using varargs function members in structs. This would require

Re: Website translations with Haunt

2017-12-10 Thread Matt Wette
> On Dec 10, 2017, at 11:21 AM, pelzflorian (Florian Pelz) > wrote: > > On Sun, Dec 10, 2017 at 07:22:55AM -0800, Matt Wette wrote: >> > Thank you. I’m sorry to say that it did not work. > > Actually it is not the “struct po_error_handler” but the > “struct p

Re: Website translations with Haunt

2017-12-10 Thread Matt Wette
> On Dec 10, 2017, at 11:21 AM, pelzflorian (Florian Pelz) > wrote: >>(fh-object-set! eh-struct 'error error-p) I was able to duplicate getting 0. The problem was the argument `error-p'. (The bytestructures i/f seems to be silent here about he incorrect argument.) Please try instead th

Re: Website translations with Haunt

2017-12-12 Thread Matt Wette
The FFI Helper uses `gcc --print-search-dirs' to locate gcc directories. It also adds /usr/include. I don't understand why it is not finding them. It also uses `gcc -dM -E' to determine #defines. Even with that, on my macOS system, I need to make fixes. Can you determine if some gcc command

ffi-help: updated documentation

2018-01-19 Thread Matt Wette
explaining part of the design. (I have recently dumped my macbook w/ flaky keyboard for a ubuntu laptop. I am still adjusting. I am missing macports a little.) Matt FFI Helper for Guile Matt Wette January 2018 With NYACC Version 0.83.0 1 Introduction ** The acronym

Re: Question: link to wrong library

2018-01-22 Thread Matt Wette
I think you need -Wl,-rpath=`pwd`/libguile/.libs On 01/22/2018 03:36 AM, Chaos Eternal wrote:  gcc  -pthread -I.  -Wl,-rpath -lguile-2.2  -lgc test.c On Mon, Jan 22, 2018 at 7:30 PM 陶青云 > wrote: some result ``` ~/code/guile-2.2 $ LDFLAGS=-Wl,-

Re: Simple picture language

2018-03-27 Thread Matt Wette
On 03/27/2018 05:40 AM, Thompson, David wrote: On Mon, Mar 26, 2018 at 5:51 PM, Ricardo Wurmus wrote: Hi Guilers, I wrote a simple SVG-based picture language. Wow! I never would have thought to use sxml to generate svg files. I always thought we would have to use cairo or some custom render

flow-analysis and Offner's notes

2018-06-08 Thread Matt Wette
Hi All, Andy Windo's blog on flow-analysis in Guile references Offner's "Notes on Graph Algorithms Used in Optimizing Compilers"? Anyone read this manuscript? Lemma 2.2 says, in a flow-graph, if x>>z and y>>z, then either x>>y or y>>x. The proof uses the argument that the path from s, the sta

Re: flow-analysis and Offner's notes

2018-06-09 Thread Matt Wette
On 06/08/2018 05:17 PM, Matt Wette wrote: Andy Windo's blog on flow-analysis in Guile references Offner's "Notes on Graph Algorithms Used in Optimizing Compilers"?  Anyone read this manuscript?  Lemma 2.2 says, in a flow-graph, if x>>z and y>>z, then either x&

Re: flow-analysis and Offner's notes

2018-06-09 Thread Matt Wette
On 06/09/2018 06:34 AM, Matt Wette wrote: On 06/08/2018 05:17 PM, Matt Wette wrote: Andy Windo's blog on flow-analysis in Guile references Offner's "Notes on Graph Algorithms Used in Optimizing Compilers"?  Anyone read this manuscript?  Lemma 2.2 says, in a flow-graph, if

multi-lingual guile: language strictness

2018-07-13 Thread Matt Wette
Hi All, I posed a question on #guile IRC last weekend asking for use cases for making Guile multi-lingual.  The use case that came up was the desire to use Guile as an extension that supports multiple languages for users.  To that end, I wonder how important it is to make these extension langu

Re: multi-lingual guile: language strictness

2018-07-14 Thread Matt Wette
On 07/14/2018 09:22 AM, Hans Åberg wrote: On 14 Jul 2018, at 15:53, William ML Leslie wrote: On 14 July 2018 at 12:57, Brett Gilio wrote: Is this possibility for making Guile multi-lingual a promised feature, or more of a wishlist type thing? I'll have to think about some ways that might be

tree-il begin deprecated?

2018-07-15 Thread Matt Wette
Hi All, I noticed that from 2.0 to 2.2 the reference manual section on compiling to tree-il replaced `begin' with `seq'.  Is `begin' going to be deprecated? Matt

loading an ecmascript file

2018-07-15 Thread Matt Wette
Hi All, I was hoping to kludge together a procedure to load a file containing a non-Scheme extension language. I am not surprised that it doesn't work, given the complexity of the load/compile code in (ice-9 boot-9 (check load-in-vicinity) and (system base compile) (check compile-file). Any idea

ldconfig complaint about libguile...-gdb.scm

2018-07-20 Thread Matt Wette
Hi All, I run on Ubuntu and get the following. I assume it may appear for other OSes. This message anytime I update software or otherwise run ldconfig. /sbin/ldconfig.real: /usr/local/lib/libguile-2.2.so.1.3.0-gdb.scm is not an ELF file - it has the wrong magic bytes at the start. Has this

Re: Why is Guile unable to find libtool?

2018-07-26 Thread Matt Wette
On 07/26/2018 04:57 PM, Brett Gilio wrote: Bruce Korb writes:  $ ./configure . checking for libltdl... no configure: error: GNU libltdl (Libtool) not found, see README.  $ type libtool bash: type: libtool: not found  $ sudo apt install libtool Reading package lists... Done Building dep

nyacc support for extension languages

2018-08-12 Thread Matt Wette
I am working on providing a module to add to the nyacc distribution for the purpose of generating extension languages, and putting together a few extensions for demo. So far I'm playing with javascript and matlab. These languages use a "nx-" prefix to designate them as "nyacc extension". One can

handling alternative languages in Guile

2018-08-19 Thread Matt Wette
Hi All, Guile bug report 30094 is a wishlist request for adding support for alterantive languages. To that bug report I attached proposed code for allowing -from being generated from (1) #lang or (2) file extension. The essential change is to compile-file in (system base compile): (e

Re: FOSDEM 2019 - dev-room proposal

2018-08-27 Thread Matt Wette
On 08/27/2018 10:27 AM, Pjotr Prins wrote: . Manolis and I want to submit a plan for 'Minimalistic Languages - for big ideas' dev-room. Good examples that fit the room are - mes and reproducible builds - Guile and Guix - Guile JIT - Lua JIT - Lua for scriptable projects (example?) Anyone a

Re: speedup of modifying return values

2018-08-29 Thread Matt Wette
On 08/29/2018 03:58 AM, Stefan Israelsson Tampe wrote: Hi all, I'm trying to make a python clone in guile. Currently the code is slow and one of  the reasons is the following, in my pythoon return 1,2 returns a (values 1 2) in order to get python and scheme to interoperate. but for python

my emacs minor-mode for generating docstrings, v180902d

2018-09-02 Thread Matt Wette
7;'lt', ''gt', ''eq' or '#f'. Note: PO may not a true partial order as we can have a a=b. For example, (prece a a po) => 'eq. Here is scheme-texidoc.el: ;;; scheme-texidoc.el --- minor mode to make scheme doc-strings from

Re: my emacs minor-mode for generating docstrings, v180902d

2018-09-03 Thread Matt Wette
On 09/02/2018 04:30 PM, Arne Babenhauserheide wrote: Matt Wette writes: Now if I load my scheme-texidoc minor mode, place the point just before `(define (' and hit [(control c) (control d)], I end up with a docstring generated by running the comments through `texi2any --plaintext'.

patch for `(load "foo.js")'

2018-09-04 Thread Matt Wette
30094 @ debbugs got gnu dot org has a patch for adding support for extension languages The patch is against guile-2.2.4 mwette$ cat jsinc #lang ecmascript function js_inc(a) { return a + 1; } mwette$ cat jsdec.js function js_dec(a) { return a - 1; } mwette$ guile GNU Guile 2.2.4 Copy

Re: GObject Introspection and GTK3 way forward

2018-09-05 Thread Matt Wette
On 09/05/2018 10:29 AM, Mike Gran wrote: Hey all- So, I've decided to make a go at finishing the GObject Introspection and GTK3 story for Guile. I would very much like to have something running in time for Fosdem 2019. I've looked at the other two previous attempts: g-golf, and the older gui

[ANN] nyacc version 0.86.0 released

2018-09-05 Thread Matt Wette
I have released nyacc version 0.86.0. This release includes the following: 1) I reworked the parser to behave with interactive use in Guile better. 2) I hacked on the example language compilers to operate at the Guile command line. (You can run "make install-nx-languages".) 3) I replaced use

Re: [PATCH] debugger: Support generics. WIP.

2018-09-12 Thread Matt Wette
On 09/12/2018 04:44 AM, Jan Nieuwenhuizen wrote: Hi! I'm looking at the debugger again and have found a number of things*) that I would like to fix. My first attempt is for GOOPS support: I want ,break-at-source FILE LINE to also support breaking if LINE happens to be in a define-method. I h

Re: GNU Guile 2.9.1 Released [beta]

2018-10-20 Thread Matt Wette
On 10/10/18 2:31 AM, Andy Wingo wrote: We are pleased to announce GNU Guile release 2.9.1. This is the first pre-release of what will eventually become the 3.0 release series. configure, make, check all worked for me on macOS 10.12.6 (w/ gcc 7.3)

working to update pointer->procedure

2018-11-30 Thread Matt Wette
Hi All, I'm starting to look into libguile/foreign.c to add support for libffi's variadic function calls. My thinking is that that pointer->procedure would accept '... as the last element of the arg list, and that on procedure calls one would pass a pair to for each unspecified argument. The

failed to create path for auto-compiled file

2019-01-15 Thread Matt Wette
Hi All, I maintain an add-on package to Guile. I have a user reporting the following WARNING: ;;; compiling /usr/share/guile/site/2.2/nyacc/lang/c99/ffi-help.scm ;;; WARNING: compilation of /usr/share/guile/site/2.2/nyacc/lang/c99/ffi-help.scm failed: ;;; failed to create path for auto-compile

Re: failed to create path for auto-compiled file

2019-01-17 Thread Matt Wette
On 1/15/19 5:59 PM, Matt Wette wrote: Hi All, I maintain an add-on package to Guile.  I have a user reporting the following WARNING: ;;; compiling /usr/share/guile/site/2.2/nyacc/lang/c99/ffi-help.scm ;;; WARNING: compilation of /usr/share/guile/site/2.2/nyacc/lang/c99/ffi-help.scm failed

Re: FOSDEM 2019

2019-02-04 Thread Matt Wette
Thanks for filming.  It was great to follow and see you titans in action. -- Matt On 2/3/19 1:34 PM, Mikael Djurfeldt wrote: It was a great experience and joy for me to meet some of you at FOSDEM 2019. Thank you all!

Re: FOSDEM 2019

2019-02-05 Thread Matt Wette
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 that must dealt with? Like I wrote, an immediate task is to write a Racket importer for Guix¹ and to actually package things. Next, we could ensure the subset of th

Re: Coexistence of different Guile versions

2019-03-10 Thread Matt Wette
On 3/10/19 8:23 AM, Tommi Höynälänmaa wrote: Guile (at least the Debian version) is designed so that different versions (e.g. 2.0 and 2.2) can coexist in the same system. However, this is not so for packages guile-xxx-dev. Consequently, many software libraries (such as guile-gnome-platform) have

2.9.2: typo in lang/cps/

2019-06-02 Thread Matt Wette
typo in 2.9.2, lang/cps/slot-allocation.scm, line 355:     (($ $kargs _ _ ($ $continue k _($ $values args))) note lack of space between _ and (

Re: GNU Guile 2.9.4 Released [beta]

2019-08-28 Thread Matt Wette
On 8/25/19 1:21 PM, Andy Wingo wrote: We are pleased to announce GNU Guile release 2.9.4. This is the fourth pre-release of what will eventually become the 3.0 release series. macOS 10.14.6: wrote `system/vm/frame.go'   BOOTSTRAP GUILEC system/vm/linker.go /bin/sh: line 1: 79336 Abort trap: 6

missing word in "Building CPS" v 2.9.4

2019-09-05 Thread Matt Wette
The reference manual for 2.9.4, Section 9.4.4.3 titled "Building CPS", paragraph 2, has sentence starting: "Construction is handled by a set of mutually builder macros:" I think there is a missing word between "mutually" and "builder". No clue what it is. Matt

2.9.5 build segfault on Ubuntu 18.04 [WAS: Nyacc and guile-nearly-3.0 (progress report)]

2019-12-02 Thread Matt Wette
On 12/2/19 6:28 AM, Matt Wette wrote: I'm building 2.9.5 now but running into errors (ubuntu 18.04): /bin/bash: line 6: 14657 Segmentation fault  (core dumped) GUILE_AUTO_COMPILE=0 ../meta/build-env guild compile --target="x86_64-pc-linux-gnu" -O1 -Oresolve-primitives -L

Re: GNU Guile 2.9.6 Released [beta]

2019-12-07 Thread Matt Wette
On 12/6/19 5:14 AM, Andy Wingo wrote: We are pleased to announce GNU Guile release 2.9.6. This is the sixth pre-release of what will eventually become the 3.0 release series. Same error I get w/ 2.9.5, on Ubuntu 18.04:   BOOTSTRAP GUILEC system/vm/linker.go /bin/bash: line 6:  9159 Segmen

Re: GNU Guile 2.9.7 Released [beta]

2019-12-13 Thread Matt Wette
On 12/13/19 5:30 AM, Andy Wingo wrote: We are pleased to announce GNU Guile release 2.9.7. This is the seventh and hopefully next-to-last pre-release of what will eventually become the 3.0 release series. mwette$ uname -a Linux halibut 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UT

Re: GNU Guile 2.9.8 Released [beta]

2020-01-02 Thread Matt Wette
On 1/2/20 5:36 AM, Andy Wingo wrote: We are pleased to announce GNU Guile release 2.9.8. This is the eighth and possibly final pre-release of what will eventually become the 3.0 release series. Compared to the previous prerelease (2.9.7), Guile 2.9.8 fixes a bug in libguile that caused wri

Re: Logo baseline

2020-01-18 Thread Matt Wette
On 1/18/20 6:08 AM, Ludovic Courtès wrote: Hello Guilers! The Guile logo has this “GNU extension language” baseline. As Guile 3 came out, this baseline felt odd to me, not quite corresponding to the way I see Guile. Clearly, Guile is still an extension language, with many great applications (G

Re: Logo baseline

2020-01-19 Thread Matt Wette
On 1/19/20 6:11 AM, Arne Babenhauserheide wrote: Ludovic Courtès writes: Other adjectives I proposed (fast, functional) don’t quite apply to these, though. Functional doesn’t apply to Guile much better than to CPython. I think "functional" is used in the formal sense. The term applies to

guile's (begin) vs syntax-rules

2020-03-01 Thread Matt Wette
Scheme requires begin forms to have at least one expression. Guile allows zero expressions, but ice-9/psyntax.scm reports a syntax error. Do I add something like (if #f #f) to my syntax transformer or report a "bug"?

dynamic-link issue: does not always load

2020-03-20 Thread Matt Wette
There is an old bug report #21076 on dynamic-link: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21076 Say you have a file libyaml.0.so-2, dynamic-link can't load it     (dynamic-link "libyaml.0.so-2") => exception even if there is a file libyaml.so:   $ cat /usr/lib64/libyaml.so   INPUT(liby

Re: definitions in macros?

2020-03-22 Thread Matt Wette
On 3/22/20 12:07 PM, Han-Wen Nienhuys wrote: Hi there, in my quest to get lilypond working with GUILE 2+, I've hit another stumbling block. In order to make compilation with GUILE 2+ working, we have to move away from runtime symbol definition (ie. module-define! calls). In the code below, it

compile-file execution time driven by `reap-pipes'

2020-04-06 Thread Matt Wette
I'm wanted to trace down why some of my "compile-file" w/ no optimization was tasking time. I was able to turn compile-file under statprof for one of the moderate sized .scm files, which has about 45,000 lines of code. It was interesting that the major execution time consumer was reap-pipes. I'm

generating SXML trees in guile

2021-01-09 Thread Matt Wette
This is a FYI, not saying this is a bug. I'm digging into the sxml xpath procedures and came across a potential issue with using sxml in Guile. I believe I remember that Oleg's SXML code relies on the fact that no nodes a sxml tree are eq?.   For example, in the SXML tree     (define sx1  '(*TO

Re: riscv files for lightening

2021-01-30 Thread Matt Wette
On 1/29/21 11:13 AM, Matt Wette wrote: Andy, I took a stab at porting RISC-V from lightning to lightening. I have no riscv toolset or computer yet so these are untested. I copied files from sv/lightning for riscv to wingo/lightening. Patch attached. The changes are: 1) copy lightning

Re: Implementing ES6 on top of Guile

2021-07-06 Thread Matt Wette
On 7/5/21 3:52 AM, Ayush Jha wrote: The issue: I found an implementation of ECMAScript on Guile in the docs, and I was wondering if anyone is working on improving it/building an alternative. I would love to get started on it. What is the status of the ECMAScript implementation project as of now

Re: more advanced bytevector => supervectors

2021-09-02 Thread Matt Wette
maybe guile could consider regexp's in scheme see  https://ds26gte.github.io/pregexp/index.html On 9/2/21 8:45 AM, Stefan Israelsson Tampe wrote: Hi guilers! My next project is to explore a more advanced bytevector structure than today's bytevectors. I think that having this infrastructure in

  1   2   >