Ticket #14 (new todo) — at Version 8

Opened 13 years ago

Last modified 11 years ago

fix braced arguments + nested macro expansion

Reported by: kjs Owned by: kjs
Priority: normal Milestone:
Component: pirc Version:
Severity: none Keywords: pirc
Cc: Language:
Patch status: Platform:

Description (last modified by plobsing) (diff)

PIRC's macro handler does not properly handle braced arguments. Macros can be expanded in a nested manner, only in braced arguments. This needs to be fixed.

Change History

Changed 13 years ago by coke

  • keywords pirc added
  • summary changed from [pirc] fix braced arguments + nested macro expansion to fix braced arguments + nested macro expansion

Changed 13 years ago by kjs

  • owner set to kjs

Changed 13 years ago by kjs

  • component changed from none to pirc

Changed 12 years ago by kjs

I have been looking at the code for the Macro layer in PIRC. It's becoming a maintenance nightmare, even for the author. I would suggest to rip it out of PIRC's parser, and revive compilers/pirc/macro as a preprocessor, just like the heredoc preprocessor. It might be a slight performance hit, but it's worth it.

kjs

Changed 11 years ago by plobsing

  • description modified (diff)

Changed 11 years ago by plobsing

  • description modified (diff)

This issue is now being tracked at as issue #2 for  https://github.com/parrot/pirc. ( https://github.com/parrot/pirc/issues/#issue/2)

Changed 11 years ago by plobsing

  • description modified (diff)

Changed 11 years ago by plobsing

  • description modified (diff)
Note: See TracTickets for help on using tickets.