-
Notifications
You must be signed in to change notification settings - Fork 644
/
ParseKit.h
91 lines (83 loc) · 3.67 KB
/
ParseKit.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// Copyright 2010 Todd Ditchendorf
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/*!
@mainpage ParseKit
ParseKit is a Mac OS X Framework written by Todd Ditchendorf in Objective-C 2.0 and released under the MIT Open Source License.
The framework is an Objective-C implementation of the tools described in <a href="http://www.amazon.com/Building-Parsers-Java-Steven-Metsker/dp/0201719622" title="Amazon.com: Building Parsers With Java(TM): Steven John Metsker: Books">"Building Parsers with Java" by Steven John Metsker</a>.
ParseKit includes some significant additions beyond the designs from the book (many of them hinted at in the book itself) in order to enhance the framework's feature set, usefulness and ease-of-use. Other changes have been made to the designs in the book to match common Cocoa/Objective-C design patterns and conventions.
However, these changes are relatively superficial, and Metsker's book is the best documentation available for this framework.
Classes in the ParseKit Framework offer 2 basic services of general use to Cocoa developers:
@li Tokenization via a tokenizer class
@li Parsing via a high-level parser-building toolkit
Learn more on the <a target="_top" href="http://parsekit.com">project site</a>
*/
#import <Foundation/Foundation.h>
// io
#import <ParseKit/PKTypes.h>
#import <ParseKit/PKReader.h>
// parse
#import <ParseKit/PKParser.h>
#import <ParseKit/PKAssembly.h>
#import <ParseKit/PKSequence.h>
#import <ParseKit/PKDifference.h>
#import <ParseKit/PKNegation.h>
#import <ParseKit/PKIntersection.h>
#import <ParseKit/PKCollectionParser.h>
#import <ParseKit/PKAlternation.h>
#import <ParseKit/PKRepetition.h>
#import <ParseKit/PKEmpty.h>
#import <ParseKit/PKTerminal.h>
#import <ParseKit/PKTrack.h>
#import <ParseKit/PKTrackException.h>
//chars
#import <ParseKit/PKCharacterAssembly.h>
#import <ParseKit/PKChar.h>
#import <ParseKit/PKSpecificChar.h>
#import <ParseKit/PKLetter.h>
#import <ParseKit/PKDigit.h>
// tokens
#import <ParseKit/PKToken.h>
#import <ParseKit/PKTokenizer.h>
#import <ParseKit/PKTokenArraySource.h>
#import <ParseKit/PKTokenAssembly.h>
#import <ParseKit/PKTokenizerState.h>
#import <ParseKit/PKNumberState.h>
#import <ParseKit/PKQuoteState.h>
#import <ParseKit/PKDelimitState.h>
#import <ParseKit/PKURLState.h>
#import <ParseKit/PKEmailState.h>
#import <ParseKit/PKTwitterState.h>
#import <ParseKit/PKCommentState.h>
#import <ParseKit/PKSingleLineCommentState.h>
#import <ParseKit/PKMultiLineCommentState.h>
#import <ParseKit/PKSymbolNode.h>
#import <ParseKit/PKSymbolRootNode.h>
#import <ParseKit/PKSymbolState.h>
#import <ParseKit/PKWordState.h>
#import <ParseKit/PKWhitespaceState.h>
#import <ParseKit/PKWord.h>
#import <ParseKit/PKUppercaseWord.h>
#import <ParseKit/PKLowercaseWord.h>
#import <ParseKit/PKNumber.h>
#import <ParseKit/PKQuotedString.h>
#import <ParseKit/PKWhitespace.h>
#import <ParseKit/PKDelimitedString.h>
#import <ParseKit/PKSymbol.h>
#import <ParseKit/PKComment.h>
#import <ParseKit/PKLiteral.h>
#import <ParseKit/PKCaseInsensitiveLiteral.h>
#import <ParseKit/PKAny.h>
#import <ParseKit/PKPattern.h>
// grammar
#import <ParseKit/PKParserFactory.h>