Ticket #14 (closed todo: wontfix)

Opened 6 years ago

Last modified 4 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 6 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 6 years ago by kjs

  • owner set to kjs

Changed 6 years ago by kjs

  • component changed from none to pirc

Changed 5 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 4 years ago by plobsing

  • description modified (diff)

Changed 4 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 4 years ago by plobsing

  • description modified (diff)

Changed 4 years ago by plobsing

  • description modified (diff)

Changed 4 years ago by plobsing

  • status changed from new to closed
  • resolution set to wontfix
  • description modified (diff)
Note: See TracTickets for help on using tickets.