There is a (partial) book-style chapter describing Perl6 values, variables, and primitive/promoted types at:

http://cog.cognitivity.com/perl6/val.html

The entire thing is one page, for easy printing. It works out to about 15-20 pages, depending on your printer. There is *much* more coming soon.

This is the "expanded" version of what I posted earlier: it is much more accurate and detailed. It represents the beginnings of a "Chapter 1" of detailed (tho unofficial) Perl6 documentation. My working approach is to document Perl6 as if Perl5 never existed: in other words, don't focus on what's "new" or "changed": just document all aspects of Perl6 completely, from the ground up, written for people who may not have worked with Perl5 at all.

There are some assumptions in the more detailed descriptions: specifically, I have documented explicit radix, bool, and a few other things as if they will exist, though they haven't been decided yet. That's why I'm writing it -- to get at all the nooks and crannies, and make sure we're not including, missing, or assuming anything we shouldn't.

There is much more coming (another 100 pages or so to finish up, edit & post for this chapter and the next): I'll post the rest as I get it polished, but I need some initial feedback on this first part, especially:

-- Is the writing style acceptable? Should it be less formal? More formal? Geared to dumber people? Smarter people? Just right?

-- Are things being presented in the correct order? Are there any obvious gaps where I need more explanation?

-- Syntax and accuracy goofs, obviously.

I realize the first page or two are pretty dull, because they're more "abstract", and stuff so basic that it's hard to explain properly at all. But it assuredly needs some edits, so I will be indebted to anyone who slogs through it. :-) The farther you go, the more interesting/fun/scary it gets.

I can't wait to show the beginnings of an "Operators" chapter. :-)

MikeL

Reply via email to