Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-07 Thread Mathieu Bouchard
On Sun, 7 Jan 2007, Mathieu Bouchard wrote: Whatever it is, the distinction between compiler and interpreter has been blurred a lot over the year: e.g. the Python "interpreter" compiles code and saves it to disk, and also interprets the "compiled" code. Typo, I meant over the years. Not much

Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-07 Thread Charles Henry
I think I understand now. This is quite a bit more complicated than I had thought at first. > Have I missed the point entirely? http://claudiusmaximus.goto10.org/gallery/coding/hsext/first-non-trivial.png The middle window in the top row is the entire source for the object. hsext provides th

Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-07 Thread Claude Heiland-Allen
Charles Henry wrote: Maybe I'm missing the point here, but isn't Haskell a compiled (not interpreted) language? There are a variety of compilers and interpreters. > We can add any compiled function, wrapped in a C-written external, just so long as we have the symbols for the function from th

Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-06 Thread Mathieu Bouchard
On Sat, 6 Jan 2007, Charles Henry wrote: Maybe I'm missing the point here, but isn't Haskell a compiled (not interpreted) language? It's either. Whether a language is compiled or interpreted, is dependent on compilers and interpreters. There even exists a C interpreter. For Haskell, I think

Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-06 Thread Mathieu Bouchard
On Sun, 7 Jan 2007, Hans-Christoph Steiner wrote: On Jan 6, 2007, at 6:00 PM, Tim Blechmann wrote: On Sat, 2007-01-06 at 17:25 -0500, Hans-Christoph Steiner wrote: The loader is the final piece in the puzzle that was preventing people from writing native objects in other languages. The lack of

Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-06 Thread Hans-Christoph Steiner
That sounds about right. But having a Pd API in the native language would be nicer. .hc On Jan 6, 2007, at 9:39 PM, Charles Henry wrote: Maybe I'm missing the point here, but isn't Haskell a compiled (not interpreted) language? We can add any compiled function, wrapped in a C-written ext

Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-06 Thread Hans-Christoph Steiner
On Jan 6, 2007, at 6:00 PM, Tim Blechmann wrote: On Sat, 2007-01-06 at 17:25 -0500, Hans-Christoph Steiner wrote: The loader is the final piece in the puzzle that was preventing people from writing native objects in other languages. because people were to lazy to type an additional word into

Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-06 Thread Charles Henry
Maybe I'm missing the point here, but isn't Haskell a compiled (not interpreted) language? We can add any compiled function, wrapped in a C-written external, just so long as we have the symbols for the function from the binary. *OR* we can write an external in some funky language, so long as we c

Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-06 Thread Mathieu Bouchard
On Sun, 7 Jan 2007, Thomas Grill wrote: Am 07.01.2007 um 01:20 schrieb Mathieu Bouchard: On Sat, 6 Jan 2007, Hans-Christoph Steiner wrote: The loader is the final piece in the puzzle that was preventing people from writing native objects in other languages. Now it doesn't look like you are just

Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-06 Thread Thomas Grill
Am 07.01.2007 um 01:20 schrieb Mathieu Bouchard: On Sat, 6 Jan 2007, Hans-Christoph Steiner wrote: The loader is the final piece in the puzzle that was preventing people from writing native objects in other languages. Now it doesn't look like you are just being innocently mistaken, it lo

Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-06 Thread Mathieu Bouchard
On Sat, 6 Jan 2007, Hans-Christoph Steiner wrote: The loader is the final piece in the puzzle that was preventing people from writing native objects in other languages. Now it doesn't look like you are just being innocently mistaken, it looks like a deliberate lie. _ _ __ ___ _ ___

Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-06 Thread Mathieu Bouchard
On Sat, 6 Jan 2007, Tim Blechmann wrote: On Sat, 2007-01-06 at 17:25 -0500, Hans-Christoph Steiner wrote: The loader is the final piece in the puzzle that was preventing people from writing native objects in other languages. because people were to lazy to type an additional word into an object

Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-06 Thread Tim Blechmann
On Sat, 2007-01-06 at 17:25 -0500, Hans-Christoph Steiner wrote: > The loader is the final piece in the puzzle that was preventing > people from writing native objects in other languages. because people were to lazy to type an additional word into an object box? -- [EMAIL PROTECTED]ICQ:

Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-06 Thread Hans-Christoph Steiner
On Jan 6, 2007, at 9:51 AM, Mathieu Bouchard wrote: On Fri, 5 Jan 2007, Hans-Christoph Steiner wrote: Have you seen the "loader" functionality? If you made this into a Haskell loader, then you could write native Pd objects in Haskell. Claude has already written a pd object class in Haskel

Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-06 Thread Mathieu Bouchard
On Fri, 5 Jan 2007, Hans-Christoph Steiner wrote: Have you seen the "loader" functionality? If you made this into a Haskell loader, then you could write native Pd objects in Haskell. Claude has already written a pd object class in Haskell. Now, will you stop claiming that the loader function

Re: [PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-05 Thread Hans-Christoph Steiner
Have you seen the "loader" functionality? If you made this into a Haskell loader, then you could write native Pd objects in Haskell. There is the CLR loader and API, which is a complete example. .hc On Jan 5, 2007, at 6:43 AM, Claude Heiland-Allen wrote: Download here: http://devel.go

[PD] proof-of-concept [hsext] for writing pd externals in Haskell

2007-01-05 Thread Claude Heiland-Allen
Download here: http://devel.goto10.org/listing.php?repname=maximus&path=%2Fhsext%2F&rev=0&sc=0 Caveats: 1. only one instance of [hsext] 2. only one inlet for a single float 3. only one outlet for a single float 4. only one hardcoded stateless function from float to float 5. probably a nightmare