[Cuis-dev] Siren progress and questions (Packages)
Stephen Travis Pope
stephen at heaveneverywhere.com
Fri Dec 23 09:24:30 PST 2022
Hi fellows,
In looking into the FFI classes on Squeak, they use a format for external methods that looks like the C function signature, and that the Cuis parser can’t handle, namely,
!PortMIDILibrary methodsFor: 'i/o' stamp: 'stp 12/8/2022 16:31'!
pm_poll: which
"The MIDI driver input process poll."
<cdecl: uint32_t pm_poll(uint32_t) >
^self externalCallFailed! !
I’ll keep experimenting with the OSProcess and Socket prims.
stp
--------
Stephen Travis Pope Ojai, California, USA

http://HeavenEverywhere.com
http://FASTLabInc.com
https://vimeo.com/user19434036/videos
http://heaveneverywhere.com/Reflections
> On Dec 22, 2022, at 5:27 AM, Juan Vuletich via Cuis-dev <cuis-dev at lists.cuis.st> wrote:
>
> Hi Stephen,
>
> On 12/21/2022 1:19 AM, Stephen Travis Pope via Cuis-dev wrote:
>>
>>
>> That’d be Fantastic - is there anything I can do to help?
>
> Of course. You can try yourself!
>
>> Is is as simple as filing the FFI classes our of Squeak and into Cuis?
>
> It should also entail understanding the differences found, and decide what to do with them. In any case, if you get to the point of _any_ ffi call working on the M1, that would already be a big help.
>
>> Muchas gracias!
>
> De nada! And Feliz Navidad!
>
>>
>> stp
>>
>> --------
>>
>> Stephen Travis Pope Ojai, California, USA
>>
>> http://HeavenEverywhere.com <http://heaveneverywhere.com/>
>> http://FASTLabInc.com <http://fastlabinc.com/>
>> https://vimeo.com/user19434036/videos
>> http://heaveneverywhere.com/Reflections
>>
>>
>>
>>> On Dec 19, 2022, at 10:38 AM, Juan Vuletich via Cuis-dev <cuis-dev at lists.cuis.st> <mailto:cuis-dev at lists.cuis.st> wrote:
>>>
>>> Hi Stephen,
>>>
>>> Yes. I will find some time for this in the next couple of weeks.
>>>
>>> Cheers,
>>>
>>> On 12/16/2022 5:54 PM, Stephen Travis Pope via Cuis-dev wrote:
>>>>
>>>>
>>>> JV wrote: "all we have to do is to update our FFI package with the updates done for Squeak…"
>>>>
>>>> That’d be GREAT! I’ll stop porting the GUI to Squeak immediately.
>>>>
>>>> stp
>>>>
>>>> --------
>>>>
>>>> Stephen Travis Pope Ojai, California, USA
>>>>
>>>> http://HeavenEverywhere.com <http://heaveneverywhere.com/>
>>>> http://FASTLabInc.com <http://fastlabinc.com/>
>>>> https://vimeo.com/user19434036/videos
>>>> http://heaveneverywhere.com/Reflections
>>>>
>>>>
>>>>
>>>>> On Dec 15, 2022, at 2:56 PM, Juan Vuletich via Cuis-dev <cuis-dev at lists.cuis.st> <mailto:cuis-dev at lists.cuis.st> wrote:
>>>>>
>>>>> Hi Stephen,
>>>>>
>>>>> On 12/15/2022 6:35 PM, Stephen Travis Pope via Cuis-dev wrote:
>>>>>>
>>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> It’s not that the method categories are different, but that the (sometimes many) package categories make it harder to find things.
>>>>>>
>>>>>> Yes, I have Siren9C running on Squeak with audio, OSC and MIDI I/O; I ported my old MIDI FFI code (from VisualWorks DLLCC) to Squeak and am working on the GUI.
>>>>>
>>>>> So, this means that FFI is working well in Squeak on a Mac M1? This is great news. Then all we have to do is to update our FFI package with the updates done for Squeak.
>>>>>
>>>>> Thanks,
>>>>>
>>>>>>
>>>>>> The bloat of Squeak is really sad, but I guess it’s nothing like Pharo...
>>>>>>
>>>>>> stp
>>>>>>
>>>>>> --------
>>>>>>
>>>>>> Stephen Travis Pope Ojai, California, USA
>>>>>>
>>>>>> http://HeavenEverywhere.com <http://heaveneverywhere.com/>
>>>>>> http://FASTLabInc.com <http://fastlabinc.com/>
>>>>>> https://vimeo.com/user19434036/videos
>>>>>> http://heaveneverywhere.com/Reflections
>>>>>>
>>>>>>
>>>>>>
>>>>>>> On Dec 15, 2022, at 12:35 PM, Hilaire Fernandes via Cuis-dev <cuis-dev at lists.cuis.st> <mailto:cuis-dev at lists.cuis.st> wrote:
>>>>>>>
>>>>>>> If I understand correctly, you mean the categories names are not the same as the ones you find in the other Smalltalk dialect you were using.
>>>>>>>
>>>>>>> You are porting Siren to Squeak?
>>>>>>>
>>>>>>> Le 15/12/2022 à 21:27, Stephen Travis Pope via Cuis-dev a écrit :
>>>>>>>>
>>>>>>>> I just noticed that I tended to browse in -all- mode rather than using the method categories.
>>>>>>>>
>>>>>>>> Especially when porting code between ST dialects, one studies the core class and I/O, which is where many of the package-related method categories.
>>>>>>>>
>>>>>>>> It’s not al all as bad in Cuis as in Squeak, where I’m now porting Siren…
>>>>>>>>
>>>>>>> --
>>>>>>> GNU Dr. Geo
>>>>>>> http://drgeo.eu <http://drgeo.eu/>
>>>>>>> http://blog.drgeo.e <http://blog.drgeo.e/>--
>>>>>>> Cuis-dev mailing list
>>>>>>> Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
>>>>>>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Juan Vuletich
>>>>> cuis.st <http://cuis.st/>
>>>>> github.com/jvuletich <http://github.com/jvuletich>
>>>>> researchgate.net/profile/Juan-Vuletich <http://researchgate.net/profile/Juan-Vuletich>
>>>>> independent.academia.edu/JuanVuletich <http://independent.academia.edu/JuanVuletich>
>>>>> patents.justia.com/inventor/juan-manuel-vuletich <http://patents.justia.com/inventor/juan-manuel-vuletich>
>>>>> linkedin.com/in/juan-vuletich-75611b3 <http://linkedin.com/in/juan-vuletich-75611b3>
>>>>> twitter.com/JuanVuletich <http://twitter.com/JuanVuletich>--
>>>>> Cuis-dev mailing list
>>>>> Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
>>>>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>>>
>>>
>>>
>>> --
>>> Juan Vuletich
>>> cuis.st
>>> github.com/jvuletich
>>> researchgate.net/profile/Juan-Vuletich
>>> independent.academia.edu/JuanVuletich
>>> patents.justia.com/inventor/juan-manuel-vuletich
>>> linkedin.com/in/juan-vuletich-75611b3
>>> twitter.com/JuanVuletich
>>> --
>>> Cuis-dev mailing list
>>> Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
>>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>
>
> --
> Juan Vuletich
> cuis.st <http://cuis.st/>
> github.com/jvuletich <http://github.com/jvuletich>
> researchgate.net/profile/Juan-Vuletich <http://researchgate.net/profile/Juan-Vuletich>
> independent.academia.edu/JuanVuletich <http://independent.academia.edu/JuanVuletich>
> patents.justia.com/inventor/juan-manuel-vuletich <http://patents.justia.com/inventor/juan-manuel-vuletich>
> linkedin.com/in/juan-vuletich-75611b3 <http://linkedin.com/in/juan-vuletich-75611b3>
> twitter.com/JuanVuletich <http://twitter.com/JuanVuletich>--
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
> https://lists.cuis.st/mailman/listinfo/cuis-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221223/c16a6e86/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic.tiff
Type: image/tiff
Size: 2442 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221223/c16a6e86/attachment-0001.tiff>
More information about the Cuis-dev
mailing list