in reply to •Re: Parse::RecDescent and perlcc ?
in thread Parse::RecDescent and perlcc ?

it's not a classic assembler syntax and my language is not line based: the machine i am programming has several compute units and multiple address units going simultaneously, so i adopted a c-like syntax where whitespace doesn't count. (5-8 lines of source code per instruction are not uncommon.) hopefully, the pre-compile approach will buy me decent speed up. many thanks to all!
  • Comment on Re: •Re: Parse::RecDescent and perlcc ?

Replies are listed 'Best First'.
Re: •Re: Parse::RecDescent and perlcc ?
by bear_hwn (Acolyte) on May 30, 2003 at 22:07 UTC
    the pre-compilation of the grammar helps quite a bit: the startup time is much shorter, though still long, and i can now see the processing time per instruction. with my grammar separated for precompilation, i decided to try perlcc again on my little bit of user interface and the inclusion of the precompiled grammar module - the result was the same sort of "it failed to compile, but that is not possible!" error message. does anybody know of a documented case where Parse::RecDescent has actually been compiled with perlcc, or am i chasing a willo' the wisp? thanks in advance.