Grrr, hit enter at the wrong time and it sent my message early.

Anyway, the existing style would be

x = .array~new

new style

x = rexx:array~new

You can always get access to the system classes using the REXX namespace,
regardless of what has been added to the environment or defined in packages
you might include.

Rick



On Wed, Oct 1, 2014 at 9:18 AM, Rick McGuire <object.r...@gmail.com> wrote:

> The deeper I get into the details of implementing this, the more I think
> it needs to be "namespace;name" too.  I'm also going to de-couple this from
> "dot variables" because the dot is not really necessary, and it does not do
> the full dot variable search in any event.  So, to do an existing lookup,
> you would use
>
> x = .array~new
>
> On Wed, Oct 1, 2014 at 9:10 AM, David Ashley <w.david.ash...@gmail.com>
> wrote:
>
>> I prefer the namespace:name version. It seems more hierarchical.
>>
>> David Ashley
>>
>> On Tue, 2014-09-30 at 18:52 -0400, Rick McGuire wrote:
>> > One of the features I've been working on is a concept of namespaces
>> > that can be used to disambiguate information pulled in from
>> > different ::requires files.  The basis if this is a new NAMESPACE
>> > option on the ::requires directive where you give a simple name to a
>> > loaded requires file.
>> >
>> >
>> > ::requires 'some.file' namespace somename
>> >
>> >
>> > Once a requires file has been tagged with a namespace name, it can be
>> > used to qualify references to classes within that namespace explicitly
>> > identify which version you want.  As part of this, there is a special
>> > reserved namespace of REXX that will allow you to always get to the
>> > interpreter-provided version of things.
>> >
>> >
>> > My thoughts on how the namespace is specified builds on what is done
>> > with the message syntax for message sends where we have things like
>> >
>> >
>> > init~self:super
>> >
>> >
>> > Where the first token is the target name, the part after the colon is
>> > the qualifier.  This works for namespaces, but part of me thinks this
>> > might be better with the qualifier first.
>> >
>> >
>> > There are multiple places where this will show up.
>> >
>> >
>> > 1) .variables.  This will allow things like .array:rexx~new...or
>> > should this be .rexx:array~new?
>> >
>> >
>> > 2) ::class directives.
>> >
>> >
>> >    ::class foo subclass rexx:object (or should it be object:rexx).
>> >
>> >
>> > 3) Potentially on function calls and call instructions.  Again, should
>> > it be qualifier first or second?
>> >
>> >
>> > The more I look at this, the more I think it should be namespace:name
>> > rather than name:namespace, but this is the reverse of the method name
>> > convention.  These are not strictly the the same concept, but it is
>> > different.  What do others think?
>> >
>> >
>> > Rick
>> >
>> >
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
>> > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
>> > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
>> > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>> >
>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
>> > _______________________________________________
>> > Oorexx-devel mailing list
>> > Oorexx-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Oorexx-devel mailing list
>> Oorexx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>
>
>
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to