PADS Manual
(Version 2.01)
The PADS Project
www.padsproj.org
Last revised: May 10, 2009
Copyright © 2007 AT&T Corp.
Preface
Acknowledgments
Chapter 1 Introduction
1.1
Pads
language
1.2 Generated library
1.3 Related work
1.4 Terminology
1.5 Notation
1.6 How do I read this manual?
1.7 Getting the
Pads
system
1.8 Using the
Pads
compiler
1.9 Practical notes
Chapter 2 Tutorial
2.1 Example data formats
2.2
Pads
descriptions
2.3 Generated library
Chapter 3 Common features
3.1
Pads
types
3.2 Comments
3.3 Predicates
3.4 Literals
3.5 Character Sets
3.6 Parameterization
3.7
Precord
modifier
3.8
Psource
modifier
3.9
Pinclude
3.10 Error model
3.11 In-memory representations
3.12 Masks
3.13 Parse descriptors
3.14 Regular Expressions
3.15 Expressions
3.16 Operations
Chapter 4 Base Types Overview
4.1 In-Memory Representation
4.2 Base Type Mask
4.3 Base Type Parse Descriptor
4.4 Character Sets
4.5 Character Base Types
4.6 String Base Types (including dates and times)
4.7 Integer Base Types
4.8 Floating Point Base Types
4.9 Fixed Point Base Types
Chapter 5 Pstructs
5.1 Syntax
5.2 Generated library
Chapter 6 Punions
6.1 Syntax
6.2 Generated library
Chapter 7 Parrays
7.1 Syntax
7.2 Termination conditions
7.3 Generated library
Chapter 8 Penums
8.1 Syntax
8.2 Generated library
Chapter 9 Popts
9.1 Syntax
9.2 Generated library
Chapter 10 Ptypedefs
10.1 Syntax
10.2 Generated library
Chapter 11 Ptrans
11.1 Syntax
11.2 Generated library
Chapter 12 Ptry
12.1 Syntax
12.2 Generated library
Chapter 13 Precurs
13.1 Syntax
13.2 Generated library
Chapter 14 Using the generated library
14.1 Compiled regular expressions
Chapter 15 Library customization
15.1 The
Pads
discipline
15.2 The IO Discpline
15.3 Adding new base types
Chapter 16 Accumulators
16.1 Operations
16.2 Customization
16.3 Template Program
Chapter 17 Histogram
17.1 Operations
17.2 Customization
17.3 Template Program
Chapter 18 Cluster
18.1 Operations
18.2 Customization
18.3 Template Program
Chapter 19 Formatting
19.1 Operations
Chapter 20
Xml
Chapter 21 Filters
21.1 Template Program
References
Appendix A Error codes
Appendix B All
Pads
Base Types
B.1 Counting: Character encodings
B.2 Chars: Character encodings
B.3 Strings: Character encodings
B.4 IP addresses: Character encodings
B.5 Timestamp, date, and time types: Character encodings
B.6 Integers: Character encodings
B.7 Integers: Raw binary encoding
B.8 Integers: Serialized binary encoding
B.9 Integers: EBCDIC numeric encoding
B.10 Integers: BCD numeric encoding
B.11 Fixed Point: EBCDIC numeric encoding
B.12 Fixed Point: BCD numeric encoding
B.13 Fixed Point: Serialized binary numeric encoding
B.14 Floats: Character encodings
This document was translated from L
A
T
E
X by
H
E
V
E
A
.