[Plplot-devel] New binding of Go programming language

2014-01-21 Thread Hailiang Wang
Hello everyone, I have made a Go (http://golang.org) binding for PLPlot, and put it under my github repo: https://github.com/hailiang/go-plplot Wrappers to C functions are complete, and I plan to make a declarative layer around it gradually. Best regards, Hǎiliàng

Re: [Plplot-devel] New binding of Go programming language

2014-01-21 Thread Hezekiah M. Carty
On Tue, Jan 21, 2014 at 8:21 AM, Hailiang Wang hwang@gmail.com wrote: Hello everyone, I have made a Go (http://golang.org) binding for PLPlot, and put it under my github repo: https://github.com/hailiang/go-plplot Wrappers to C functions are complete, and I plan to make a declarative

Re: [Plplot-devel] Still on track for a February 1st release of 5.10.0

2014-01-21 Thread Arjen Markus
Hi Alan, I am currently trying to reproduce the errors you documented via Cygwin, as that is the most convenient platform available to me that comes close to Linux. And while this has the benefit of unearthing the idiosyncracies of Cygwin that we need to deal with it does also slow down my

Re: [Plplot-devel] New binding of Go programming language

2014-01-21 Thread Alan W. Irwin
On 2014-01-21 21:21+0800 Hailiang Wang wrote: Hello everyone, I have made a Go (http://golang.org) binding for PLPlot, and put it under my github repo: https://github.com/hailiang/go-plplot Wrappers to C functions are complete, and I plan to make a declarative layer around it gradually.

Re: [Plplot-devel] New binding of Go programming language

2014-01-21 Thread Hailiang Wang
Hi Alan and Hez, Yes, I used to use C++ and Python but now Go has become my primary language. The binding is automatically generated from C header and is not targeted to a specific version of PLPlot. I'm not quite satisfied with the code that SWIG generated for Go, so I write a wrapper generator

Re: [Plplot-devel] New binding of Go programming language

2014-01-21 Thread Alan W. Irwin
On 2014-01-22 08:55+0800 Hailiang Wang wrote: By the way, before cwrap is made, I have tried another way, parsing the PLPlot docbook XML document and generate the wrapper. The pro of the method is that XML is a lot easier to parse than C header, and also in the document, the parameters are

Re: [Plplot-devel] New binding of Go programming language

2014-01-21 Thread Hailiang Wang
It takes not much effort to build a comparison program because the parser for api.xml is ready-made. I put the tool under my github reop here https://github.com/hailiang/go-plplot/tree/master/c/check Hǎiliàng P.S. Here is the result of the comparison, the type information in api.xml is not