Making a custom PageParser

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




I want to make my own PageParser, to implement some functionality
currently missing from standard one, i.e.:

* Code blocks which are marked with % in first line

% foreach( int c in ... )
% {

% }

* ability to define page methods with code blocks

% void display_s()
% {
<table>
....
</table>
% }

Does anybody know about any sample implementation or anything that
could help me?


Thanks in advance.

--
Misha Bergal
MetaCommunications Engineering
.



Relevant Pages

  • Re: VBA Textrange Processing: Need help in processing multiple ranges
    ... you'll begin missing that functionality in ... I've aded a regex search macro button to my standard ...
    (microsoft.public.powerpoint)
  • Re: map/filter/reduce/lambda opinions and background unscientific mini-survey
    ... One thing he kept pushing was to be able to specify select querys using Ruby's "deferred expression" mechanism, code blocks (before anyone starts yelling, I know that Ruby code blocks are *much* more than just "deferred expressions"; I'm just using that descriptor here for the sake of this discussion). ... It is more powerful than lambda, because you can have multiple statements in the code block and you can do assignment within the code block. ... Now, I think I can duplicate the same functionality of Ruby code blocks by using Python functions, but it is not going to be as pretty. ...
    (comp.lang.python)
  • Simple doubt about blocks
    ... I have been reading the standard but I didn't find anything about this, ... I am thinking about the use of code blocks in order to help readability of code that make use of "modal" function calls. ... I know opengl is OT, but functions like glBeginand glEndcan be used in many codes. ...
    (comp.lang.c)
  • Re: Two styles of condition checking
    ... Am I missing something? ... Also rearranging the code blocks can make a difference in execution time ... - unless compiler rearranges ...
    (comp.lang.c)
  • Re: Simple doubt about blocks
    ... standard but I didn't find anything about this, ... What does the standard say about inserting code blocks? ... I am thinking about the use of code blocks in order to help readability ... As noted elsewhere this can be mistaken for a function definition ...
    (comp.lang.c)