Re: [perl #43078] [DOCS] document how lexical naming works with non-ascii

2009-06-18 Thread Patrick R. Michaud
subject line of all future correspondence about this issue. > > > # http://rt.perl.org/rt3/Ticket/Display.html?id=43078 > > > > > > > > > > TODO: Describe how lexical naming system interacts with non-ASCII > > character > > > sets.

Perl 6 Naming Conventions Re: For your encouragement

2008-12-06 Thread Alvar Freude
it should be a good model for every Perl 6 developer. And it should use the same naming conventions which are usual for Perl 6. I don't know if there are some naming conventions for Perl 6 released yet, if not I strongly recommend to take this ones who are common for Perl 5. In other words:

[perl #43093] [PATCH] Update docs wrt naming of developer files

2007-05-31 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #43093] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=43093 > Hi all, This patch corrects some of the pod in docs/ to reflect the fact that develope

Re: [perl #43078] [DOCS] document how lexical naming works with non-ascii

2007-05-30 Thread Will Coleda
Will Coleda (via RT) writes: # New Ticket Created by Will Coleda # Please include the string: [perl #43078] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=43078 > TODO: Describe how lexical naming system interacts w

[perl #43078] [DOCS] document how lexical naming works with non-ascii

2007-05-30 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #43078] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=43078 > TODO: Describe how lexical naming system interacts with non-ASCII character s

Re: [perl #41623] [TODO] modify p6regex op naming convention to match perl 6

2007-02-26 Thread Larry Wall
his issue. : > # http://rt.perl.org/rt3/Ticket/Display.html?id=41623 > : > : > : > pge's syntax for specifying ops to the op precedence parser should : > follow the perl 6 spec in it's op rule naming convention. that is, : > 'infix:+' : > 'circumf

Re: [perl #41623] [TODO] modify p6regex op naming convention to match perl 6

2007-02-26 Thread Patrick R. Michaud
; > pge's syntax for specifying ops to the op precedence parser should > follow the perl 6 spec in it's op rule naming convention. that is, > 'infix:+' > 'circumfix:( )' > > should be > infix:<+> > circumfix:<( )> We s

[perl #41623] [TODO] modify p6regex op naming convention to match perl 6

2007-02-26 Thread via RT
l 6 spec in it's op rule naming convention. that is, 'infix:+' 'circumfix:( )' should be infix:<+> circumfix:<( )> ~jerry

Re: Naming PAST-pm compiler tool chain

2006-11-27 Thread Jonathan Worthington
Allison Randal wrote: How about "Partridge"? It starts with 'p', it's a bird, and brings to mind "Partridge in a Pear Tree" which goes with the theme of tree-based compiler tools (PGE outputs trees, TGE munges trees). We can pretend we named it after Kurt Partridge for his work on ZPL or Andre

Naming PAST-pm compiler tool chain

2006-11-26 Thread Allison Randal
How about "Partridge"? It starts with 'p', it's a bird, and brings to mind "Partridge in a Pear Tree" which goes with the theme of tree-based compiler tools (PGE outputs trees, TGE munges trees). We can pretend we named it after Kurt Partridge for his work on ZPL or Andrew Partridge for his wor

Re: [perl #16622] [PATCH PDD07] Document struct naming conventions

2005-09-20 Thread Dave Mitchell
On Mon, Sep 19, 2005 at 11:18:17PM -1000, Joshua Hoblitt wrote: > On Tue, Sep 20, 2005 at 12:33:38AM -0700, Brent 'Dax' Royal-Gordon wrote: > > > > I submitted the patch below my sig way back in August 2002, in ticket > > > > 16622. It documented th

Re: [perl #16622] [PATCH PDD07] Document struct naming conventions

2005-09-20 Thread Joshua Hoblitt
On Tue, Sep 20, 2005 at 12:33:38AM -0700, Brent 'Dax' Royal-Gordon wrote: > > > I submitted the patch below my sig way back in August 2002, in ticket > > > 16622. It documented the then-current naming conventions for > > > structures. Is it still accurate

Re: [perl #16622] [PATCH PDD07] Document struct naming conventions

2005-09-20 Thread Brent 'Dax' Royal-Gordon
> > I submitted the patch below my sig way back in August 2002, in ticket > > 16622. It documented the then-current naming conventions for > > structures. Is it still accurate and/or a good idea? Should it (or an > > up-to-date version of it) be committed? > >

Re: [perl #33103] Subclass op & subclass naming

2005-03-10 Thread Leopold Toetsch
Simon Glover <[EMAIL PROTECTED]> wrote: > ... However, if we > want to create an anonymous subclass, using the 2-argument form of the > subclass op, then we hit a problem -- the code: > newclass P0, "City" > subclass P1, P0 > newclass P2, "State" > subclass P3, P2 > en

[perl #33103] Subclass op & subclass naming

2004-12-19 Thread via RT
# New Ticket Created by Simon Glover # Please include the string: [perl #33103] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=33103 > This code snippet: newclass P0, "City" subclass P1, P0, "New York"

Re: NOTICE: New interpreter naming (people with pending patches, read this now)

2004-10-19 Thread Leopold Toetsch
Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> wrote: > The naming of the interpreter structure has changed. The struct is > now called "parrot_interp_t"; Thanls, leo

NOTICE: New interpreter naming (people with pending patches, read this now)

2004-10-17 Thread Brent 'Dax' Royal-Gordon
The naming of the interpreter structure has changed. The struct is now called "parrot_interp_t"; use of the typedef "Interp" is now recommended in function declarations and definitions (e.g. C). This will affect many pending patches. If you're working on a patch, ple

Ping on [perl #16622] [PATCH PDD07] Document struct naming conventions

2004-04-09 Thread Brent 'Dax' Royal-Gordon
I submitted the patch below my sig way back in August 2002, in ticket 16622. It documented the then-current naming conventions for structures. Is it still accurate and/or a good idea? Should it (or an up-to-date version of it) be committed? (It's almost certainly been line-wrapped in

Re: [RFD] Symbol naming and imcc2

2004-02-17 Thread Dan Sugalski
At 10:41 PM +0100 2/17/04, Leopold Toetsch wrote: Dan Sugalski wrote: Either way, I don't think IMCC should have to deal with language symbols explicitly. Zhat's true. But still we need to know, *what are* language symbols. I've stated several times that for the spilling code its essential to k

Re: [RFD] Symbol naming and imcc2

2004-02-17 Thread Leopold Toetsch
Dan Sugalski wrote: Either way, I don't think IMCC should have to deal with language symbols explicitly. Zhat's true. But still we need to know, *what are* language symbols. I've stated several times that for the spilling code its essential to know, if a symbol has already a store in either lex

Re: [RFD] Symbol naming and imcc2

2004-02-17 Thread Dan Sugalski
At 12:26 PM -0500 2/11/04, Melvin Smith wrote: The request, mainly, is for imcc to handle sigil characters from other languages which basically equates to exposing a lot to imcc from the high-level language. If you're looking for a "How do I use $foo in my imcc code?" then I have one of two answer

Re: [RFD] Symbol naming and imcc2

2004-02-11 Thread Leopold Toetsch
Melvin Smith <[EMAIL PROTECTED]> wrote: > Another option is to use quotes for symbols with sigils, And we have to cope with unicode finally. So I'd vote for that alternative. *But* as code normally comes out of a compiler and there may be many different compilers, we can't deal with arbitrary sym

Re: [RFD] Symbol naming and imcc2

2004-02-11 Thread Luke Palmer
nvisage something like: $'%foo' = new PerlHash But is that all that more readable than: $Hfoo = new PerlHash I would say we should definitely go with something like this if registers held more permanent values. But in writing my own compilers, I've found that most of my regis

Re: [RFD] Symbol naming and imcc2

2004-02-11 Thread Pete Lomax
On Wed, 11 Feb 2004 15:04:53 -0500, Matt Fowles <[EMAIL PROTECTED]> wrote: >All~ > >I don't like the leading C<.> option, what about having a leading _ for I don't care. Really, I don't care. I kinda like $, but I don't care. I currently get by just with $[I.N.S.P]nnn symbolic temporaries because

Re: [RFD] Symbol naming and imcc2

2004-02-11 Thread Jonathan Worthington
Hi, > I don't like the leading C<.> option, what about having a leading _ for > temporaries instead and allowing any non-space, non-operator character > in symbol names, so _$foo would be a valid temp. This has the advantage > of not conflicting with symbolic registers. > But could it potentially

Re: [RFD] Symbol naming and imcc2

2004-02-11 Thread Matt Fowles
All~ I don't like the leading C<.> option, what about having a leading _ for temporaries instead and allowing any non-space, non-operator character in symbol names, so _$foo would be a valid temp. This has the advantage of not conflicting with symbolic registers. The other option is to force

[RFD] Symbol naming and imcc2

2004-02-11 Thread Melvin Smith
RFD = Request For Discussion ;) Much discussion has been made on IRC concerning symbol names. The request, mainly, is for imcc to handle sigil characters from other languages which basically equates to exposing a lot to imcc from the high-level language. I won't argue how much of that is good or b

[perl #16622] RE: [PATCH PDD07] Document struct naming conventions

2002-08-19 Thread via RT
+ +Functions with external visibility should be of the form C, +and should only use typedefs with external visibility (or types defined +in C89). Generally these functions should not be used inside the core, +but this is not a hard and fast rule. =item * Variables and structure names should be

RE: [PATCH PDD07] Document struct naming conventions

2002-08-19 Thread Brent Dax
m C, +and should only use typedefs with external visibility (or types defined +in C89). Generally these functions should not be used inside the core, +but this is not a hard and fast rule. =item * Variables and structure names should be all lower-case, eg C. +See L<"Structure

[PATCH PDD07] Document struct naming conventions

2002-08-19 Thread Brent Dax
should only use typedefs with external visibility (or types defined +in C89). Generally these functions should not be used inside the core, +but this is not a hard and fast rule. =item * Variables and structure names should be all lower-case, eg C. +See L<"Structures and Typedefs"&

Re: [PATCH PDD 7] Update type-naming conventions

2002-06-07 Thread Melvin Smith
At 05:16 PM 6/7/2002 -0700, Brent Dax wrote: >Subject says it all. Updates conventions to be consistent with much of >the core. Unfortunately, that doesn't include 'struct Parrot_Interp'. I'll work on bringing the source up to date as soon as pending patches are in. -Melvin

[PATCH PDD 7] Update type-naming conventions

2002-06-07 Thread Brent Dax
Subject says it all. Updates conventions to be consistent with much of the core. Unfortunately, that doesn't include 'struct Parrot_Interp'. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Early in the series, Patrick Stewart came up to us and asked how

Naming

2002-06-07 Thread Melvin Smith
Rather than naming all the basic Parrot types (I mean classes that are exposed at the PASM level) Parrot* (ParrotPointer, ParrotSub, ...) I propse we name them by their simple names and require all new languages to prefix their types ala PerlString, etc. We already have Array and Intqueue that

Re: Proposal: Naming conventions

2002-01-12 Thread David M. Lloyd
On Fri, 11 Jan 2002, Jonathan Leffler wrote: > On Thu, 10 Jan 2002, Steve Fink wrote: > > >[...] I'd like to propose a convention [...] By example: > > > >struct somename_t { ... }; > >typedef struct somename_t { ... }* Somename; > > > >The non-typedef'd name of a struct type ends in _t. > > Is

Re: Proposal: Naming conventions

2002-01-11 Thread Steve Fink
On Fri, Jan 11, 2002 at 11:45:03AM -0800, Jonathan Leffler wrote: > On Thu, 10 Jan 2002, Steve Fink wrote: > > >[...] I'd like to propose a convention [...] By example: > > > >struct somename_t { ... }; > >typedef struct somename_t { ... }* Somename; > > > >The non-typedef'd name of a struct ty

Re: Proposal: Naming conventions

2002-01-11 Thread Jonathan Leffler
On Thu, 10 Jan 2002, Steve Fink wrote: >[...] I'd like to propose a convention [...] By example: > >struct somename_t { ... }; >typedef struct somename_t { ... }* Somename; > >The non-typedef'd name of a struct type ends in _t. Is this a good idea? The _t suffix is reserved by POSIX for use b

Re: Proposal: Naming conventions

2002-01-10 Thread Melvin Smith
At 11:34 PM 1/10/2002 +, Tom Hughes wrote: >In message <20020110201559$[EMAIL PROTECTED]> > "Melvin Smith" <[EMAIL PROTECTED]> wrote: > >Well sizeof(Foo) and sizeof(*foo) are not actually the same thing >at all there because Foo is presumably a typedef for a pointer type >so sizeof(F

Re: Proposal: Naming conventions

2002-01-10 Thread Tom Hughes
In message <20020110201559$[EMAIL PROTECTED]> "Melvin Smith" <[EMAIL PROTECTED]> wrote: > > Foo foo = (Foo) malloc(sizeof(*foo)); > >? Does ANSI allow using sizeof on a variable declared on the > > same line? > > Wouldn't sizeof(Foo) be safer here? At the logical time of the > call *f

Re: Proposal: Naming conventions

2002-01-10 Thread Nicholas Clark
On Thu, Jan 10, 2002 at 03:18:33PM -0500, Melvin Smith wrote: > Eep, to answer the original subject of your mail, I think its a good idea > to start with the _t typedef standard. except that POSIX (IIRC, but it's either them or ANSI) reserves all names ending in _t for themselves. So any other na

Re: Proposal: Naming conventions

2002-01-10 Thread Steve Fink
On Thu, Jan 10, 2002 at 02:31:24PM -0600, David M. Lloyd wrote: > On Thu, 10 Jan 2002, Steve Fink wrote: > > > The naming of things is getting a bit messy. I'd like to propose a > > convention that I use in my work. It's compatible with the last draft > > of

Re: Proposal: Naming conventions

2002-01-10 Thread Steve Fink
On Thu, Jan 10, 2002 at 02:31:24PM -0600, David M. Lloyd wrote: > After looking through PDD 7, I wonder: were we planning on doing any of > this stuff? If so, maybe we should step back for a moment and do it. :-) > If developers are expected to follow these guidelines (not that I've done > any de

Re: Proposal: Naming conventions

2002-01-10 Thread David M. Lloyd
On Thu, 10 Jan 2002, Steve Fink wrote: > The naming of things is getting a bit messy. I'd like to propose a > convention that I use in my work. It's compatible with the last draft > of PDD 7 that I could find: > http://www.mail-archive.com/perl6-internals%40perl.org/msg0

Re: Proposal: Naming conventions

2002-01-10 Thread Melvin Smith
Eep, to answer the original subject of your mail, I think its a good idea to start with the _t typedef standard. -Melvin Smith IBM :: Atlanta Innovation Center [EMAIL PROTECTED] :: 770-835-6984

Re: Proposal: Naming conventions

2002-01-10 Thread Melvin Smith
> Foo foo = (Foo) malloc(sizeof(*foo)); >? Does ANSI allow using sizeof on a variable declared on the > same line? Wouldn't sizeof(Foo) be safer here? At the logical time of the call *foo points to undefined. Technically its not a deref but still looks scary. In C++ it might be confusing if you

Proposal: Naming conventions

2002-01-10 Thread Steve Fink
The naming of things is getting a bit messy. I'd like to propose a convention that I use in my work. It's compatible with the last draft of PDD 7 that I could find: http://www.mail-archive.com/perl6-internals%40perl.org/msg03422.html By example: struct somename_t { ... }; type

Re: naming conventions on opcodes

2001-09-18 Thread Damien Neil
On Tue, Sep 18, 2001 at 07:52:06PM -0400, Dan Sugalski wrote: > More to the point, it needs typing exactly twice--once in the .ops file > that defines the opcode function body, and once in opcode_table. The > assembler, of course, uses the smaller name. Three times: And once to name the test ca

Re: naming conventions on opcodes

2001-09-18 Thread Dan Sugalski
At 04:31 PM 9/18/2001 -0700, Dave Storrs wrote: > So, yes, you'd get 'mul_i_ic_ic', but who cares? It's not really >that hard to type, and it is absolutely unambiguous. If you want to make >the interpreter magically deduce the full opcode name from the prefix, >that's cool, too. More to

naming conventions on opcodes

2001-09-18 Thread Dave Storrs
There was a thread on this recently, but I'm not sure what was resolved. Do we have a standard naming convention for opcodes? Personally, I'd like to see that we stick with (what I thought was) the original plan: a nice, simple ruleset that produces long but predictable names.

Re: language agnosticism and internal naming

2001-09-07 Thread Simon Cozens
On Fri, Sep 07, 2001 at 10:32:42AM -0400, Dan Sugalski wrote: > Simon's going there already. We should fix the docs up, though. (I have a > bunch of PDDs to update and submit. I think they're going to go into the > CVS repository too, once it's fully operational, so I don't lose track of > thin

Re: language agnosticism and internal naming

2001-09-07 Thread Dan Sugalski
At 04:55 PM 9/6/2001 -0700, Benjamin Stuhl wrote: >I had a thought this morning on funtion/struct/global >prefixes for Parrot. If we really plan to also run >Python/Ruby/whatever on it, it does not look good for the >entire API to be prefixed with "perl_". We really (IMHO) >ought to pick something

Re: language agnosticism and internal naming

2001-09-07 Thread Simon Cozens
On Thu, Sep 06, 2001 at 04:55:49PM -0700, Benjamin Stuhl wrote: > I had a thought this morning on funtion/struct/global > prefixes for Parrot. If we really plan to also run > Python/Ruby/whatever on it, it does not look good for the > entire API to be prefixed with "perl_". We really (IMHO) > ough

language agnosticism and internal naming

2001-09-06 Thread Benjamin Stuhl
I had a thought this morning on funtion/struct/global prefixes for Parrot. If we really plan to also run Python/Ruby/whatever on it, it does not look good for the entire API to be prefixed with "perl_". We really (IMHO) ought to pick something else so that we don't give people a convenient target