Operator-precedence parser: Difference between revisions

Content deleted Content added
Pseudo-code: Rename header
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags
Line 109:
 
Example code of a simple C application that handles parenthesisation of basic math operators (<code>+</code>, <code>-</code>, <code>*</code>, <code>/</code>, <code>^</code>, <code>(</code> and <code>)</code><!-- parentheses -->):
<sourcesyntaxhighlight lang="c">
#include <stdio.h>
#include <string.h>
Line 143:
return 0;
}
</syntaxhighlight>
</source>
 
For example, when compiled and invoked from the command line with parameters