Moritz Lenz skribis 2007-07-10 12:43 (+0200):
> $ p6explain '[]'
> [...] can be
>      * '[$expression]': access to one or more array elements if used as
>        postcircumfix
>        Example: @a[2]; # access the third element of an array @a
>      * '[$operator]': the 'reduce' hyper operator
>        Example: [+] (1, 2, 3); # gives 1 + 2 + 3 == 6
> In a regex/rule:
>      * '[$subregex]': groups the content of the brackets without
>        capturing the match result of $subregex

I had the same idea, but in wiki form, with a clickable map of
characters for the curious.

The idea is basically: categorize by unicode symbols, and then describe
how they're used, in any context.

>   * Multiple frontends: I'd like to have at least a command line and a
>     web frontend

A command line tool could just do the equivalent of

    w3m -dump wiki.perl6.example.com/symbol/*

>   * Perhaps support for other programming languages as well

Third system syndrome? :)

>   * Anything else that should go into the requirements?

Ultra easy contribution with revision control.

>   * Is it useful at all?

Absolutely!

>   * Is it possible to implement it satisfactory without building a p6
>     compiler?

Yes. Just match individual literal symbols. Someone looking for * should
encounter all uses of *, including ** and **{}. 

>   * Do you have a good idea for a project name?

I had "Decrypt" in mind. (http://decrypt.perl6.nl/*)
-- 
korajn salutojn,

  juerd waalboer:  perl hacker  <[EMAIL PROTECTED]>  <http://juerd.nl/sig>
  convolution:     ict solutions and consultancy <[EMAIL PROTECTED]>

Reply via email to