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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: RFC: self hosting Perl 6 string wiki
by moritz (Cardinal) on Sep 05, 2008 at 09:12 UTC | |
by amarquis (Curate) on Sep 05, 2008 at 14:57 UTC | |
by raiph (Deacon) on Sep 08, 2008 at 22:09 UTC | |
by moritz (Cardinal) on Sep 08, 2008 at 22:23 UTC | |
by Anonymous Monk on Sep 09, 2008 at 05:13 UTC | |
by moritz (Cardinal) on Sep 09, 2008 at 06:59 UTC | |
| |
Re: RFC: self hosting Perl 6 string wiki
by ambrus (Abbot) on Sep 05, 2008 at 10:30 UTC |