[Melbourne-pm] code filters

Sam Watkins sam at nipl.net
Thu Oct 27 00:43:57 PDT 2011


I wrote a source code filter for perl a while ago, because I python syntax.
This is the test program for it:

  http://sam.ai.ki/code/sane.pl/test.pl

but I've never used it for anything as of yet!

Also wrote a filter for python which lets you access objects members
as @foo instead of self.foo, and don't have to declare the 'self'.
I called that 'whython' and used it for one program only!

  http://sam.ai.ki/code/graph.1/old/editor/graph.why

It would be better to use .foo to access a member, not @foo.
And certainly not self.foo or $self->{foo}  aargh!!!
Or go like C++ / Java and just access it as 'foo'.

/EOT


More information about the Melbourne-pm mailing list