[Pharo-users] Help me make sense of this (AST manipulation)

2016-05-03 Thread Victor RENE
| f g h | f := '[ :a | ^a + 1 ].'. " Message pattern expected " g := '| b |'. " '|' expected " h := '| b ||'. " Success?!? " OpalCompiler compile: f. OpalCompiler compile: g. OpalCompiler compile: h. Basically I went from writing a function to clean up StringMorphs on the World... cleanupString

[Pharo-users] Metaprogramming facilities

2016-05-02 Thread Victor RENE
In the TinyBlog mini-project of the MOOC, we start by creating the model. However, since I basically finished the exercises, I wanted to go one step further and ask you guys, what is the correct way _not_ to write all gettters / setters for the fields. TBPost >> title ^ title TBPost >> titl

[Pharo-users] Failing to create a project on SmalltalkHub

2016-05-02 Thread Victor RENE
http://smalltalkhub.com/#!/~VictorRene I am trying to create a project on Smalltalk hub to save progress on the MOOC. But it fails with "incorrect username or password", and i can not logout. Okay, I can probably empty my browser cache but it's still incorrect behavior. Also, they say it's possib

[Pharo-users] Can you help me find this info?

2016-05-02 Thread Victor RENE
Hello, I am new to Pharo and would like to understand a few things. I can search by myself, but I do not know the code base yet, so: [Questions] Pharo image: Serialization, deserialization, where is the code? Pharo vm (Cog/Spur): Rendering loop and event loops. done with SDL2, where is