For Smart Programmers

Category Archives: Parsing

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 Construction Text – [...]


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 Victor Volkman. [...]


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 that would [...]