Noeud:Example Index, Noeud « Next »:Macro Index, Noeud « Previous »:GNU Free Documentation License, Noeud « Up »:Top
This is an alphabetical list of all of the code examples from this book.
A Condition Driven FSR Combination: Start Conditions
A Fast Deterministic GOTO and Identifier: Looking for Tokens
A Fast GOTO Recognizer: Looking for Tokens
A Fast Identifier Recognizer: Looking for Tokens
A Fast Keyword Tree-like Recognizer: Looking for Keywords
A Fast Nondeterministic GOTO and Identifier: Looking for Tokens
A Grammar for Arithmetics: Looking for Arithmetics
A Make rule for compiling main.c: Suffix Rules
A Makefile with a variable reference loop: Make Variables
A phony target: Phony Targets
A sample dependency rule: Make Rules
A Simple Balanced Expression Grammar: Looking for Balanced Expressions
A Simple package.m4: Checking dnl and define
A simplistic Makefile: The Makefile
A Stack Recognizer for Balanced Expressions: Looking for Balanced Expressions
A suffix rule for compiling C source files: Suffix Rules
A typical all target Makefile fragment: Make Rules
Address.cc: Preliminaries
Address.hh: Preliminaries
AddressRepository.hh: Preliminaries
Ambiguous comment endings are bad: Make Comments
An LR(1) Parsing of number - number: Looking for Arithmetics
An Unambiguous Grammar for - Arithmetics: Looking for Arithmetics
An Unambiguous Grammar for Arithmetics: Resolving Conflicts
arith-1.y -- A Shift/Reduce Conflict: Bison as a Grammar Checker
arith-3.y -- Using %left to Solve Shift/Reduce Conflicts: Resolving Conflicts
arith-4.y -- An Ambiguous Grammar for *: Resolving Conflicts
arith-5.y -- Using Precedence to Solve: Resolving Conflicts
arith-6.y -- Failing to Use Precedence: Resolving Conflicts
atoms.gperf -- Converting Numbers in American: Advanced Use of Gperf
Automatic file dependencies with Make: Make Include Directive
Automatic variable setting demonstration: Automatic Variables
Basic header installation Makefile excerpt: Shell Commands
Basic structure of GCC: The Broad Picture
brackens-1.y -- Nested Parentheses Checker: Simple Uses of Bison
brackens-2.y -- Nested Parentheses Checker: Simple Uses of Bison
calc.y -- A Simple Integer Calculator: Using Actions
Changing variable values in a Makefile: Make Variables
Checking whether a file exists -- alloca version: alloca
Checking whether a file exists -- malloc version: alloca
Compilation in phases with make: Make Rules
Compiling some files with different options: Suffix Rules
Demonstrating use of timezones and microsecond accuracy.: Time Formats
deque1.cc: Deque
dnl Run on an Installed m4: Checking dnl and define
dnl.at (i) -- A Broken Autotest Source Exercising dnl: Checking dnl and define
dnl.at (ii) -- An Autotest Source Exercising define: Checking dnl and define
Excerpt of autoheader Looking for autoconf: Checking Module Support
Extending a Make variable assignment over several lines: Make Variables
Extending a Satellite Antenna in Fortran: Fortran and Satellites
Format of a dependency rule: Make Rules
Format of a double suffix rule: Suffix Rules
Format of a Make conditional directive: Make Conditionals
Format of a Make include directive: Make Include Directive
Format of Make variable assignment: Make Variables
Format of Make variable expansion: Make Variables
Front and back ends of a compiler: Front and Back Ends
function1.cc: Function Objects - in a Nutshell
function2.cc: Function Objects - in a Nutshell
function3.cc: Function Adaptors
function4.cc: Function Adaptors
generic1.cc - printing out elements using for_each: for_each
generic2.cc: find
generic3.cc: find
generic4.cc: transform
generic5.cc: partition
generic6.cc: partition
generic7.cc: accumulate
GNU C library extensions to strftime format specifiers: Time Formats
GNU M4's configure.ac -- (i) License: Anatomy of GNU M4s configure.ac
GNU M4's configure.ac -- (ii) Requirements: Anatomy of GNU M4s configure.ac
GNU M4's configure.ac -- (iii) Initialization of the: Anatomy of GNU M4s configure.ac
GNU M4's configure.ac -- (iv) Fine version information: Anatomy of GNU M4s configure.ac
GNU M4's testsuite.at: The GNU M4 Test Suite
goid.l -- A GOTO and Identifier Flex Recognizer: Looking for Tokens
hello.c -- an old favourite: Targets and Dependencies
ifelse-1.y -- Ambiguous grammar for if/else in C: Resolving Conflicts
ifelse-2.y -- Unambiguous Grammar for if/else in C: Resolving Conflicts
Ignoring errors from shell commands in Make rules: Command Prefixes
list1.cc: List
list2.cc: List
m4.in -- A Profiling Wrapper: Checking Module Support
m4.in -- A Wrapper around a non installed m4: Checking Module Support
Make variables are not expanded until they are used: Make Variables
map1.cc: Map
modules.at -- An Autotest Source Checking M4: Checking Module Support
mpeval1.at -- Exercising an Optional Feature Using: Testing Optional Features
mpeval2.at -- Exercising an Optional Feature at: Testing Optional Features
multiset1.cc: Multiset
Non Equivalent Parse Trees for number + number * number: Looking for Arithmetics
Not Extending a Satellite Antenna in Fortran: Fortran and Satellites
numeral.c -- M4 Module Wrapping atoms.gperf: Advanced Use of Gperf
Part of a Makefile dependency tree: Make Rules
Precedence of Make variable declarations: Environment Variables
Production build values for compilation flags: Invoking Make
Reading a string into memory -- malloc version: obstack
Reading a string into memory -- obstack version: obstack
rude-1.gperf -- Recognizing Rude Words With Gperf: Simple Uses of Gperf
rude-3.l -- Recognizing Rude Words With Flex: Simple Uses of Flex
set1.cc: Set
set2.cc: Set
Setting a simple signal handler.: Signals
Simple use of the strftime call.: Time Formats
Simple use of the time call.: Time Formats
Simplified component relationships with glibc: Glibc Architecture Overview
Simplified system architecture component relationships: Glibc Architecture Overview
State 4 contains 1 shift/reduce conflict: Bison as a Grammar Checker
std-opt1 Run: Simple Uses of Autotest
std-opt1.at -- An Autotest Source: Simple Uses of Autotest
std-opt2 Run: Writing Autotest Macros
std-opt2.at -- An Autotest Source: Writing Autotest Macros
std-opt3 Run: Writing Autotest Macros
std-opt3.at -- An Autotest Source: Writing Autotest Macros
Step by Step Analysis of ( ( number ) ): Looking for Balanced Expressions
strftime format specifiers: Time Formats
string1.cc: examples of creating strings: Basic String Usage
string2.cc: finding things within a string: Basic String Usage
Structure of a Bison Input File: Simple Uses of Bison
Structure of a Flex Input File: Simple Uses of Flex
Structure of a Gperf Input File: Simple Uses of Gperf
Suffix rule to compile C source files: Automatic Variables
Suppressing echoing of shell commands in Make rules: Command Prefixes
Testing Interactive Programs: The GNU M4 Test Suite
tests/atlocal.in -- User Test Variables: Testing Optional Features
The complete Makefile with suffix rule: Suffix Rules
Top level Makefile fragment for recursing subdirectories: Multiple Directories
Use of errno: Error Handling
Use of variables in a Makefile: Make Variables
Using fnmatch: Wildcard Matching
Using the kill system call.: Signals
Using the raise library call.: Signals
vector1.cc: Vector
vector2.cc: Vector
vector3.cc: Vector
vector4.cc: Vector
yleval.h (i) -- Handling Locations: Advanced Use of Flex
yleval.y -- Builtin yleval (continued): The yleval Module
ylscan.l -- Scanning Arithmetics: Advanced Use of Flex