Re: what can I do with perl 6 today ?

2008-07-02 Thread Aaron Trevena
2008/7/1 Guy Hulbert [EMAIL PROTECTED]:
 On Tue, 2008-01-07 at 19:44 +0100, Aaron Trevena wrote:
 That's why I created the
 http://www.perlfoundation.org/perl6/index.cgi?what_can_i_do_with_perl_6_today
 page on the wiki at the very end (December 29th) of 2007.

 http://www.perlfoundation.org/perl6/index.cgi?fibonacci_sequence

Originally designed as an exercise in addition for students, the
Fibonacci Sequence has some really interesting mathematical
properties

 This statement looks made up to me (if I had a login, i'd fix it ...).

 See:
 http://en.wikipedia.org/wiki/Fibonacci_number
 http://en.wikipedia.org/wiki/Liber_Abaci

Can't remember where I (or possibly) someone else got that from.

You (or anyone else) can use openid, or get a socialtext account
trivially - failing that
reply to this thread with copy for a better page

-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting


what can I do with perl 6 today ?

2008-07-01 Thread Aaron Trevena
Hi All,

As I've said before, I think pretty handy yardstick of measuring
progress with Perl 6 Language and Compilers, is seeing just what you
can actually do with it today, now, this minute..

That's why I created the
http://www.perlfoundation.org/perl6/index.cgi?what_can_i_do_with_perl_6_today
page on the wiki at the very end (December 29th) of 2007.

A couple of people have added some small modifications, but basically
nobody has added anything much to it apart from me, and I wanted
somebody else to answer the question for me, not do all the work
myself :(

Anyway - if you are playing with perl 6, can you do everybody a
massive favour, and try something out with it and put it up on the
page, just say what version of what compiler, how fast it ran (even if
it's just wallclock seconds off a clock on a wall, or your retro
swatch watch with no seconds hand :), and what worked and what didn't.

Cheers,

A.

-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting


Help with the What can I do with Perl 6 today wiki page

2008-04-16 Thread Aaron Trevena
Hi All,

I started the What can I do with Perl 6 today wiki page at the start
of the year, but have been too busy with $paid_work to put much time
into it since.

I was hoping anybody who's written perl 6 code and run it with Rakudo
or pugs could help fill in the gaps - there are a list of common/usual
programming problems (please add more, for example from the P99 list),
each requires a solution in perl 6 and a status message of whether it
runs, errors or is blindingly fast (or make a cup of tea and watch
some TV slow).

Any contribution would be helpful - you don't have to benchmark, or
use the latest version, or you could just add benchmarks to others
with newer or older versions.

Cheers,

A.

-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting


Re: Help with the What can I do with Perl 6 today wiki page

2008-04-16 Thread Aaron Trevena
On 16/04/2008, Aaron Trevena [EMAIL PROTECTED] wrote:
  I started the What can I do with Perl 6 today wiki page at the start
  of the year...

That would be at
http://www.perlfoundation.org/perl6/index.cgi?what_can_i_do_with_perl_6_today

A.


-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting


Re: am I doing something wrong - hanoi example with 0.5.1 parrot release

2008-01-03 Thread Aaron Trevena
On 02/01/2008, jerry gay [EMAIL PROTECTED] wrote:
 @*ARGS and infix:// have been implemented in perl6 thanks to patrick,
 so hanoi.pl works with the svn head in parrot repo.

Yup - hanoi page on the wiki has been updated to reflect that.

I plan to try a few more programs out on the next monthly release -
starting with hilbert, and probably trying some cookbook recipes for
directorys, file access, command line args (i.e. like GetOpt), etc.

I have to say I'm astonished at what the perl6 guys have acheived in
only 8 or so weeks - even allowing for building on and learning from
NQP and Pugs, the next monthly release will likely have a perl 6
executable I can try code out on.

A.

-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting


am I doing something wrong - hanoi example with 0.5.1 parrot release

2007-12-30 Thread Aaron Trevena
running the example at http://svn.pugscode.org/pugs/examples/algorithms/hanoi.pl

parrot ~/downloads/parrot-0.5.1/languages/perl6/perl6.pbc hanoi.pl

I get..

Null PMC access in isa()
current instr.: 'parrot;Perl6Object;make_proto' pc 55 (src/gen_builtins.pir:76)
called from Sub 'parrot;Bool;onload' pc 378 (src/gen_builtins.pir:308)
called from Sub 'parrot;Perl6::Compiler;main' pc -1 ((unknown file):-1)

Am I doing something wrong?

Thanks,

A.

-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting


what can I do in perl 6 today?

2007-12-28 Thread Aaron Trevena
Hi all,

I was wondering about this - people keep on asking about when it will
be finnished - I'm more interested in can I do X in it where X is
something I'm interested in and/or something I can contribute to
and/or something that I consider important for production code I want
to migrate to perl 6 in the future.

I'd be happy to host a page with a nice chart of what you can do and
what is needed to do it ( i.e. pugs, nqp, punie, low level stuff,
cp6an, etc).

Obviously keeping it up to date will be some work, in fact keeping all
the websites for perl 6 up to date is a significant piece of work that
the core developers don't have time for.

A.

-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting


Re: Project Idea: Perl 6 Syntax Explainer

2007-07-19 Thread Aaron Trevena

This looks like it could 2 different things - 1 is a doxygen type
markup where you provide extra stuff, the other could just extract the
relevent pod or pod6 for a function/method/operator from standard pod.

IME, people write the bare minimum documentation - standard perl5 pod
is pretty much that, and it works nicely.

With only minimal work you can extract function specific pod from a
more pod, extracting examples of any method in the synopsis should be
trivial. Autodia works without using either PPI or reimplementing the
Perl compiler.

As an aside I was thinking about updating Autodia to handle perl 6 but
didn't have time to work out a budget for a grant (which almost
certainly means I don't have time to do it at a below-market-rate).

A.

--
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting