Login  Register

LivingCode was: Clickable class side example and initialize methods in Pharo 4.0

Posted by kilon.alios on Oct 24, 2014; 10:19am
URL: https://forum.world.st/LivingCode-was-Clickable-class-side-example-and-initialize-methods-in-Pharo-4-0-tp4786411.html

Dont know what you feed this monster but it took forever to load on Pharo 4 and now it gives me the error MNU receiver of "do:" is nil

Pharo 3 seems to work ok, so from what I gather this is a flow chart representation of Smalltalk language, very interesting , I like it very much. 

Are you serious about this project or its just a little experiment for you ?

Blender users have been wanting a flow based programming language for some time, I have been looking into Phratch but apparently most people prefer flow charts like yours because its what they are used to to as users inside Blender and other 3d apps. So its also an area that interests me too for example procedural creation of 3d objects which is an area that Blender lacks right now while other apps like Houdini and Softimage have again been based on flow chart languages like yours. 

The nice thing about your approach is that is inside Pharo so it does not lock down into a flow chart-only approach as most implementations do. So the user can use LiveCode to quickly create code and then use normal text code to customise and further refine. Does that make sense to you ?

I was thinking creating something similar myself but I was afraid it would be too much work. So I am definitely interested to learn how far you want to go with this . 



On Thu, Oct 23, 2014 at 9:46 PM, Sean P. DeNigris <[hidden email]> wrote:

> I guess so, although I am not really sure what I am looking at - but it
> seems very cool.


kilon.alios wrote
> What the hell is that, looks very interesting !!!!

Ha ha, yeah I guess a bit of context would help ;)

It's a prototype I've been working on that combines some of (IMHO) the best
IDE ideas of various systems. That particular one shows Self Outliners (the
Morphs on the left of the connector). By pressing $M when an outliner has
the focus, you get a "Message Menu" of Scratch-like interactive tiles for
all the messages it understands. You can click on the unary messages or type
expressions for the ones taking arguments (actually just realized that the
binary ones don't work so just keyword messages right now). When the message
is sent, a new Self Outliner open(s)InHand on the result.

It's a WIP, but if you want to play, start with:

1.
Gofer it
        smalltalkhubUser: 'SeanDeNigris' project: 'SeansPlayground';
        configurationOf: 'LivingCode';
        load. "Strangely I can not #loadDevelopment here because the
ScrollableWorldMorph package doesn't get loaded, even though it does with
the next line"
#ConfigurationOfLivingCode asClass project development load.
#SelfWorld asClass open.

2. Then in the search bar, type an evaluatable expression, e.g. "1" and
accept
3. Drop the Outliner from the hand into the Self World
4. For fun, click the world background and drag. OMG, you have an infinite
world
5. Click on the M button in the outliner and the message menu will appear
(erroneously in the World instead of the Self World).
6. Expand e.g. the "bit manipulation" protocol (assuming you started with
"1" as above)
7. Click into the text field to the right of bitAnd: and accept the text
A new Outliner of the result will appear in the hand

Other buttons on the Outliner:
B - open a nautilus on the class of the object
I - traditional inspector
S - open the test class if it exists (I call them Specification(s) in my
personal work)
E - Evaluator (very close to Self)

Also, if you click on the icons to the right of "class" and "package"
Outliner(s) will appear on those objects.

That's pretty much it for now.



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Clickable-class-side-example-and-initialize-methods-in-Pharo-4-0-tp4785865p4786275.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.