.)
-=- James Mastros
I suggest we keep match meaning thing you get when you run a thingy
against a string, and make matcher be the thingy that gets run?
100% agree with you, Allison; thanks for putting words to doesn't feel
right.
-=- James Mastros
, but
it compares as a range. 1.1 should ~~ 1..2; pugs thinking that's false is a
bug, not a feature.
Of course, that doesn't mean implementing range in a subset of perl6 without
it isn't interesting, and possibly useful for bootstrapping.
-=- James Mastros
we have to get 5`m / 30`s to work,
even though m is an operator, which AFAIK means it needs to be a macro,
or the moral equivalent (is parsed).
Also, having every unit be a like-named class would very much crowd the
root of the namespace.
-=- James Mastros
theorbtwo
then pushing the idea on perl6-language. It shouldn't be too
hard -- a matter of using the equivalent of perl5's UNIVERSAL::AUTOLOAD,
and the OUTER:: scope.
-=- James Mastros,
theorbtwo
or other to determine the behavior if they care.
Why is this a role, rather then just implementing postcircumfix:«[
]»(Whatever $self: Int $index) ? (I'd hope the error message is a bit
more newbie-friendly, but that's the only special-casing I see it
needing...)
-=- James Mastros
generation, for example
-- it makes you feel like you don't need to know HTML, when you do.)
-=- James Mastros
the FRF have existed in several
years, so it probably isn't that important...)
-=- James Mastros,
Who certainly looks forward to this.
again.
...unless read returns a Str but source(foo).
-=- James Mastros
.
Goodnight,
-=- James Mastros,
theorbtwo
into the
approps Syn? (This, of course, might be a bit of a problem; the best
solution I can think of is to start on Syn 29).
-=- James Mastros
into the
approps Syn? (This, of course, might be a bit of a problem; the best
solution I can think of is to start on Syn 29).
-=- James Mastros
See attached diff.
Index: src/Help.hs
===
--- src/Help.hs (revision 216)
+++ src/Help.hs (working copy)
@@ -2,6 +2,7 @@
#define VERSION 6
#define DATE
#include config.h
+#include Version.h
{-
Online help and banner text.
Luke Palmer wrote:
James Mastros writes:
Does this imply that it's now possible to type Cmy @foo[23] = 42;, and
declare @foo? In the current perl, this doesn't work -- it's a syntax
error. It'd certainly make many constructs easier.
That looks weird to me. But as Rod points out, it can
error. It'd certainly make many constructs easier.
-=- James Mastros
into PIR, for example. (Either with yourself, or
compiling whatever other language you're written in into PBC.)
-=- James Mastros,
theorbtwo
or a data item for has been made into a
test, and we should provide a list of bugs that have not been marked
that way, and also have not been marked as can't make into a test.
-=- James Mastros
property of
thingies that gives the name that error messages will use to refer to
them. (I want to thank the man who made thingy the proper technical
term, BTW.) So what's it called?
-=- James Mastros
. I'd be more interested in running the test suite as well as
the benchmarks, and plotting a line of %success along with the response
time.
-=- James Mastros,
theorbtwo
the
string as-is, with an optional, default-on, warning, but that's a matter
for p6l.)
Mechanism, not policy, on this issue.
-=- James Mastros
stuff. You do
have to re-implement the runtime stuff, but that's largely the nature of
the beast -- your runtime will be very different anyway, I should think.
-=- James Mastros
Patrick R. Michaud wrote:
On Tue, Sep 14, 2004 at 12:42:59PM -0700, Larry Wall wrote:
I agree that the default should be the current outer language.
I agree that the default ought to be overridable.
I agree that the right way to do that is with something like use PIR;
rather than inventing an
.
- This means that the grammar parser has to figure that out itself.
- ...until we extend the compilation interface.
- It means that we have a more complicated grammar engine (slightly).
- It means that we're changing the one bit of perl6 that we just said
hadn't been changed much.
-=- James Mastros
Jonathan Scott Duff wrote:
On Tue, Sep 14, 2004 at 04:03:49PM +0200, James Mastros wrote:
Or, instead of thinking of this as a special-purpose thing
I think you meant something akin to C /(.) { use PIR; print P0;}/ and
C /(.) { use Forth; P0 print}/ :-) As long as we're special-casing
things
Nicholas Clark wrote:
On Tue, Sep 07, 2004 at 06:07:24PM +0200, James Mastros wrote:
4. The single-file, platform dependent, machine language executable
(realexe).
Which parrot can already do. (Or at least could, but I don't think that
anyone's been checking on it recently)
Er, right -- I'd meant
, but all the major bits are
things that should already be in the standard library (because a
front-end to C6PAN should come with, and that means extracting some sort
of .tar.gz files -- calling out to external utilities doesn't cut it too
often).
-=- James Mastros
PS -- Unreatedly, why, oh
normal quotes.
3) Some editors will give you one when you want the other.
- David ³wondering how likely curly-quotes are to come out right² Green
4) Many people think they're in Latin-1, but they aren't, they're only
in Microsoft's perversion of Latin-1.
-=- James Mastros
-- but nobody
cares if it lives or dies.)
BTW, what's $report-{files}{ninja}?
A standalone tester would be very nice -- so authors can test their
kwalitee before they upload, rather then after.
There's a couple of misspelled fields in the kwalitee report.
-=- James Mastros
-- the
former repeats one thing, the later many... but what's the reasoning for
xxx, other then that it's like xx? How will users be able to remember
which is which?
-=- James Mastros,
theorbtwo
to verify each of them using
non-modifying SQL and/or using DBI's standard introspection mechinsimis.
(Hint: One way to get a list of columns in a table is to select * limit
1 from it, and inspect what you get back.)
-=- James Mastros
that won't disturb useful things that you'd want in
double-quotes -- which includes patterns common in any natural language,
which includes even the literal versions of / (which I can't type
easily at the moment).
-=- James Mastros
Rocco Caputo wrote:
On Sun, Jul 11, 2004 at 10:09:38PM +0200, James Mastros wrote:
All unreachable code is either people misusing the term unreachable, a
bug in Devel::Cover, or dead code that should be removed.
Here's a puzzle, then.
I just ran into a similar problem in POE::Driver::SysRW
% coverage. My point is almost the exact
oppisate: that it's not reasonable to try for 100% conditional coverage.
-=- James Mastros
Austin Hastings wrote:
So, how wrong is this:
class VerticalYadda
{
extends Yadda;
multi method coerce:as($what) {
say Coercing VerticalYadda to ~ ($what as Str);
next METHOD;
}
}
sub *\U{VERTICAL ELLIPSIS}()
{
return new VerticalYadda;
}
=Austin
macro
,
and defining a second coercion from that to an IP address, that reruns
the lookup if the TTL has expired. The first coercion should take place
at compile time, the second not until runtime.
-=- James Mastros
every so often, or you'll miss pages.
-=- James Mastros
a unary » operator for it?
Perhaps I'm just pessimistic this morning.)
-=- James Mastros
then the code that calls them, and callbacks to be less trusted).
-=- James Mastros
to prove, since it's
a verifiable given.)
-=- James Mastros
Mark J. Reed wrote:
One obvious reason for reaching out to unicode characters is the
restricted number of non-alphanumeric characters in ASCII. But why do
infix operators have to be non-alphanumeric?
They don't - but they do have to look like operators. Thanks to the
multiplication symbol,
difficult).
Is it worthwhile anyway?
Quite possibly.
Is it easy?
No.
Will it do everything you want it to do?
No.
-=- James Mastros
such.
is mindwarping? does the_time_warp_again?
The problem, in any case, is similar to throws in Java: if any of your
children are marked, so shall you be, unto the Nth generation. (Or, at
least, this is how I understand it.)
-=- James Mastros
in every class
ever written. I know, not rocket science. But darned annoying, and
it's better to force one person to write darned annoying code (even if
it is you), then to force everybody to implement it.
-=- James Mastros
of code.)
-=- James Mastros
globals.
...or you could document it as a feature, enabling enhanced
introspection versus standard TCL.
(It's not a bug, it's a feature!)
-=- James Mastros
Karl Brodowsky wrote:
Mark J. Reed wrote:
The UTF-8 encoding is not so attractive in locales that make
heavy use of characters which require several bytes to encode therein, or
relatively little use of characters in the ASCII range;
utf-8 is fine for languages like German, Polish, Norwegian,
funded (or, unfornatly, some subset thereof, depending on how
much money comes in) could give to the second... and everybody gets
their way.
-=- James Mastros
to
be wary of. (Even authenticating the host is potentialy useful...
though I can't think of a good use.)
-=- James Mastros
) this shouldn't be an issue.
Might I suggest that we make sure we can deal sanely with either mmaping
or reading PBC files, and then worry about this later, like when
somebody actualy finds it being a problem in real use?
-=- James Mastros
sections located dynamicly.
(Then again, making me happy shouldn't be anybody's priority.)
-=- James Mastros
that infesable, no?)
(BTW, I removed p5p from the CC list, since I don't think this makes
sense for non-JIT targets... and since p5 doesn't JIT...)
-=- James Mastros
slides on this at
http://perl.plover.com/yak/memoize-quant/ -- Quantitative Analysis of
Memoization.
-=- James Mastros
PS -- This is getting offtopic, even for p6l.
in PBC -- to whit, a constant float in different
compilation units will get different slots in the constant table, but
are really identical. The same is true of constant strings. (Constant
integers are inlined, and thus this doesn't apply to them -- they really
are identical.)
-=- James
(This is a reply to a mail accidently sent to me personaly instead of
the list. Buddha, care to resend your other mail? I havn't quoted it
in total.)
On 12/12/2002 9:43 AM, Buddha Buck wrote:
James Mastros wrote:
Here's my basic defintion of ID: Two things should have the same ID
for it to mean.
It would, logicaly, mean that the class Module has a method foo if
true -- applying can on an object tells you if the class of that object
can do somthing, and Main is an object of class Module... right?
(%Main:: is a hash, but Main (bareword) is an object, no?)
-=- James Mastros
block would like to be when
it grows up...
Or hypothetical variables in a non-regex context...
-=- James Mastros
all time.) If that'd require that an
object's ID be a combination of the header address and a generation
counter, that's OK. It means a serilization point in the allocator, but
I think we'd need one no matter what (Dan?).
-=- James Mastros
-bye universe! if ($_=42);
}
Will never compute anything after the first 41 element in @foo occours.
(I'm assuming map, grep, and any other list-oriented function that can
get away with it will act lazily when given a lazy-list argument.)
-=- James Mastros
On 12/05/2002 12:18 PM, Michael Lazzaro wrote:
On Thursday, December 5, 2002, at 02:11 AM, James Mastros wrote:
On 12/04/2002 3:21 PM, Larry Wall wrote:
\x and \o are then just shortcuts.
Can we please also have \0 as a shortcut for \0x0?
\0 in addition to \x, meaning the same thing? I
hex numbers,
but ugly decimal ones), but useful anyway).
-=- James Mastros
control-char
0c101 unsupported Consistentoctal string chars
unsupported
0t101 \t101 Consistentwhat's tab?
Or somthing else?
All choices are bad, which one is best?
-=- James Mastros
brackets
\Q{}Escape all characters that need escaping
within brackets (except })
Rigor: escape all non-alphanumerics.
Do we still have the other modifiers that p5 supports, \l and \u? Do we
want a new titlecase modifier, \T{james mastros} eq James Mastros,
doing the Right
anydelimiter.pl and quoted.pl.
-=- James Mastros
**1+11.)
Another possiblity is to simply consider base36 numbers with no colons
to be in error, which might be best.
-=- James Mastros
them as a string literals:
I think Larry has mandated the oppisite -- that we Do The Right Thing
with bigints automaticly -- IE that BigInt is a subclass of Int, with
full automatic promotion. (I think this isn't going to be true of
little-i int, though.)
-=- James Mastros
and occasionaly kabitzing.)
-=- James Mastros
On 11/27/2002 3:09 AM, Dan Sugalski wrote:
At 1:02 AM -0500 11/27/02, James Mastros wrote:
On 11/25/2002 9:02 PM, Dan Sugalski wrote:
Pretty straightforward. Edit call_types.txt. First parameter's the
return type, the rest are the parameter types. Use p for any
generic i've stuffed
far, it looks like a
very nice list -- high signal, low noize, and it's possible to keep it
all straight in your head.
-=- James Mastros
it simply ain't so, and
causes confusion. (I'd write an RFC suggesting that the scalar comma op
dies, but it's too late, and I'm sure somebody already did. Anyway,
that's a p6l thing too.)
-=- James Mastros
be pushed
off to the discussion of Num in Bool context later.)
-=- James Mastros
On 11/26/2002 8:02 AM, James Mastros wrote:
Guys, can we please not argue over just how arithmetic and such works
for NaN and Inf, and defer to IEEE specs (IEEE-754, AKA IEEE floating
point)? It'll save much argument, and that's how it'll almost
certianly be implemented anyway. Give
;
within a commandline. On win9x, IIRC, it has very strange quoting
conventions.
If we can do without make without making things more complicated, I'm all
for it.
(OTOH, I'm not all for remaking anything when any file changes, which
would be the easiest way of doing it.)
-=- James
On Tue, 4 Dec 2001, Dan Sugalski wrote:
Q: What about endianness?
A: Native endianness. Byteswapping's easy enough.
Where in the packfile does it define the native endinaness of floats?
(Note native endianess has to include wheather the sign is the MSB or
the LSB, and the endianness of the
, of course, but that makes the output be of not much use.
(Of course, I notice you didn't ask that question.)
-=- James Mastros
--
In the case of alchemy v chemistry the chemists know whether it will
probably go bang before they try it (and the chemical engineers still duck
anyway
.
-=- James Mastros
--
In the case of alchemy v chemistry the chemists know whether it will
probably go bang before they try it (and the chemical engineers still duck
anyway). -=- Alan Cox
.) I just don't like implying a semantic where their
isn't one.
(BTW, this doesn't acatualy have much to do with parrot; I didn't like
implying the semantic in perl5 either, it's just that there's a good way
to deal with it in p6, because we have our choice of semantic.)
-=- James Mastros
poor excuse for a hash that was useful for taking persistant parameters
from the shell.
I didn't think that it was an advanced IPC mechinisim. I didn't think
anything that even resembled IPC was any of core.ops pals domain.
Peace, Love, and Turnpike,
-=- James Mastros
, it means
that we have silly things like sleep_sleep() and time_time().
I shall now stop worring, as I only acatualy ever run two platforms (winxp
linux) and only compile for one of them.
However, I can now work with dynamic loading without having to worry too
much about platdeps.
-=- James
.))
(Damm... when did I become such a Unicode fanatic. The only language I
acatualy know doesn't even use most of Latin-1.)
-=- James Mastros
--
In the case of alchemy v chemistry the chemists know whether it will
probably go bang before they try it (and the chemical engineers still duck
anyway
On Thu, 29 Nov 2001, Simon Cozens wrote:
On Thu, Nov 29, 2001 at 06:41:36PM +, Alex Gough wrote:
I'd prefer you did it the way Perl does it - if (foo 0) foo = -foo;
Why? For at least x86, your way will be a lot slower.
-=- James Mastros
--
Put bin Laden out like a bad cigar
On Wed, 28 Nov 2001, Andy Dougherty wrote:
Longer term, James Mastros was working on splitting out the larger
platform-specific chunks (e.g. dynaloading, async I/O, time functions,
etc.). See the earlier thread Platform splitting, mark 2 for details.
Im not sure of the current status
of both worlds. We, I think, should be able
to get the bytecode format such that it is mmapable on platforms with the
same endiannes and sizeof(INTVAL), and nonmmapable otherwise.
-=- James Mastros
--
Put bin Laden out like a bad cigar: http://www.fieler.com/terror
You know what happens
.
Note that some (many) possible methods havn't been written. (Esp. for
dynloading.) This is still proof-of-concept stage, largly.
-=- James Mastros
--
God has both Tea and No Tea -=- SLM
platforms.tar.gz
Description: Binary data
) want to return a void* (the file
handle). (This is a pointer to a kernel-allocated structure that will
cause a segfault to directly access, BTW, so no GC problems here.)
I propose that we make INTVAL and opcode_t the same size, and gaurrenteed
to be able to hold a void*.
-=-- James
of a problem.
This is completly untested on anything but my the linux and winME sides of
my computer. (The windows side gets errors in core_ops.c that I can't seem
to track down.)
-=- James Mastros
Index: Configure.pl
===
RCS
!
}
and trust XS writers not to touch.
-=- James Mastros
- giving up
Sombody want to fix that? Presumably, it's a dead lockfile that needs to be
deleted.
-=- James Mastros
?
-=- James Mastros
.
Dan'll complain. Or should, anyway.)
-=- James Mastros
--
Put bin Laden out like a bad cigar: http://www.fieler.com/terror
You know what happens when you bomb Afghanastan? Thats right, you knock
over the rubble. -=- SLM
) on being compilable to Parrot, and
possibly XSLT as well. (I have no idea how much sense considering XSLT
being compiled to a VM makes.)
Mozilla, .NET Framework, Web Services, and XML I see as N/A on a Parrot
level.
-=-James Mastros
--
Put bin Laden out like a bad cigar: http://www.fieler.com
relitave or absolute jumps in parrot code, the destination is an INTVAL.
Also, there's a good chance that PMC constants or non-constants may be at
some points native pointers, and it would probably help effinceny for
sizeof(INTVAL)==sizeof(PMC), no?
-=- James Mastros
On Wed, Nov 07, 2001 at 10:15:07AM -0500, Ken Fox wrote:
I've been thinking of ways to speed up stuff like:
foreach my $x (@vector) {
$x *= $scale
}
If Perl can keep the loop index in an integer register, then Parrot
could use fast loop ops. IMHO there's no point in using fast
descriptor
parameter can be NULL, and it will work fine on both.)
I should note, BTW, that I don't write windows programs when I can manage
not to, and I don't run NT.
-=- James Mastros
core_ops.c. (Note that in the current Makefile, we
special-case it.)
-=- James Mastros
not
nearly good enough to be writing code that I can't test.
Sombody care to clue me in?
-=- James Mastros
project now instead of later.
-=- James Mastros
. Surprisingly (to me, anyway), using a
constant integer instead of a label works.)
Hope that this is useful.
-=- James Mastros
pdump.pl
Description: Perl program
On Sat, Nov 03, 2001 at 03:53:10PM -0500, James Mastros wrote:
Here's what I'm thinking: The high 16 bits (or so) of the opcode can identify
the oplib (as an index to the table of oplibs, see the next para), the rest
can identify the opcode. This shouldn't be too bad a limit: 64k opcodes
.
This sounds much better then either of my plans. (OTOH, I'd like to see the
overhead from the larger number of opcode adds.) I'm going to keep working,
and see how our implementations differ.
-=- James Mastros
).
2) Define the notation for setting the opcode number in the .ops file.
3) Define what the correct behavor is for when you have holes in the opcode
numbering.
-=- James Mastros
1 - 100 of 165 matches
Mail list logo