Parsing



Regular Expressions (RE) aka ‘Pattern Matching’

Regular Expressions (RE) aka ‘Pattern Matching’

Note: Incomplete - Information might be wrong at some places. I did copy paste from some old file I wrote years back while learning regular expressions.

(C) Prashant N Mhatre

The discussion doesn’t come anywhere close to explain all of the flavors of regular expressions but we’ll hit on the high points. I feel it’s worth investing some time to practice REs. You’ll be amazed to see it’s use and results in different programs/tools.

(Search, Find and Replace, Delete, Extract Particular Fields, Parsing, String Comparisons etc)

Compiler language grammar

I haven’t concentrated on theoretical aspects like lazy qualifier…etc.

Just practical examples. No matter what’s your role is, I feel you MUST understand and use REs to reduce

Perl Code Examples Parsing Text

Perl Code Examples Parsing Text

Commonly used parsing techniques - Analysis and dissection on Commonly used parsing techniques
Manning: Data Munging with Perl - Whatever you’d like to do with Manning: Data Munging with Perl
Parsing text file line by line - LinuxQuestions.org - That does it for this special report. Parsing text file line by line - …

Javascript Parsing Xml

Javascript Parsing Xml

Read and Display Server-Side XML with JavaScript JavaScript & AJAX Tutorials - It was about this time that I re-discovered Read and Display Server-Side XML with JavaScript JavaScript & AJAX Tutorials
Problems parsing XML Feed in Javascript - WebDeveloper.com - Very good explanation about Problems parsing XML Feed in Javascript - WebDeveloper.com…

Compiler Design Construction and Building

Compiler Design Construction and Building

Let’s Build a Compiler - To help understand what we might be able to do in this world, this section provides a couple of stories of where we need to get to. Let’s Build a Compiler
Modern Compiler Implementation in Java - Must visit Modern Compiler Implementation in Java
Kenneth Louden’s Compiler …

Lex and Yacc Compiler Construction Tools

Lex and Yacc Compiler Construction Tools

Comp.compilers: lex and yacc tutorial - From comp.compilers newsgroup: lex and yacc tutorial Comp.compilers: lex and yacc tutorial
CodeGuru: Flex Your Lexical Analysis Muscles - The Flex lexical analyzer generator enables you to accurately act on and react to incoming character data streams in a way that is both predictable and debuggable. By …

Developing C++ Multithreading Applications

Developing C++ Multithreading Applications

volatile - Multithreaded Programmer’s Best Friend - The volatile keyword was devised to prevent compiler optimizations that might render code incorrect in the presence of certain asynchronous events. For example, if you declare a primitive variable as volatile, the compiler is not permitted to cache it in a register — a common optimization …