Full Block Closure

Bijan Parsia bparsia at email.unc.edu
Sat Nov 20 03:13:28 UTC 1999


At 9:22 PM -0500 11/19/99, John Duncan wrote:

[snip]
>You can try this:
>
>	| t m class sel |
>	class _ Browser "for example"
>	sel _ #contents "for example"
>	t _ class sourceCodeAt: sel
>	(m _ Parser new parse: (ReadStream on: t) class: Browser noPattern:
>false 	context: nil notifying: nil ifFail: []) explore
>
>exploring is much more useful for abstract syntax trees than
>inspecting.

Thanks! How might this work for WorkSpace code, or should I just set up a
dummy class and methods to fuss around with?

Cheers,
Bijan Parsia.





More information about the Squeak-dev mailing list