I'm planning Parrodocs, a Parrot project. I would appreciate reactions of any sort to the following outline.
As a first approximation, Parrodocs is a wiki system. It'll speak http://www.wikicreole.org and provide a revision control interface.
A central Parrodocs feature is that a page may be stored as a Perl6 string, and Parrodocs suitably sets up the context for interpolation.
So writers can incorporate variables like this...
This page, served by %ENV{$server-name}, is stored as a Perl6 string.
... and embed code by just typing braces (and the code of course ;):
This page is a Perl6 string which embeds code { ... }.
Per Perl6, pragmata enable use of any language spoken by the Parrot hosting Parrodocs:
This page embeds php code: { use pipp; ... }.
To implement WikiCreole, Parrodocs would define a variant of a Perl6 string that tried a WikiCreole grammar parse of those parts of a string that aren't code. So writers could write:
//This// page embeds php code: { use pipp; ... }.
to italicize "This".
Parrodocs will host itself. A first alpha version might be a single string / page / file / program that codes how to edit and save itself.
I've got several other ideas I want to implement, such as using Junctions and other Perl6 language features within prose (I am a sany person after all). But enough for now. Thoughts?