Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
5 posts
|
Hello, I'm a student at Lille 1 university, so I'm still a beginner in Pharo I'm working on Artefact to create a more understable and complete demonstration. To do that I would like to print the code of a given method. However I can find how to decompiled the given method. Any help is welcome. --
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
114 posts
|
( aClass >> #aSelector ) sourceCode. Ex: (Morph>>#drawOn:) sourceCode
For class side methods: (Object class >> #taskbarIcon) sourceCode Best regards, Henrik From: Pharo-users [mailto:[hidden email]]
On Behalf Of Guillaume Ongenae Hello, I'm a student at Lille 1 university, so I'm still a beginner in Pharo I'm working on Artefact to create a more understable and complete demonstration. To do that I would like to print the code of a given method. However I can find how to decompiled the given method. Any help is welcome. --
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1067 posts
|
In reply to this post by g_ongenae
Hi, Do you really need to decompile the method? A CompiledMethod know his source code.Object methods first codeForNoSource On Thu, Mar 10, 2016 at 11:14 AM, Guillaume Ongenae <[hidden email]> wrote:
-- Cheers Cyril Ferlicot |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1053 posts
|
sourceCode is the best way to do it. It answers the original sources if available, and the decompiled sources if not available. 2016-03-10 11:22 GMT+01:00 Cyril Ferlicot <[hidden email]>:
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
5 posts
|
Yes, sourceCode is what what I was looking for, but couldn't find.
Cyril Ferlicot, no, I don't need to decompile it, I was just thinking that it could be a solution. Anyway. Thank you. Cheers. Guillaume |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2807 posts
|
In reply to this post by g_ongenae
On 10-03-16 11:14, Guillaume Ongenae wrote:
> Hello, > > I'm a student at Lille 1 university, so I'm still a beginner in Pharo > > I'm working on Artefact to create a more understable and complete > demonstration. > Artefact the pdf library? Stephan |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
5 posts
|
Yes, Artefact the PDF Library.
|
Free forum by Nabble | Edit this page |