Re: Getting Started - What to try?

2008-03-31 Thread Moritz Lenz
Hi, John M. Dlugosz wrote: I've installed the Win32 build of Pugs, but is appears to be incomplete. How do I get the real thing? I've also heard that Pugs is in stasis, so is this still a good way to write stuff and learn today? There is no real thing yet, which is why we're working on it

Re: Query re: duction and precedence.

2008-03-31 Thread TSa
HaloO, Darren Duncan wrote: For other operators, non-assoc etc, the work will probably all have to be linear. Eg difference|quotient|exponentiation. That's why I would rename the left and right operator associativity to left and right sequentiality. Note that there's a fundamental difference

Re: Getting Started - What to try?

2008-03-31 Thread Patrick R. Michaud
On Mon, Mar 31, 2008 at 10:23:45AM +0200, Moritz Lenz wrote: John M. Dlugosz wrote: I understand the most official grammar is being developed there. Not quite. The official grammar is in the pugs repo in src/perl6/, but it can't really run on anything yet. This is correct -- the official

podhtml.pl

2008-03-31 Thread John M. Dlugosz
From: Agent Zhang IMHO pod2html is old and broken in various ways. I think you should use the tools provided by Pod::Simple instead. For the Synopses on feather, we're using the podhtml.pl script (based on Pod::Simple::HTML): http://svn.pugscode.org/pugs/util/podhtm.pl Hopefully you

Re: Integerizing a rat involves truncating its tail

2008-03-31 Thread TSa
HaloO, Darren Duncan wrote: Or maybe your question is more about what method to use by default if users don't explicitly choose one? Yes. I thought we have gone over this in the div/mod discussion that ended with specifying floor semantics for %. I sort of hoped for a synopsis update with

Re: Integerizing a rat involves truncating its tail

2008-03-31 Thread TSa
HaloO, I asked: just re-reading S03 I saw that it defines the Rat to Int conversion as truncation. Hmm, does assuming floor semantics reveal the availability of the tail function for Nums? (-1.25).tail == 0.75 Can it also be used as an lvalue? my Rat $x = -5/4; # note that this is

Re: Getting Started - Synopsis

2008-03-31 Thread Ryan Richter
On Mon, Mar 31, 2008 at 09:54:58AM +0800, Agent Zhang wrote: On Sun, Mar 30, 2008 at 9:23 PM, Ryan Richter [EMAIL PROTECTED] wrote: Actually, that cron job hasn't been working for a long time... I've just checked the cronjob mails and it seems to me that the update-syn script is

[svn:perl6-synopsis] r14530 - doc/trunk/design/syn

2008-03-31 Thread larry
Author: larry Date: Mon Mar 31 10:00:05 2008 New Revision: 14530 Modified: doc/trunk/design/syn/S02.pod Log: Clarify what is meant by evaluating subscripts in list context. Modified: doc/trunk/design/syn/S02.pod ==

[svn:perl6-synopsis] r14531 - doc/trunk/design/syn

2008-03-31 Thread larry
Author: larry Date: Mon Mar 31 11:15:33 2008 New Revision: 14531 Modified: doc/trunk/design/syn/S03.pod Log: Some clarifications on Num and Int coercions. Removed lame joke about truncating rats. Modified: doc/trunk/design/syn/S03.pod

Question on your last change to S02

2008-03-31 Thread John M. Dlugosz
The context in which a subscript is evaluated is no longer controlled by the sigil either. Subscripts are always evaluated in list context. +(More specifically, they are evaluated in a variant of list context +known as Islice context, which preserves dimensional information +so that you can do

Buf/Str conversion functions

2008-03-31 Thread John M. Dlugosz
In S02, If a buf type is initialized with a Unicode string value, the string is decomposed into Unicode codepoints,...If any other conversion is desired, it must be specified explicitly. In S29, there is nothing about functions in Buf, and nothing about functions that convert or initialize

RE: Query re: duction and precedence.

2008-03-31 Thread Miller, Hugh (hdmi)
The inevitable question - why not support Polish Notation or Reverse Polish ? Well known to be easier to use, since it involves no ambiguities in regard to association, is notationally clearer (not needing parentheses). Seems to make it easier to analyze what one might want to mean by [op] (p1 p2

Re: Query re: duction and precedence.

2008-03-31 Thread Mark J. Reed
Well, all's fair if you predeclare, but a language whose main expression format is prefix or postfix is no longer Perl. Maybe Perlisp or Pforth. Plus, given the complex interactions of the various operators, many of which don't look like operators, it's not necessarily straightforward to

Re: Getting Started - Synopsis

2008-03-31 Thread Agent Zhang
On Mon, Mar 31, 2008 at 8:59 PM, Ryan Richter [EMAIL PROTECTED] wrote: Sorry, it's actually the html stuff from pugs that's not making it onto feather, e.g. syn_index.html. Ah...Thanks for the catch :) The index page was formerly a symbolic link to the syn_index.html in audreyt's pugs tree