Pablo, can you give us some usage examples? First I would like to get the type inference data programmatically in order to compare the type data with other tools. And also, I would like to open the IBBrowser. Here's what I've tried so far: For getting argument types: (((J2Inferer default inferClass: RTView; typeInfoFor: RTView) methods at: #setCanvas:) parameters at: 1) subtypes But subtypes is a set of J2ParameterRelationship objects which I don't know how to get the types from them. And I've managed to open the IBBrowser like this: IBBrowser openOn: (RPackage organizer packageNamed: 'Roassal2') using: (J2Inferer default) the browser at first opens fine and shows all the packages and instance variables but it doesn't show any methods and when I click an instance variable I get an error. What am I doing wrong? I'd be very thankful if you helped us :D Cheers, Diego. 2016-04-21 10:56 GMT-03:00 Alexandre Bergel <alexandre.bergel@me.com>:
How to open a IBBrowser by the way?
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Apr 21, 2016, at 10:06 AM, tesonep@gmail.com wrote:
Hi Diego, the most updated version is published in GitHub.
https://github.com/tesonep/j2Inferer
In that place there is also some documentation.
Cheers, Pablo
On Thu, Apr 21, 2016 at 7:29 AM, Diego Orellana <dorellang@gmail.com> wrote:
Hi Pablo,
Well, I tried to load the packages from your repositories, but I couldn't. First I tried to load all the packages in the repository via:
Gofer it url: 'http://smalltalkhub.com/mc/pabloTesone/J2Inferer/main'; package: 'J2Inferer'; package: 'J2Profiler'; package: 'ConfigurationOfJ2Inferer'; load.
But then I have this error:
"This package depends on the following classes: SIRegister You must resolve these dependencies before you will be able to load these definitions: J2SilentSIRegister J2SilentSIRegister>>#fill"
And when I try to load it via 'ConfigurationOfJ2Inferer loadBleedingEdge', and I got:
'Could not resolve: J2Inferer in C:\Users\diego\Desktop\pharo'
How I am supposed to load them in my image? I am still a newbie in Pharo so I don't know how you are supossed to do it :P
Cheers, Diego.
2016-04-19 4:11 GMT-03:00 tesonep@gmail.com <tesonep@gmail.com>:
Hi Diego, Just yesterday I have added documentation explaining a bit how the process is working in my Type Inferer, it works in a different way than RoelTyper, but maybe you can get ideas of how enhance Roel's
Any doubt please tell me.
Pablo
On Tue, Apr 19, 2016 at 2:41 AM, Diego Orellana <dorellang@gmail.com> wrote:
Hello, My smalltalkhub user is dorellang.
Cheers.
2016-04-15 17:27 GMT-03:00 stepharo <stepharo@free.fr>:
Hello Diego
Good initiative! RoelTyper is not a Moose project. It is just used in moose. Now it would be good to check a bit (RoelTyper was made to work on VisualWorks and Squeak/Pharo) and it would be nice to make sure that we do not need the VW specificities.
RoelTyper is managed by RMoD so give me you login and we will add you to the project.
Le 14/4/16 16:52, Diego Orellana a écrit :
Hi, Pharo Users!
I'm starting to work on types in Pharo. To be more precise, I'd like to improve the RoelTyper (a package which "guesses" variable types in code). What suggestions do you have? I have some ideas and I'm currently working to find more, but it's always interesting to hear what the community has to say :)
Oh, and by the way, I've found a bug in RoelTyper. I have a fix, but it seems that RoelTyper is a Moose thing, since it's not included in the vanilla Pharo image. Do you know where I could submit the fix?
Cheers, Diego.
-- Pablo Tesone. tesonep@gmail.com
-- Pablo Tesone. tesonep@gmail.com