On Mon, Nov 27, 2000 at 05:29:36PM -0500, Dan Sugalski wrote:
int perl6_parse(PerlInterp *interp,
void *source,
int flags,
void *extra_pointer);
Count me in with the people who prefer:
int perl6_parse(PerlInterp *interp, PerlIO
On Wed, Nov 29, 2000 at 02:57:23PM -0500, Dan Sugalski wrote:
My only worry is, how do we reconcile this with the idea of
Perl having an easily modifiable grammar and being a good environment for
little-language stuff?
That's a good question, and it depends on what Larry's thinking of for
On Thu, Nov 30, 2000 at 11:54:31AM +, Simon Cozens wrote:
I categorically do *NOT* want perl6-internals to turn into a basic course in
compiler design, purely for the benefit of those who know nothing at all about
what they're trying to achieve. I'd like Perl 6 to be a masterwork, and
On Thu, 30 Nov 2000, Simon Cozens wrote:
On Thu, Nov 30, 2000 at 11:54:31AM +, Simon Cozens wrote:
I categorically do *NOT* want perl6-internals to turn into a basic course in
compiler design, purely for the benefit of those who know nothing at all about
what they're trying to achieve.
Nicholas Clark [EMAIL PROTECTED] writes:
We're trying to make this an easy embedding API.
Yes, and we are in danger of "premature optimization" of the _interface_.
What we need to start with is a list of "what we need to know" - they may
as well be separate parameters at this point - then
At 05:59 PM 11-30-2000 +, Nicholas Clark wrote:
On Thu, Nov 30, 2000 at 12:46:26PM -0500, Dan Sugalski wrote:
(Note, Dan was writing about "$a=1.2; $b=3; $c = $a + $b")
$a=1; $b =3; $c = $a + $b
If they don't exist already, then something like:
newscalar a, num, 1.2
At 05:59 PM 11/30/00 +, Nicholas Clark wrote:
On Thu, Nov 30, 2000 at 12:46:26PM -0500, Dan Sugalski wrote:
(Moved over to -internals, since it's not really a parser API thing)
At 11:06 AM 11/30/00 -0600, Jarkko Hietaniemi wrote:
Presumably. But why are you then still talking about
"DS" == Dan Sugalski [EMAIL PROTECTED] writes:
The "add" op would, in C code, do something like:
void add() {
P6Scaler *addend;
P6Scaler *adder;
addend = pop(); adder = pop();
push addend-vtable-add(addend, adder);
}
it would be up to the addend-vtable-add() to figure out how to