On Wed, Oct 11, 2006 at 04:34:17PM -0500, Patrick R. Michaud wrote:
> On Wed, Oct 11, 2006 at 10:56:39PM +0200, Mehmet Yavuz Selim Soyturk wrote:
> > I have rewritten the grammar. There are some problems though.
> >
> > - I don't know how to express thinks like: an identifier is
> > <[a..zA..Z_$]>
On Wed, Oct 11, 2006 at 10:56:39PM +0200, Mehmet Yavuz Selim Soyturk wrote:
> I have rewritten the grammar. There are some problems though.
>
> - I don't know how to express thinks like: an identifier is
> <[a..zA..Z_$]>*, but not a . Something like: rule identifier
> {<[a..zA..Z_$]>*} seems not t
I have rewritten the grammar. There are some problems though.
- I don't know how to express thinks like: an identifier is
<[a..zA..Z_$]>*, but not a . Something like: rule identifier
{<[a..zA..Z_$]>*} seems not to allow identifiers that have
keywords as prefix.
- I couldn't make comments work.
-
Hi Mehmet,
you might have run into a Garbage-Collector bug. Try
parrot --no-gc main.pir 'x' 'identifier'
I had similar problems using PGE::P6Regex. '--no-gc' helped.
Regards,
Kiwi
The same problem.
I think that I now know the problem: the grammar is not complete. I
was thinking that pgc
Hi Mehmet,
you might have run into a Garbage-Collector bug. Try
parrot --no-gc main.pir 'x' 'identifier'
I had similar problems using PGE::P6Regex. '--no-gc' helped.
Regards,
Kiwi
js.pg in languages/ecmascript/src compiles just fine with pgc. But it
gives a "Null PMC access" error while using the compiled pir file. Is
it a pge bug?
$ cd languages/ecmascript/src
$ cat main.pir
.include 'errors.pasm'
.sub _main :main
.param pmc args
.local string source_code, rule_t