Re: Two questions regarding 'native'

2017-10-24 Thread Alexander Williams
This looks pretty good. If it helps, I've written a few 'native' tutorials, at https://picolisp.a1w.ca +1 for choosing a liberal license as well (CC0). AW On 17-10-24 11:06 AM, Alfonso Villén wrote: I've created a public Bitbucket repository with my work so far, including some examples. h

Re: Two questions regarding 'native'

2017-10-24 Thread Alfonso Villén
Hello Mike, I've just made the Reddit post: https://www.reddit.com/r/lisp/comments/78iy7w/sdl2_and_opengl_33_on_picolisp_64bit/ 2017-10-24 13:35 GMT+02:00 Mike Pechkin : > ​Alfonso, > > Make a post on reddit.com/r/lisp​ > > > > >> I've created a public Bitbucket repository with my work so far, i

Re: Two questions regarding 'native'

2017-10-24 Thread Mike Pechkin
​Alfonso, Make a post on reddit.com/r/lisp​ > I've created a public Bitbucket repository with my work so far, including > some examples. > https://bitbucket.org/alfonsovillen/picolispffi > > I don't know if someone will be interested in it, but I'm having fun doing > it. >

Re: Two questions regarding 'native'

2017-10-24 Thread Alfonso Villén
Hello, finally, I could display a triangle using OpenGL 3.3. I translated the code from the C tutorial at: https://learnopengl.com/#!Getting-started/Hello-Triangle. Thanks again for your help, Alex. Unfortunately I'm running into difficulties again because after translating the next tutorial, no

Re: Two questions regarding 'native'

2017-10-21 Thread Alexander Burger
On Sat, Oct 21, 2017 at 02:38:18PM +0200, Alfonso Villén wrote: > The function arguments don't work as you expected. That C function needs > some weird information such as an array of integers giving the length of > the strings in the other array if those don't end with null bytes... Ah, I see. Di

Re: Two questions regarding 'native'

2017-10-21 Thread Alfonso Villén
Hello, thank you very much, Alex. It seems to work, but I have to test more thoroughly. The function arguments don't work as you expected. That C function needs some weird information such as an array of integers giving the length of the strings in the other array if those don't end with null byt

Re: Two questions regarding 'native'

2017-10-21 Thread Alexander Burger
Hi Alfonso, > I'm exploring Picolisp as a hobby for a while now, and I find it absolutely > amazing. I'm experimenting with 'native', trying to make some bindings for > SDL2 and OpenGL. I assume you found the OpenGL library in the distribution too, right? Just for the records, it is in "@lib/open

Two questions regarding 'native'

2017-10-20 Thread Alfonso Villén
Hello, I'm exploring Picolisp as a hobby for a while now, and I find it absolutely amazing. I'm experimenting with 'native', trying to make some bindings for SDL2 and OpenGL. I want to call this OpenGL function with 'native': void glShaderSource( GLuint shader, GLsizei count, const G