i'm wondering if perl (easy use , learn) tool this:
i'd custom preprocessing on c/c++ source code. basically, this's allow me insert own custom annotations source code , generate new codes base on it. required processing line oriented search/replace , insertion of new source code lines.
i can think of 2 tools achieve this: (1) ultraedit's scripting feature (or other capable editors). (2) perl scripting.
ultraedit's scripting looks , i'm familiar it. best of all, natural line oriented processing abstraction processing source code lines.
i'm wondering if perl tool. i've 0 experience perl except i'm familiar perl style regexpr used in other contexts. perl tool line oriented text processing? i'll have search forward , backward , replace source code lines other texts.
yes, perl tool want. i'd go python, it's quick, easy, beautiful , has regex interface in stl; it's purely matter of taste.
Comments
Post a Comment