And I just cannot escape the idea of completely de-obfuscating Perl. And the way to do that is to write Perl programs as an XML document validated against a Perl parser serving as a DTD or Schema.
I can just see the clean, crisp non-scary-looking code now:
<assign name="%students" package='A::B'> <record key="sally" val="Johnson High"> <record key="billy" val="Cedar Brook High"> </assign>
But the amazing thing beyond the readability would the tractability: we could do all sorts of program transformations because the language would be completely regular, completely treelike, and with the gnarliness inherent in XML::Twig completely stackable, reversable, duplicatable, comparable and transformable in ANY WAY you can imagine manipulating a tree.
I mean, think about it: its not the syntax of a language that matters so much as it's semantics right? The only important thing about syntax is that it should be readable, easily parseable and easily generated from other computer programs. I know some of you are going to miss all those cute cryptic little symbols, they were a wonderful shorthand. But look at what we will gain. We will gain the simplicity of lisp in syntax. Each simple expression will be clearly bracketed, but in this case, not with parenthesis, but with a container XML tag whose entire semantics can be looked up in the Perl manual.
This is the future. This is what the 21st century has been screaming for. And XML::Twig has just the arsenal of tools to make my dreams reality.
The only thing is I cannot think of a nifty marketing name for this savior of the world of programming:
But don't let my fanaticism scare you off. Normal people like XML::Twig as well.
And don't take this post to seriously. I mean it in half-jest but all seriousness. The tone is arrogant but it's a flippant, teasing arrogance. But I am serious about developing this metaperl.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PlaydohPerl: our Perl 6 Programs in XML::Twig
by mirod (Canon) on Aug 15, 2001 at 11:48 UTC | |
by abstracts (Hermit) on Aug 15, 2001 at 14:06 UTC | |
|
Re: PlaydohPerl: our Perl 6 Programs in XML::Twig
by japhy (Canon) on Aug 15, 2001 at 04:52 UTC | |
|
Re: PlaydohPerl: our Perl 6 Programs in XML::Twig
by blakem (Monsignor) on Aug 15, 2001 at 14:17 UTC | |
|
Re: PlaydohPerl: our Perl 6 Programs in XML::Twig
by trantor (Chaplain) on Aug 15, 2001 at 16:59 UTC |