• R/O
  • SSH
  • HTTPS

jobjectpascal: Commit


Commit MetaInfo

Revision83 (tree)
Time2014-09-07 23:28:22
Authoriga

Log Message

first tag.

Change Summary

Incremental Difference

--- tags/I201409072328/src/jp/igapyon/jobjectpascal/parser/PascalSyntaxTokenUtil.java (nonexistent)
+++ tags/I201409072328/src/jp/igapyon/jobjectpascal/parser/PascalSyntaxTokenUtil.java (revision 83)
@@ -0,0 +1,36 @@
1+/**************************************************************************
2+ * Copyright 2014 Toshiki Iga
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ * http://www.apache.org/licenses/LICENSE-2.0
8+ *
9+ * Unless required by applicable law or agreed to in writing, software
10+ * distributed under the License is distributed on an "AS IS" BASIS,
11+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ * See the License for the specific language governing permissions and
13+ * limitations under the License.
14+ *********************************************************************** */
15+/**************************************************************************
16+ * Copyright (c) 2014, Toshiki Iga, All rights reserved.
17+ *
18+ * This library is free software; you can redistribute it and/or
19+ * modify it under the terms of the GNU Lesser General Public
20+ * License as published by the Free Software Foundation; either
21+ * version 3.0 of the License, or (at your option) any later version.
22+ *
23+ * This library is distributed in the hope that it will be useful,
24+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
25+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26+ * Lesser General Public License for more details.
27+ *
28+ * You should have received a copy of the GNU Lesser General Public
29+ * License along with this library.
30+ * If not, see <http://www.gnu.org/licenses/>.
31+ *********************************************************************** */
32+package jp.igapyon.jobjectpascal.parser;
33+
34+public class PascalSyntaxTokenUtil {
35+
36+}
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- tags/I201409072328/src/jp/igapyon/jobjectpascal/parser/PascalLexicalTokenUtil.java (nonexistent)
+++ tags/I201409072328/src/jp/igapyon/jobjectpascal/parser/PascalLexicalTokenUtil.java (revision 83)
@@ -0,0 +1,175 @@
1+/**************************************************************************
2+ * Copyright 2014 Toshiki Iga
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ * http://www.apache.org/licenses/LICENSE-2.0
8+ *
9+ * Unless required by applicable law or agreed to in writing, software
10+ * distributed under the License is distributed on an "AS IS" BASIS,
11+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ * See the License for the specific language governing permissions and
13+ * limitations under the License.
14+ *********************************************************************** */
15+/**************************************************************************
16+ * Copyright (c) 2014, Toshiki Iga, All rights reserved.
17+ *
18+ * This library is free software; you can redistribute it and/or
19+ * modify it under the terms of the GNU Lesser General Public
20+ * License as published by the Free Software Foundation; either
21+ * version 3.0 of the License, or (at your option) any later version.
22+ *
23+ * This library is distributed in the hope that it will be useful,
24+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
25+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26+ * Lesser General Public License for more details.
27+ *
28+ * You should have received a copy of the GNU Lesser General Public
29+ * License along with this library.
30+ * If not, see <http://www.gnu.org/licenses/>.
31+ *********************************************************************** */
32+package jp.igapyon.jobjectpascal.parser;
33+
34+import java.io.IOException;
35+import java.util.List;
36+
37+import jp.igapyon.jobjectpascal.PascalConstants;
38+
39+public class PascalLexicalTokenUtil {
40+ /**
41+ * Normalize given lexical tokens.
42+ *
43+ * @param result
44+ * Lexical tokens. Input and Output.
45+ * @throws IOException
46+ */
47+ public static void normalize(final List<PascalLexicalToken> result)
48+ throws IOException {
49+ for (int index = 0; index < result.size() - 1; index++) {
50+ final PascalLexicalToken lookup = result.get(index);
51+ if (lookup.getType() == PascalConstants.TokenType.SPECIAL_SYMBOL_WITHOUT_WORD) {
52+ // kigou
53+
54+ if (lookup.getWord().equals("<")) {
55+ final PascalLexicalToken lookup2 = result.get(index + 1);
56+ if (lookup2.getWord().equals(">")) {
57+ lookup.setWord("<>");
58+ result.remove(index + 1);
59+ index--;
60+ continue;
61+ }
62+ if (lookup2.getWord().equals("=")) {
63+ lookup.setWord("<=");
64+ result.remove(index + 1);
65+ index--;
66+ continue;
67+ }
68+ }
69+
70+ if (lookup.getWord().equals(">")) {
71+ final PascalLexicalToken lookup2 = result.get(index + 1);
72+ if (lookup2.getWord().equals("=")) {
73+ lookup.setWord(">=");
74+ result.remove(index + 1);
75+ index--;
76+ continue;
77+ }
78+ }
79+
80+ if (lookup.getWord().equals(":")) {
81+ final PascalLexicalToken lookup2 = result.get(index + 1);
82+ if (lookup2.getWord().equals("=")) {
83+ lookup.setWord(":=");
84+ result.remove(index + 1);
85+ index--;
86+ continue;
87+ }
88+ }
89+
90+ if (lookup.getWord().equals(".")) {
91+ final PascalLexicalToken lookup2 = result.get(index + 1);
92+ if (lookup2.getWord().equals(".")) {
93+ lookup.setWord("..");
94+ result.remove(index + 1);
95+ index--;
96+ continue;
97+ }
98+ }
99+
100+ // alt
101+ if (lookup.getWord().equals("(")) {
102+ final PascalLexicalToken lookup2 = result.get(index + 1);
103+ if (lookup2.getWord().equals(".")) {
104+ lookup.setWord("[");
105+ result.remove(index + 1);
106+ index--;
107+ continue;
108+ }
109+ }
110+ if (lookup.getWord().equals(".")) {
111+ final PascalLexicalToken lookup2 = result.get(index + 1);
112+ if (lookup2.getWord().equals(")")) {
113+ lookup.setWord("]");
114+ result.remove(index + 1);
115+ index--;
116+ continue;
117+ }
118+ }
119+ }
120+ }
121+
122+ // number
123+ for (int index = 0; index < result.size() - 1; index++) {
124+ final PascalLexicalToken lookup = result.get(index);
125+ if (false)/*
126+ * FIXME currentry ignore sign. sign is implement in Parser.
127+ * not in Lexical parser.
128+ */
129+ if (lookup.getType() == PascalConstants.TokenType.SPECIAL_SYMBOL_WITHOUT_WORD) {
130+ if (lookup.getWord().equals("+")
131+ || lookup.getWord().equals("-")) {
132+ final PascalLexicalToken lookup2 = result
133+ .get(index + 1);
134+ if (lookup2.getType() == PascalConstants.TokenType.NUMBER_OR_LABEL) {
135+ // SYMBOL to NUMBER
136+ lookup.setWord(lookup.getWord() + lookup2.getWord());
137+ lookup.setType(PascalConstants.TokenType.NUMBER_OR_LABEL);
138+ result.remove(index + 1);
139+ index--;
140+ continue;
141+ }
142+ }
143+ }
144+ if (lookup.getType() == PascalConstants.TokenType.NUMBER_OR_LABEL) {
145+ final PascalLexicalToken lookup2 = result.get(index + 1);
146+ if (lookup2.getType() == PascalConstants.TokenType.SPECIAL_SYMBOL_WITHOUT_WORD) {
147+ if (lookup2.getWord().equals(".")) {
148+ // dot for number
149+ lookup.setWord(lookup.getWord() + lookup2.getWord());
150+ result.remove(index + 1);
151+ index--;
152+ continue;
153+ }
154+ }
155+ if (lookup2.getType() == PascalConstants.TokenType.NUMBER_OR_LABEL) {
156+ lookup.setWord(lookup.getWord() + lookup2.getWord());
157+ result.remove(index + 1);
158+ index--;
159+ continue;
160+ }
161+ }
162+ }
163+
164+ // single alt
165+ for (int index = 0; index < result.size(); index++) {
166+ final PascalLexicalToken lookup = result.get(index);
167+ if (lookup.getType() == PascalConstants.TokenType.SPECIAL_SYMBOL_WITHOUT_WORD) {
168+ if (lookup.getWord().equals("@")) {
169+ lookup.setWord("^");
170+ continue;
171+ }
172+ }
173+ }
174+ }
175+}
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- tags/I201409072328/src/jp/igapyon/jobjectpascal/parser/PascalLexicalTokenParser.java (nonexistent)
+++ tags/I201409072328/src/jp/igapyon/jobjectpascal/parser/PascalLexicalTokenParser.java (revision 83)
@@ -0,0 +1,365 @@
1+/**************************************************************************
2+ * Copyright 2014 Toshiki Iga
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ * http://www.apache.org/licenses/LICENSE-2.0
8+ *
9+ * Unless required by applicable law or agreed to in writing, software
10+ * distributed under the License is distributed on an "AS IS" BASIS,
11+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ * See the License for the specific language governing permissions and
13+ * limitations under the License.
14+ *********************************************************************** */
15+/**************************************************************************
16+ * Copyright (c) 2014, Toshiki Iga, All rights reserved.
17+ *
18+ * This library is free software; you can redistribute it and/or
19+ * modify it under the terms of the GNU Lesser General Public
20+ * License as published by the Free Software Foundation; either
21+ * version 3.0 of the License, or (at your option) any later version.
22+ *
23+ * This library is distributed in the hope that it will be useful,
24+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
25+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26+ * Lesser General Public License for more details.
27+ *
28+ * You should have received a copy of the GNU Lesser General Public
29+ * License along with this library.
30+ * If not, see <http://www.gnu.org/licenses/>.
31+ *********************************************************************** */
32+package jp.igapyon.jobjectpascal.parser;
33+
34+import java.io.BufferedReader;
35+import java.io.IOException;
36+import java.util.ArrayList;
37+import java.util.List;
38+
39+import jp.igapyon.jobjectpascal.PascalConstants;
40+
41+public class PascalLexicalTokenParser {
42+
43+ private StringBuilder identifiresOrDirectives = new StringBuilder();
44+ private StringBuilder numbers = new StringBuilder();
45+
46+ private final List<PascalLexicalToken> result = new ArrayList<PascalLexicalToken>();
47+
48+ public List<PascalLexicalToken> parse(final BufferedReader reader)
49+ throws IOException {
50+ result.clear();
51+ for (;;) {
52+ reader.mark(2);
53+ final int iRead = reader.read();
54+ if (iRead < 0) {
55+ if (identifiresOrDirectives.length() > 0) {
56+ fireIdentifiresOrDirectives();
57+ }
58+ if (numbers.length() > 0) {
59+ fireNumbers();
60+ }
61+ break;
62+ }
63+ final char cRead = (char) iRead;
64+ switch (cRead) {
65+ case 'a':
66+ case 'b':
67+ case 'c':
68+ case 'd':
69+ case 'e':
70+ case 'f':
71+ case 'g':
72+ case 'h':
73+ case 'i':
74+ case 'j':
75+ case 'k':
76+ case 'l':
77+ case 'm':
78+ case 'n':
79+ case 'o':
80+ case 'p':
81+ case 'q':
82+ case 'r':
83+ case 's':
84+ case 't':
85+ case 'u':
86+ case 'v':
87+ case 'w':
88+ case 'x':
89+ case 'y':
90+ case 'z':
91+ case 'A':
92+ case 'B':
93+ case 'C':
94+ case 'D':
95+ case 'E':
96+ case 'F':
97+ case 'G':
98+ case 'H':
99+ case 'I':
100+ case 'J':
101+ case 'K':
102+ case 'L':
103+ case 'M':
104+ case 'N':
105+ case 'O':
106+ case 'P':
107+ case 'Q':
108+ case 'R':
109+ case 'S':
110+ case 'T':
111+ case 'U':
112+ case 'V':
113+ case 'W':
114+ case 'X':
115+ case 'Y':
116+ case 'Z':
117+ // letter
118+ if (numbers.length() > 0) {
119+ numbers.append(cRead);
120+ } else {
121+ identifiresOrDirectives.append(cRead);
122+ }
123+ break;
124+ case '0':
125+ case '1':
126+ case '2':
127+ case '3':
128+ case '4':
129+ case '5':
130+ case '6':
131+ case '7':
132+ case '8':
133+ case '9':
134+ // digit
135+ if (identifiresOrDirectives.length() > 0) {
136+ identifiresOrDirectives.append(cRead);
137+ } else {
138+ numbers.append(cRead);
139+ }
140+ break;
141+ case '+':
142+ case '-':
143+ case '*':
144+ case '/':
145+ case '=':
146+ case '<':
147+ case '>':
148+ case '[':
149+ case ']':
150+ case '.':
151+ case ',':
152+ case ':':
153+ case ';':
154+ case '^':// upper arrow
155+ case '@':// alt of upper arrow
156+ case '(':
157+ case ')':
158+ // special characters
159+ if (numbers.length() > 0
160+ && numbers.toString()
161+ .substring(numbers.toString().length() - 1)
162+ .toUpperCase().equals("E")
163+ && (cRead == '+' || cRead == '-')) {
164+ // part of number.
165+ numbers.append(cRead);
166+ continue;
167+ }
168+
169+ if (identifiresOrDirectives.length() > 0) {
170+ fireIdentifiresOrDirectives();
171+ }
172+ if (numbers.length() > 0) {
173+ fireNumbers();
174+ }
175+
176+ if (cRead == '(') {
177+ reader.mark(3);
178+ final int iRead2 = reader.read();
179+ if (iRead2 < 0) {
180+ // end of reader.
181+ reader.reset();
182+ } else {
183+ final char cRead2 = (char) iRead2;
184+ if (cRead2 == '*') {
185+ // comment found.
186+ fireTokenSeparatos(reader, "(*");
187+ // break and go next.
188+ break;
189+ }
190+ }
191+ // reset comment check.
192+ reader.reset();
193+ }
194+
195+ {
196+ final PascalLexicalToken token = new PascalLexicalToken(
197+ PascalConstants.TokenType.SPECIAL_SYMBOL_WITHOUT_WORD,
198+ "" + cRead);
199+ result.add(token);
200+ }
201+ break;
202+ case '\'':
203+ fireCharacterStrings(reader);
204+ break;
205+ case '{':
206+ if (identifiresOrDirectives.length() > 0) {
207+ fireIdentifiresOrDirectives();
208+ }
209+ if (numbers.length() > 0) {
210+ fireNumbers();
211+ }
212+
213+ fireTokenSeparatos(reader, "{");
214+ break;
215+ case '\n':
216+ case '\r':
217+ case ' ':
218+ if (identifiresOrDirectives.length() > 0) {
219+ fireIdentifiresOrDirectives();
220+ }
221+ if (numbers.length() > 0) {
222+ fireNumbers();
223+ }
224+
225+ {
226+ final PascalLexicalToken token = new PascalLexicalToken(
227+ PascalConstants.TokenType.WHITE_CHARACTER, ""
228+ + cRead);
229+ result.add(token);
230+ }
231+ break;
232+ default:
233+ throw new IOException("Unexpected char is given: '" + cRead
234+ + "'");
235+ }
236+ }
237+
238+ PascalLexicalTokenUtil.normalize(result);
239+
240+ return result;
241+ }
242+
243+ private void fireIdentifiresOrDirectives() {
244+ final String lookup = identifiresOrDirectives.toString();
245+ identifiresOrDirectives = new StringBuilder();
246+ for (int index = 0; index < PascalConstants.SPECIAL_SYMBOL_WITHOUT_WORD.length; index++) {
247+ if (lookup.toLowerCase().equals(
248+ PascalConstants.SPECIAL_SYMBOL_WITHOUT_WORD[index])) {
249+ final PascalLexicalToken token = new PascalLexicalToken(
250+ PascalConstants.TokenType.SPECIAL_SYMBOL_WITHOUT_WORD,
251+ lookup);
252+ result.add(token);
253+ return;
254+ }
255+ }
256+ for (int index = 0; index < PascalConstants.WORD_SYMBOL.length; index++) {
257+ if (lookup.toLowerCase().equals(PascalConstants.WORD_SYMBOL[index])) {
258+ final PascalLexicalToken token = new PascalLexicalToken(
259+ PascalConstants.TokenType.WORD_SYMBOL, lookup);
260+ result.add(token);
261+ return;
262+ }
263+ }
264+ {
265+ final PascalLexicalToken token = new PascalLexicalToken(
266+ PascalConstants.TokenType.IDENTIFIRE_OR_DIRECTIVE, lookup);
267+ result.add(token);
268+ }
269+ }
270+
271+ private void fireNumbers() {
272+ final String lookup = numbers.toString();
273+ numbers = new StringBuilder();
274+ {
275+ final PascalLexicalToken token = new PascalLexicalToken(
276+ PascalConstants.TokenType.NUMBER_OR_LABEL, lookup);
277+ result.add(token);
278+ }
279+ }
280+
281+ private void fireTokenSeparatos(final BufferedReader reader,
282+ final String startString) throws IOException {
283+ final StringBuilder tokenSeparators = new StringBuilder();
284+ for (;;) {
285+ reader.mark(2);
286+ final int iRead = reader.read();
287+ if (iRead < 0) {
288+ reader.reset();
289+ return;
290+ }
291+ final char cRead = (char) iRead;
292+ if (startString.equals("{")) {
293+ if (cRead == '}') {
294+ break;
295+ }
296+ } else if (startString.equals("(*")) {
297+ if (cRead == '*') {
298+ reader.mark(2);
299+ final int iRead2 = reader.read();
300+ if (iRead2 < 0) {
301+ throw new IOException(
302+ "Unexpected end of line in comment.");
303+ }
304+ final char cRead2 = (char) iRead2;
305+ if (cRead2 == ')') {
306+ // break comment check loop.
307+ break;
308+ }
309+ // non end of comment
310+ reader.reset();
311+ }
312+ } else {
313+ throw new IOException("Unknown startString: [" + startString
314+ + "]");
315+ }
316+ tokenSeparators.append(cRead);
317+ }
318+
319+ {
320+ final PascalLexicalToken token = new PascalLexicalToken(
321+ PascalConstants.TokenType.TOKEN_SEPARATORS,
322+ tokenSeparators.toString());
323+ result.add(token);
324+ }
325+ }
326+
327+ private void fireCharacterStrings(final BufferedReader reader)
328+ throws IOException {
329+ final StringBuilder characterStrings = new StringBuilder();
330+ for (;;) {
331+ reader.mark(2);
332+ final int iRead = reader.read();
333+ if (iRead < 0) {
334+ reader.reset();
335+ return;
336+ }
337+ final char cRead = (char) iRead;
338+ if (cRead == '\'') {
339+ reader.mark(2);
340+ final int iRead2 = reader.read();
341+ if (iRead2 < 0) {
342+ throw new IOException("Unexpected end of line in comment.");
343+ }
344+ final char cRead2 = (char) iRead2;
345+ if (cRead2 == '\'') {
346+ // apostrophe image given
347+ characterStrings.append("'");
348+ continue;
349+ }
350+ // non double apostrophe
351+ // end of character string.
352+ reader.reset();
353+ break;
354+ }
355+ characterStrings.append(cRead);
356+ }
357+
358+ {
359+ final PascalLexicalToken token = new PascalLexicalToken(
360+ PascalConstants.TokenType.CHARACTER_STRINGS,
361+ characterStrings.toString());
362+ result.add(token);
363+ }
364+ }
365+}
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- tags/I201409072328/src/jp/igapyon/jobjectpascal/parser/PascalSyntaxToken.java (nonexistent)
+++ tags/I201409072328/src/jp/igapyon/jobjectpascal/parser/PascalSyntaxToken.java (revision 83)
@@ -0,0 +1,36 @@
1+/**************************************************************************
2+ * Copyright 2014 Toshiki Iga
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ * http://www.apache.org/licenses/LICENSE-2.0
8+ *
9+ * Unless required by applicable law or agreed to in writing, software
10+ * distributed under the License is distributed on an "AS IS" BASIS,
11+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ * See the License for the specific language governing permissions and
13+ * limitations under the License.
14+ *********************************************************************** */
15+/**************************************************************************
16+ * Copyright (c) 2014, Toshiki Iga, All rights reserved.
17+ *
18+ * This library is free software; you can redistribute it and/or
19+ * modify it under the terms of the GNU Lesser General Public
20+ * License as published by the Free Software Foundation; either
21+ * version 3.0 of the License, or (at your option) any later version.
22+ *
23+ * This library is distributed in the hope that it will be useful,
24+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
25+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26+ * Lesser General Public License for more details.
27+ *
28+ * You should have received a copy of the GNU Lesser General Public
29+ * License along with this library.
30+ * If not, see <http://www.gnu.org/licenses/>.
31+ *********************************************************************** */
32+package jp.igapyon.jobjectpascal.parser;
33+
34+public class PascalSyntaxToken {
35+ // will keep lexical token.
36+}
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- tags/I201409072328/src/jp/igapyon/jobjectpascal/parser/PascalSyntaxTokenParser.java (nonexistent)
+++ tags/I201409072328/src/jp/igapyon/jobjectpascal/parser/PascalSyntaxTokenParser.java (revision 83)
@@ -0,0 +1,37 @@
1+/**************************************************************************
2+ * Copyright 2014 Toshiki Iga
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ * http://www.apache.org/licenses/LICENSE-2.0
8+ *
9+ * Unless required by applicable law or agreed to in writing, software
10+ * distributed under the License is distributed on an "AS IS" BASIS,
11+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ * See the License for the specific language governing permissions and
13+ * limitations under the License.
14+ *********************************************************************** */
15+/**************************************************************************
16+ * Copyright (c) 2014, Toshiki Iga, All rights reserved.
17+ *
18+ * This library is free software; you can redistribute it and/or
19+ * modify it under the terms of the GNU Lesser General Public
20+ * License as published by the Free Software Foundation; either
21+ * version 3.0 of the License, or (at your option) any later version.
22+ *
23+ * This library is distributed in the hope that it will be useful,
24+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
25+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26+ * Lesser General Public License for more details.
27+ *
28+ * You should have received a copy of the GNU Lesser General Public
29+ * License along with this library.
30+ * If not, see <http://www.gnu.org/licenses/>.
31+ *********************************************************************** */
32+package jp.igapyon.jobjectpascal.parser;
33+
34+public class PascalSyntaxTokenParser {
35+ // TODO pre process to normalize lexical status.
36+
37+}
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- tags/I201409072328/src/jp/igapyon/jobjectpascal/parser/PascalLexicalToken.java (nonexistent)
+++ tags/I201409072328/src/jp/igapyon/jobjectpascal/parser/PascalLexicalToken.java (revision 83)
@@ -0,0 +1,71 @@
1+/**************************************************************************
2+ * Copyright 2014 Toshiki Iga
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ * http://www.apache.org/licenses/LICENSE-2.0
8+ *
9+ * Unless required by applicable law or agreed to in writing, software
10+ * distributed under the License is distributed on an "AS IS" BASIS,
11+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ * See the License for the specific language governing permissions and
13+ * limitations under the License.
14+ *********************************************************************** */
15+/**************************************************************************
16+ * Copyright (c) 2014, Toshiki Iga, All rights reserved.
17+ *
18+ * This library is free software; you can redistribute it and/or
19+ * modify it under the terms of the GNU Lesser General Public
20+ * License as published by the Free Software Foundation; either
21+ * version 3.0 of the License, or (at your option) any later version.
22+ *
23+ * This library is distributed in the hope that it will be useful,
24+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
25+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26+ * Lesser General Public License for more details.
27+ *
28+ * You should have received a copy of the GNU Lesser General Public
29+ * License along with this library.
30+ * If not, see <http://www.gnu.org/licenses/>.
31+ *********************************************************************** */
32+package jp.igapyon.jobjectpascal.parser;
33+
34+import jp.igapyon.jobjectpascal.PascalConstants;
35+
36+/**
37+ * Lexical token for Pascal.
38+ *
39+ * @author Toshiki Iga
40+ */
41+public class PascalLexicalToken {
42+ private PascalConstants.TokenType type = PascalConstants.TokenType.UNKNOWN;
43+
44+ private String word;
45+
46+ public PascalLexicalToken(final PascalConstants.TokenType type,
47+ final String word) {
48+ this.type = type;
49+ this.word = word;
50+ }
51+
52+ public PascalConstants.TokenType getType() {
53+ return type;
54+ }
55+
56+ public void setType(PascalConstants.TokenType type) {
57+ this.type = type;
58+ }
59+
60+ public String getWord() {
61+ return word;
62+ }
63+
64+ public void setWord(String word) {
65+ this.word = word;
66+ }
67+
68+ public String getString() {
69+ return "[" + word + "] (" + type.name() + ")";
70+ }
71+}
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- tags/I201409072328/src/jp/igapyon/jobjectpascal/PascalConstants.java (nonexistent)
+++ tags/I201409072328/src/jp/igapyon/jobjectpascal/PascalConstants.java (revision 83)
@@ -0,0 +1,62 @@
1+/**************************************************************************
2+ * Copyright 2014 Toshiki Iga
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ * http://www.apache.org/licenses/LICENSE-2.0
8+ *
9+ * Unless required by applicable law or agreed to in writing, software
10+ * distributed under the License is distributed on an "AS IS" BASIS,
11+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ * See the License for the specific language governing permissions and
13+ * limitations under the License.
14+ *********************************************************************** */
15+/**************************************************************************
16+ * Copyright (c) 2014, Toshiki Iga, All rights reserved.
17+ *
18+ * This library is free software; you can redistribute it and/or
19+ * modify it under the terms of the GNU Lesser General Public
20+ * License as published by the Free Software Foundation; either
21+ * version 3.0 of the License, or (at your option) any later version.
22+ *
23+ * This library is distributed in the hope that it will be useful,
24+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
25+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26+ * Lesser General Public License for more details.
27+ *
28+ * You should have received a copy of the GNU Lesser General Public
29+ * License along with this library.
30+ * If not, see <http://www.gnu.org/licenses/>.
31+ *********************************************************************** */
32+package jp.igapyon.jobjectpascal;
33+
34+/**
35+ * Constants about pascal.
36+ *
37+ * @author Toshiki Iga
38+ */
39+public class PascalConstants {
40+ public static final String SPECIAL_SYMBOL_WITHOUT_WORD[] = { "+", "-", "*",
41+ "/", "=", "<", ">", "[", "]", ".", ",", ":", ";", "^", "@", "(",
42+ ")", "<>", "<=", ">=", ":=", ".." };
43+ public static final String WORD_SYMBOL[] = { "and", "array", "begin",
44+ "case", "const", "div", "do", "downto", "else", "end", "file",
45+ "for", "function", "goto", "if", "in", "label", "mod", "nil",
46+ "not", "of", "or", "packed", "procedure", "program", "record",
47+ "repeat", "set", "then", "to", "type", "until", "var", "while",
48+ "with" };
49+
50+ /**
51+ * Types for lexical token.
52+ */
53+ public enum TokenType {
54+ UNKNOWN, WHITE_CHARACTER,
55+ /* SYMBOL */
56+ SPECIAL_SYMBOL_WITHOUT_WORD, WORD_SYMBOL,
57+ /* */
58+ IDENTIFIRE_OR_DIRECTIVE, NUMBER_OR_LABEL, CHARACTER_STRINGS,
59+ /* COMMENTS */
60+ TOKEN_SEPARATORS
61+ };
62+}
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- tags/I201409072328/test/src/jp/igapyon/jobjectpascal/parser/PascalLexicalTokenParserTest.java (nonexistent)
+++ tags/I201409072328/test/src/jp/igapyon/jobjectpascal/parser/PascalLexicalTokenParserTest.java (revision 83)
@@ -0,0 +1,260 @@
1+/**************************************************************************
2+ * Copyright 2014 Toshiki Iga
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ * http://www.apache.org/licenses/LICENSE-2.0
8+ *
9+ * Unless required by applicable law or agreed to in writing, software
10+ * distributed under the License is distributed on an "AS IS" BASIS,
11+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ * See the License for the specific language governing permissions and
13+ * limitations under the License.
14+ *********************************************************************** */
15+/**************************************************************************
16+ * Copyright (c) 2014, Toshiki Iga, All rights reserved.
17+ *
18+ * This library is free software; you can redistribute it and/or
19+ * modify it under the terms of the GNU Lesser General Public
20+ * License as published by the Free Software Foundation; either
21+ * version 3.0 of the License, or (at your option) any later version.
22+ *
23+ * This library is distributed in the hope that it will be useful,
24+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
25+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26+ * Lesser General Public License for more details.
27+ *
28+ * You should have received a copy of the GNU Lesser General Public
29+ * License along with this library.
30+ * If not, see <http://www.gnu.org/licenses/>.
31+ *********************************************************************** */
32+package jp.igapyon.jobjectpascal.parser;
33+
34+import static org.junit.Assert.assertEquals;
35+
36+import java.io.BufferedReader;
37+import java.io.StringReader;
38+import java.util.List;
39+
40+import org.junit.Test;
41+
42+public class PascalLexicalTokenParserTest {
43+ @Test
44+ public void testParse0010() throws Exception {
45+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
46+ .parse(new BufferedReader(new StringReader(
47+ "program pg001;{comments here} begin end.")));
48+ if (false)
49+ for (PascalLexicalToken token : result) {
50+ System.out.println(token.getString());
51+ }
52+ assertEquals("comment test", "[comments here] (TOKEN_SEPARATORS)",
53+ result.get(4).getString());
54+ }
55+
56+ @Test
57+ public void testParse0020() throws Exception {
58+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
59+ .parse(new BufferedReader(new StringReader(
60+ "program pg002; (*comments here*) begin end.")));
61+ if (false)
62+ for (PascalLexicalToken token : result) {
63+ System.out.println(token.getString());
64+ }
65+ assertEquals("comment test", "[comments here] (TOKEN_SEPARATORS)",
66+ result.get(5).getString());
67+ }
68+
69+ @Test
70+ public void testParse0030() throws Exception {
71+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
72+ .parse(new BufferedReader(new StringReader(
73+ "program pg003; (*comments here ) check*) begin end.")));
74+ if (false)
75+ for (PascalLexicalToken token : result) {
76+ System.out.println(token.getString());
77+ }
78+ assertEquals("comment test",
79+ "[comments here ) check] (TOKEN_SEPARATORS)", result.get(5)
80+ .getString());
81+ }
82+
83+ @Test
84+ public void testParse0040() throws Exception {
85+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
86+ .parse(new BufferedReader(new StringReader(
87+ "program pg004; writeln('Hello.'); begin end.")));
88+
89+ if (false)
90+ for (PascalLexicalToken token : result) {
91+ System.out.println(token.getString());
92+ }
93+ assertEquals("character-string test", "[Hello.] (CHARACTER_STRINGS)",
94+ result.get(7).getString());
95+ }
96+
97+ @Test
98+ public void testParse0050() throws Exception {
99+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
100+ .parse(new BufferedReader(new StringReader(
101+ "program pg005; writeln('Hello '' .'); begin end.")));
102+
103+ if (false)
104+ for (PascalLexicalToken token : result) {
105+ System.out.println(token.getString());
106+ }
107+ assertEquals("character-string test",
108+ "[Hello ' .] (CHARACTER_STRINGS)", result.get(7).getString());
109+ }
110+
111+ @Test
112+ public void testParse0060() throws Exception {
113+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
114+ .parse(new BufferedReader(new StringReader("<>")));
115+
116+ if (false)
117+ for (PascalLexicalToken token : result) {
118+ System.out.println(token.getString());
119+ }
120+ assertEquals("normarizer test", "[<>] (SPECIAL_SYMBOL_WITHOUT_WORD)",
121+ result.get(0).getString());
122+ assertEquals("normarizer test", 1, result.size());
123+ }
124+
125+ @Test
126+ public void testParse0070() throws Exception {
127+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
128+ .parse(new BufferedReader(new StringReader("<=")));
129+ assertEquals("normarizer test", "[<=] (SPECIAL_SYMBOL_WITHOUT_WORD)",
130+ result.get(0).getString());
131+ assertEquals("normarizer test", 1, result.size());
132+ }
133+
134+ @Test
135+ public void testParse0080() throws Exception {
136+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
137+ .parse(new BufferedReader(new StringReader(">=")));
138+ assertEquals("normarizer test", "[>=] (SPECIAL_SYMBOL_WITHOUT_WORD)",
139+ result.get(0).getString());
140+ assertEquals("normarizer test", 1, result.size());
141+ }
142+
143+ @Test
144+ public void testParse0090() throws Exception {
145+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
146+ .parse(new BufferedReader(new StringReader(":=")));
147+ assertEquals("normarizer test", "[:=] (SPECIAL_SYMBOL_WITHOUT_WORD)",
148+ result.get(0).getString());
149+ assertEquals("normarizer test", 1, result.size());
150+ }
151+
152+ @Test
153+ public void testParse0100() throws Exception {
154+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
155+ .parse(new BufferedReader(new StringReader("..")));
156+ assertEquals("normarizer test", "[..] (SPECIAL_SYMBOL_WITHOUT_WORD)",
157+ result.get(0).getString());
158+ assertEquals("normarizer test", 1, result.size());
159+ }
160+
161+ @Test
162+ public void testParse0110() throws Exception {
163+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
164+ .parse(new BufferedReader(new StringReader("12345")));
165+ assertEquals("number test", "[12345] (NUMBER_OR_LABEL)", result.get(0)
166+ .getString());
167+ assertEquals("number test", 1, result.size());
168+ }
169+
170+ @Test
171+ public void testParse0120() throws Exception {
172+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
173+ .parse(new BufferedReader(new StringReader("1e12")));
174+ if (false)
175+ for (PascalLexicalToken token : result) {
176+ System.out.println(token.getString());
177+ }
178+ assertEquals("number test", "[1e12] (NUMBER_OR_LABEL)", result.get(0)
179+ .getString());
180+ assertEquals("number test", 1, result.size());
181+ }
182+
183+ @Test
184+ public void testParse0130() throws Exception {
185+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
186+ .parse(new BufferedReader(new StringReader("+101")));
187+ assertEquals(
188+ "can't decide here. It can't be +101 in this timing. This function will locate in parser",
189+ "[+] (SPECIAL_SYMBOL_WITHOUT_WORD)", result.get(0).getString());
190+ assertEquals("number test", 2, result.size());
191+ }
192+
193+ @Test
194+ public void testParse0140() throws Exception {
195+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
196+ .parse(new BufferedReader(new StringReader("-10.0")));
197+ assertEquals(
198+ "can't decide here. It can't be -10.0 in this timing. This function will locate in parser",
199+ "[-] (SPECIAL_SYMBOL_WITHOUT_WORD)", result.get(0).getString());
200+ assertEquals("number test", 2, result.size());
201+ }
202+
203+ @Test
204+ public void testParse0150() throws Exception {
205+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
206+ .parse(new BufferedReader(new StringReader("12.34E+3")));
207+ assertEquals("number test", "[12.34E+3] (NUMBER_OR_LABEL)",
208+ result.get(0).getString());
209+ assertEquals("number test", 1, result.size());
210+ }
211+
212+ @Test
213+ public void testParse0151() throws Exception {
214+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
215+ .parse(new BufferedReader(new StringReader("12E+3")));
216+ assertEquals("number test", "[12E+3] (NUMBER_OR_LABEL)", result.get(0)
217+ .getString());
218+ assertEquals("number test", 1, result.size());
219+ }
220+
221+ @Test
222+ public void testParse0160() throws Exception {
223+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
224+ .parse(new BufferedReader(new StringReader("@")));
225+ assertEquals("alt test", "[^] (SPECIAL_SYMBOL_WITHOUT_WORD)", result
226+ .get(0).getString());
227+ assertEquals("number test", 1, result.size());
228+ }
229+
230+ @Test
231+ public void testParse0170() throws Exception {
232+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
233+ .parse(new BufferedReader(new StringReader("(.")));
234+ assertEquals("alt test", "[[] (SPECIAL_SYMBOL_WITHOUT_WORD)", result
235+ .get(0).getString());
236+ assertEquals("number test", 1, result.size());
237+ }
238+
239+ @Test
240+ public void testParse0180() throws Exception {
241+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
242+ .parse(new BufferedReader(new StringReader(".)")));
243+ assertEquals("alt test", "[]] (SPECIAL_SYMBOL_WITHOUT_WORD)", result
244+ .get(0).getString());
245+ assertEquals("number test", 1, result.size());
246+ }
247+
248+ @Test
249+ public void testParse0190() throws Exception {
250+ final List<PascalLexicalToken> result = new PascalLexicalTokenParser()
251+ .parse(new BufferedReader(new StringReader("3+2")));
252+ assertEquals("number test", "[3] (NUMBER_OR_LABEL)", result.get(0)
253+ .getString());
254+ assertEquals("number test", "[+] (SPECIAL_SYMBOL_WITHOUT_WORD)", result
255+ .get(1).getString());
256+ assertEquals("number test", "[2] (NUMBER_OR_LABEL)", result.get(2)
257+ .getString());
258+ assertEquals("number test", 3, result.size());
259+ }
260+}
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- tags/I201409072328/doc/todo.txt (nonexistent)
+++ tags/I201409072328/doc/todo.txt (revision 83)
@@ -0,0 +1,9 @@
1+・複数のホワイトスペースを1つに纏める機能が必要。ただし、ホワイトスペースの内容そのものは破棄したらまずそう。
2+・コメントについて、いずれの種類のコメントなのかを字句解析で記憶する必要がある。
3+・Main クラスを作成し、そこをエントリポイントに *.pas ファイルを読み込む能力を与えること。
4+・java -jar で動作するような調整。
5+・Java クラスを pas から利用できる仕組みの構築。リフレクションの知見および他のLLの動向に対する知見が必要。
6+・貢献者リストのための Wiki ページおよびテキストの作成および維持。
7+・パーサークラスの実装。さしあたり、数値リテラルに関する符号の処理(字句解析の残作業)の実装。
8+・OSGi 周りの検討。ただし、これは頑張らずに JDK 天然仕様を待つのか???
9+・Facelets 内で利用できるようにできないものか???
\ No newline at end of file
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- tags/I201409072328/doc/readme.txt (nonexistent)
+++ tags/I201409072328/doc/readme.txt (revision 83)
@@ -0,0 +1,2 @@
1+JObjectPascal は Java による Pascal インタープリタの実装を目指します。
2+Apache ライセンスと LGPL のデュアルライセンスとします。
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- tags/I201409072328/doc/apache-license-2.0.txt (nonexistent)
+++ tags/I201409072328/doc/apache-license-2.0.txt (revision 83)
@@ -0,0 +1,202 @@
1+
2+ Apache License
3+ Version 2.0, January 2004
4+ http://www.apache.org/licenses/
5+
6+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7+
8+ 1. Definitions.
9+
10+ "License" shall mean the terms and conditions for use, reproduction,
11+ and distribution as defined by Sections 1 through 9 of this document.
12+
13+ "Licensor" shall mean the copyright owner or entity authorized by
14+ the copyright owner that is granting the License.
15+
16+ "Legal Entity" shall mean the union of the acting entity and all
17+ other entities that control, are controlled by, or are under common
18+ control with that entity. For the purposes of this definition,
19+ "control" means (i) the power, direct or indirect, to cause the
20+ direction or management of such entity, whether by contract or
21+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22+ outstanding shares, or (iii) beneficial ownership of such entity.
23+
24+ "You" (or "Your") shall mean an individual or Legal Entity
25+ exercising permissions granted by this License.
26+
27+ "Source" form shall mean the preferred form for making modifications,
28+ including but not limited to software source code, documentation
29+ source, and configuration files.
30+
31+ "Object" form shall mean any form resulting from mechanical
32+ transformation or translation of a Source form, including but
33+ not limited to compiled object code, generated documentation,
34+ and conversions to other media types.
35+
36+ "Work" shall mean the work of authorship, whether in Source or
37+ Object form, made available under the License, as indicated by a
38+ copyright notice that is included in or attached to the work
39+ (an example is provided in the Appendix below).
40+
41+ "Derivative Works" shall mean any work, whether in Source or Object
42+ form, that is based on (or derived from) the Work and for which the
43+ editorial revisions, annotations, elaborations, or other modifications
44+ represent, as a whole, an original work of authorship. For the purposes
45+ of this License, Derivative Works shall not include works that remain
46+ separable from, or merely link (or bind by name) to the interfaces of,
47+ the Work and Derivative Works thereof.
48+
49+ "Contribution" shall mean any work of authorship, including
50+ the original version of the Work and any modifications or additions
51+ to that Work or Derivative Works thereof, that is intentionally
52+ submitted to Licensor for inclusion in the Work by the copyright owner
53+ or by an individual or Legal Entity authorized to submit on behalf of
54+ the copyright owner. For the purposes of this definition, "submitted"
55+ means any form of electronic, verbal, or written communication sent
56+ to the Licensor or its representatives, including but not limited to
57+ communication on electronic mailing lists, source code control systems,
58+ and issue tracking systems that are managed by, or on behalf of, the
59+ Licensor for the purpose of discussing and improving the Work, but
60+ excluding communication that is conspicuously marked or otherwise
61+ designated in writing by the copyright owner as "Not a Contribution."
62+
63+ "Contributor" shall mean Licensor and any individual or Legal Entity
64+ on behalf of whom a Contribution has been received by Licensor and
65+ subsequently incorporated within the Work.
66+
67+ 2. Grant of Copyright License. Subject to the terms and conditions of
68+ this License, each Contributor hereby grants to You a perpetual,
69+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70+ copyright license to reproduce, prepare Derivative Works of,
71+ publicly display, publicly perform, sublicense, and distribute the
72+ Work and such Derivative Works in Source or Object form.
73+
74+ 3. Grant of Patent License. Subject to the terms and conditions of
75+ this License, each Contributor hereby grants to You a perpetual,
76+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77+ (except as stated in this section) patent license to make, have made,
78+ use, offer to sell, sell, import, and otherwise transfer the Work,
79+ where such license applies only to those patent claims licensable
80+ by such Contributor that are necessarily infringed by their
81+ Contribution(s) alone or by combination of their Contribution(s)
82+ with the Work to which such Contribution(s) was submitted. If You
83+ institute patent litigation against any entity (including a
84+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85+ or a Contribution incorporated within the Work constitutes direct
86+ or contributory patent infringement, then any patent licenses
87+ granted to You under this License for that Work shall terminate
88+ as of the date such litigation is filed.
89+
90+ 4. Redistribution. You may reproduce and distribute copies of the
91+ Work or Derivative Works thereof in any medium, with or without
92+ modifications, and in Source or Object form, provided that You
93+ meet the following conditions:
94+
95+ (a) You must give any other recipients of the Work or
96+ Derivative Works a copy of this License; and
97+
98+ (b) You must cause any modified files to carry prominent notices
99+ stating that You changed the files; and
100+
101+ (c) You must retain, in the Source form of any Derivative Works
102+ that You distribute, all copyright, patent, trademark, and
103+ attribution notices from the Source form of the Work,
104+ excluding those notices that do not pertain to any part of
105+ the Derivative Works; and
106+
107+ (d) If the Work includes a "NOTICE" text file as part of its
108+ distribution, then any Derivative Works that You distribute must
109+ include a readable copy of the attribution notices contained
110+ within such NOTICE file, excluding those notices that do not
111+ pertain to any part of the Derivative Works, in at least one
112+ of the following places: within a NOTICE text file distributed
113+ as part of the Derivative Works; within the Source form or
114+ documentation, if provided along with the Derivative Works; or,
115+ within a display generated by the Derivative Works, if and
116+ wherever such third-party notices normally appear. The contents
117+ of the NOTICE file are for informational purposes only and
118+ do not modify the License. You may add Your own attribution
119+ notices within Derivative Works that You distribute, alongside
120+ or as an addendum to the NOTICE text from the Work, provided
121+ that such additional attribution notices cannot be construed
122+ as modifying the License.
123+
124+ You may add Your own copyright statement to Your modifications and
125+ may provide additional or different license terms and conditions
126+ for use, reproduction, or distribution of Your modifications, or
127+ for any such Derivative Works as a whole, provided Your use,
128+ reproduction, and distribution of the Work otherwise complies with
129+ the conditions stated in this License.
130+
131+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132+ any Contribution intentionally submitted for inclusion in the Work
133+ by You to the Licensor shall be under the terms and conditions of
134+ this License, without any additional terms or conditions.
135+ Notwithstanding the above, nothing herein shall supersede or modify
136+ the terms of any separate license agreement you may have executed
137+ with Licensor regarding such Contributions.
138+
139+ 6. Trademarks. This License does not grant permission to use the trade
140+ names, trademarks, service marks, or product names of the Licensor,
141+ except as required for reasonable and customary use in describing the
142+ origin of the Work and reproducing the content of the NOTICE file.
143+
144+ 7. Disclaimer of Warranty. Unless required by applicable law or
145+ agreed to in writing, Licensor provides the Work (and each
146+ Contributor provides its Contributions) on an "AS IS" BASIS,
147+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148+ implied, including, without limitation, any warranties or conditions
149+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150+ PARTICULAR PURPOSE. You are solely responsible for determining the
151+ appropriateness of using or redistributing the Work and assume any
152+ risks associated with Your exercise of permissions under this License.
153+
154+ 8. Limitation of Liability. In no event and under no legal theory,
155+ whether in tort (including negligence), contract, or otherwise,
156+ unless required by applicable law (such as deliberate and grossly
157+ negligent acts) or agreed to in writing, shall any Contributor be
158+ liable to You for damages, including any direct, indirect, special,
159+ incidental, or consequential damages of any character arising as a
160+ result of this License or out of the use or inability to use the
161+ Work (including but not limited to damages for loss of goodwill,
162+ work stoppage, computer failure or malfunction, or any and all
163+ other commercial damages or losses), even if such Contributor
164+ has been advised of the possibility of such damages.
165+
166+ 9. Accepting Warranty or Additional Liability. While redistributing
167+ the Work or Derivative Works thereof, You may choose to offer,
168+ and charge a fee for, acceptance of support, warranty, indemnity,
169+ or other liability obligations and/or rights consistent with this
170+ License. However, in accepting such obligations, You may act only
171+ on Your own behalf and on Your sole responsibility, not on behalf
172+ of any other Contributor, and only if You agree to indemnify,
173+ defend, and hold each Contributor harmless for any liability
174+ incurred by, or claims asserted against, such Contributor by reason
175+ of your accepting any such warranty or additional liability.
176+
177+ END OF TERMS AND CONDITIONS
178+
179+ APPENDIX: How to apply the Apache License to your work.
180+
181+ To apply the Apache License to your work, attach the following
182+ boilerplate notice, with the fields enclosed by brackets "[]"
183+ replaced with your own identifying information. (Don't include
184+ the brackets!) The text should be enclosed in the appropriate
185+ comment syntax for the file format. We also recommend that a
186+ file or class name and description of purpose be included on the
187+ same "printed page" as the copyright notice for easier
188+ identification within third-party archives.
189+
190+ Copyright [yyyy] [name of copyright owner]
191+
192+ Licensed under the Apache License, Version 2.0 (the "License");
193+ you may not use this file except in compliance with the License.
194+ You may obtain a copy of the License at
195+
196+ http://www.apache.org/licenses/LICENSE-2.0
197+
198+ Unless required by applicable law or agreed to in writing, software
199+ distributed under the License is distributed on an "AS IS" BASIS,
200+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201+ See the License for the specific language governing permissions and
202+ limitations under the License.
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- tags/I201409072328/doc/apache-license-2.0.html (nonexistent)
+++ tags/I201409072328/doc/apache-license-2.0.html (revision 83)
@@ -0,0 +1,442 @@
1+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2+<html lang="en">
3+ <head>
4+ <title>Apache License, Version 2.0</title>
5+
6+ <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
7+ <meta property="og:image" content="http://www.apache.org/images/asf_logo.gif" />
8+
9+ <link rel="stylesheet" type="text/css" media="screen" href="/css/style.css">
10+ <link rel="stylesheet" type="text/css" media="screen" href="/css/code.css">
11+
12+ <script type="text/javascript" src="/js/jquery.js"></script>
13+ <script type="text/javascript" src="/js/apache_boot.js"></script>
14+
15+
16+
17+
18+ <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the &quot;License&quot;); 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 &quot;AS IS&quot; 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. -->
19+ </head>
20+
21+ <body>
22+ <div id="page" class="container_16">
23+ <div id="header" class="grid_8">
24+ <img src="/images/feather-small.gif" alt="The Apache Software Foundation">
25+ <h1>The Apache Software Foundation</h1>
26+ <h2>Apache License, Version 2.0</h2>
27+ </div>
28+ <div id="nav" class="grid_8">
29+ <ul>
30+ <!-- <li><a href="/" title="Welcome!">Home</a></li> -->
31+ <li><a href="/foundation/" title="The Foundation">Foundation</a></li>
32+ <li><a href="http://projects.apache.org" title="The Projects">Projects</a></li>
33+ <li><a href="http://people.apache.org" title="The People">People</a></li>
34+ <li><a href="/foundation/getinvolved.html" title="Get Involved">Get Involved</a></li>
35+ <li><a href="/dyn/closer.cgi" title="Download">Download</a></li>
36+ <li><a href="/foundation/sponsorship.html" title="Support Apache">Support Apache</a></li>
37+ </ul>
38+ <p><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/licenses/">Licenses</a></p>
39+ <form name="search" id="search" action="http://www.google.com/search" method="get">
40+ <input value="apache.org" name="sitesearch" type="hidden"/>
41+ <input type="text" name="q" id="query">
42+ <input type="submit" id="submit" value="Search">
43+ </form>
44+ </div>
45+ <div class="clear"></div>
46+ <div id="content" class="grid_16"><div class="section-content"><p>Apache License<br></br>Version 2.0, January 2004<br></br>
47+<a href="http://www.apache.org/licenses/">http://www.apache.org/licenses/</a> </p>
48+<p>TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION</p>
49+<p><strong><a name="definitions">1. Definitions</a></strong>.</p>
50+<p>"License" shall mean the terms and conditions for use, reproduction, and
51+distribution as defined by Sections 1 through 9 of this document.</p>
52+<p>"Licensor" shall mean the copyright owner or entity authorized by the
53+copyright owner that is granting the License.</p>
54+<p>"Legal Entity" shall mean the union of the acting entity and all other
55+entities that control, are controlled by, or are under common control with
56+that entity. For the purposes of this definition, "control" means (i) the
57+power, direct or indirect, to cause the direction or management of such
58+entity, whether by contract or otherwise, or (ii) ownership of fifty
59+percent (50%) or more of the outstanding shares, or (iii) beneficial
60+ownership of such entity.</p>
61+<p>"You" (or "Your") shall mean an individual or Legal Entity exercising
62+permissions granted by this License.</p>
63+<p>"Source" form shall mean the preferred form for making modifications,
64+including but not limited to software source code, documentation source,
65+and configuration files.</p>
66+<p>"Object" form shall mean any form resulting from mechanical transformation
67+or translation of a Source form, including but not limited to compiled
68+object code, generated documentation, and conversions to other media types.</p>
69+<p>"Work" shall mean the work of authorship, whether in Source or Object form,
70+made available under the License, as indicated by a copyright notice that
71+is included in or attached to the work (an example is provided in the
72+Appendix below).</p>
73+<p>"Derivative Works" shall mean any work, whether in Source or Object form,
74+that is based on (or derived from) the Work and for which the editorial
75+revisions, annotations, elaborations, or other modifications represent, as
76+a whole, an original work of authorship. For the purposes of this License,
77+Derivative Works shall not include works that remain separable from, or
78+merely link (or bind by name) to the interfaces of, the Work and Derivative
79+Works thereof.</p>
80+<p>"Contribution" shall mean any work of authorship, including the original
81+version of the Work and any modifications or additions to that Work or
82+Derivative Works thereof, that is intentionally submitted to Licensor for
83+inclusion in the Work by the copyright owner or by an individual or Legal
84+Entity authorized to submit on behalf of the copyright owner. For the
85+purposes of this definition, "submitted" means any form of electronic,
86+verbal, or written communication sent to the Licensor or its
87+representatives, including but not limited to communication on electronic
88+mailing lists, source code control systems, and issue tracking systems that
89+are managed by, or on behalf of, the Licensor for the purpose of discussing
90+and improving the Work, but excluding communication that is conspicuously
91+marked or otherwise designated in writing by the copyright owner as "Not a
92+Contribution."</p>
93+<p>"Contributor" shall mean Licensor and any individual or Legal Entity on
94+behalf of whom a Contribution has been received by Licensor and
95+subsequently incorporated within the Work.</p>
96+<p><strong><a name="copyright">2. Grant of Copyright License</a></strong>. Subject to the
97+terms and conditions of this License, each Contributor hereby grants to You
98+a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
99+copyright license to reproduce, prepare Derivative Works of, publicly
100+display, publicly perform, sublicense, and distribute the Work and such
101+Derivative Works in Source or Object form.</p>
102+<p><strong><a name="patent">3. Grant of Patent License</a></strong>. Subject to the terms
103+and conditions of this License, each Contributor hereby grants to You a
104+perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
105+(except as stated in this section) patent license to make, have made, use,
106+offer to sell, sell, import, and otherwise transfer the Work, where such
107+license applies only to those patent claims licensable by such Contributor
108+that are necessarily infringed by their Contribution(s) alone or by
109+combination of their Contribution(s) with the Work to which such
110+Contribution(s) was submitted. If You institute patent litigation against
111+any entity (including a cross-claim or counterclaim in a lawsuit) alleging
112+that the Work or a Contribution incorporated within the Work constitutes
113+direct or contributory patent infringement, then any patent licenses
114+granted to You under this License for that Work shall terminate as of the
115+date such litigation is filed.</p>
116+<p><strong><a name="redistribution">4. Redistribution</a></strong>. You may reproduce and
117+distribute copies of the Work or Derivative Works thereof in any medium,
118+with or without modifications, and in Source or Object form, provided that
119+You meet the following conditions:</p>
120+<ol style="list-style: lower-latin;">
121+<li>You must give any other recipients of the Work or Derivative Works a
122+copy of this License; and</li>
123+
124+<li>You must cause any modified files to carry prominent notices stating
125+that You changed the files; and</li>
126+
127+<li>You must retain, in the Source form of any Derivative Works that You
128+distribute, all copyright, patent, trademark, and attribution notices from
129+the Source form of the Work, excluding those notices that do not pertain to
130+any part of the Derivative Works; and</li>
131+
132+<li>If the Work includes a "NOTICE" text file as part of its distribution,
133+then any Derivative Works that You distribute must include a readable copy
134+of the attribution notices contained within such NOTICE file, excluding
135+those notices that do not pertain to any part of the Derivative Works, in
136+at least one of the following places: within a NOTICE text file distributed
137+as part of the Derivative Works; within the Source form or documentation,
138+if provided along with the Derivative Works; or, within a display generated
139+by the Derivative Works, if and wherever such third-party notices normally
140+appear. The contents of the NOTICE file are for informational purposes only
141+and do not modify the License. You may add Your own attribution notices
142+within Derivative Works that You distribute, alongside or as an addendum to
143+the NOTICE text from the Work, provided that such additional attribution
144+notices cannot be construed as modifying the License.
145+<br/>
146+<br/>
147+You may add Your own copyright statement to Your modifications and may
148+provide additional or different license terms and conditions for use,
149+reproduction, or distribution of Your modifications, or for any such
150+Derivative Works as a whole, provided Your use, reproduction, and
151+distribution of the Work otherwise complies with the conditions stated in
152+this License.
153+</li>
154+
155+</ol>
156+
157+<p><strong><a name="contributions">5. Submission of Contributions</a></strong>. Unless You
158+explicitly state otherwise, any Contribution intentionally submitted for
159+inclusion in the Work by You to the Licensor shall be under the terms and
160+conditions of this License, without any additional terms or conditions.
161+Notwithstanding the above, nothing herein shall supersede or modify the
162+terms of any separate license agreement you may have executed with Licensor
163+regarding such Contributions.</p>
164+<p><strong><a name="trademarks">6. Trademarks</a></strong>. This License does not grant
165+permission to use the trade names, trademarks, service marks, or product
166+names of the Licensor, except as required for reasonable and customary use
167+in describing the origin of the Work and reproducing the content of the
168+NOTICE file.</p>
169+<p><strong><a name="no-warranty">7. Disclaimer of Warranty</a></strong>. Unless required by
170+applicable law or agreed to in writing, Licensor provides the Work (and
171+each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT
172+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including,
173+without limitation, any warranties or conditions of TITLE,
174+NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You
175+are solely responsible for determining the appropriateness of using or
176+redistributing the Work and assume any risks associated with Your exercise
177+of permissions under this License.</p>
178+<p><strong><a name="no-liability">8. Limitation of Liability</a></strong>. In no event and
179+under no legal theory, whether in tort (including negligence), contract, or
180+otherwise, unless required by applicable law (such as deliberate and
181+grossly negligent acts) or agreed to in writing, shall any Contributor be
182+liable to You for damages, including any direct, indirect, special,
183+incidental, or consequential damages of any character arising as a result
184+of this License or out of the use or inability to use the Work (including
185+but not limited to damages for loss of goodwill, work stoppage, computer
186+failure or malfunction, or any and all other commercial damages or losses),
187+even if such Contributor has been advised of the possibility of such
188+damages.</p>
189+<p><strong><a name="additional">9. Accepting Warranty or Additional Liability</a></strong>.
190+While redistributing the Work or Derivative Works thereof, You may choose
191+to offer, and charge a fee for, acceptance of support, warranty, indemnity,
192+or other liability obligations and/or rights consistent with this License.
193+However, in accepting such obligations, You may act only on Your own behalf
194+and on Your sole responsibility, not on behalf of any other Contributor,
195+and only if You agree to indemnify, defend, and hold each Contributor
196+harmless for any liability incurred by, or claims asserted against, such
197+Contributor by reason of your accepting any such warranty or additional
198+liability.</p>
199+<p>END OF TERMS AND CONDITIONS</p>
200+<h1 id="apply">APPENDIX: How to apply the Apache License to your work</h1>
201+<p>To apply the Apache License to your work, attach the following boilerplate
202+notice, with the fields enclosed by brackets "[]" replaced with your own
203+identifying information. (Don't include the brackets!) The text should be
204+enclosed in the appropriate comment syntax for the file format. We also
205+recommend that a file or class name and description of purpose be included
206+on the same "printed page" as the copyright notice for easier
207+identification within third-party archives.</p>
208+<div class="codehilite"><pre>Copyright [yyyy] [name of copyright owner]
209+
210+Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
211+you may not use this file except in compliance with the License.
212+You may obtain a copy of the License at
213+
214+ http://www.apache.org/licenses/LICENSE-2.0
215+
216+Unless required by applicable law or agreed to in writing, software
217+distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
218+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
219+See the License for the specific language governing permissions and
220+limitations under the License.
221+</pre></div></div></div>
222+ <div class="clear"></div>
223+ </div>
224+ <div id="footer" class="container_16">
225+ <div class="links grid_16">
226+ <div class="grid_3">
227+ <h4>Projects</h4>
228+ <ul>
229+<li><a href="http://httpd.apache.org/" title="Apache Web Server (httpd)">HTTP Server</a></li>
230+<li><a href="http://abdera.apache.org/" title="Atom Publishing Protocol Implementation">Abdera</a></li>
231+<li><a href="http://accumulo.apache.org/" title="Sorted, distributed key/value store">Accumulo</a></li>
232+<li><a href="http://ace.apache.org/" title="Centralized life cycle management and deployment of OSGi based and related modular software artifacts for distribution.">ACE</a></li>
233+<li><a href="http://activemq.apache.org/" title="Distributed Messaging System">ActiveMQ</a></li>
234+<li><a href="http://airavata.apache.org/" title="Workflow and Computational Job Management Middleware">Airavata</a></li>
235+<li><a href="http://allura.apache.org/" title="Forge software for hosting software projects">Allura</a></li>
236+<li><a href="http://ambari.apache.org/" title="Hadoop cluster management">Ambari</a></li>
237+<li><a href="http://ant.apache.org/" title="Java-based build tool">Ant</a></li>
238+<li><a href="http://any23.apache.org/" title="Anything to Triples">Any23</a></li>
239+<li><a href="http://apr.apache.org/" title="Apache Portable Runtime libraries">APR</a></li>
240+<li><a href="http://archiva.apache.org/" title="Build Artifact Repository Manager">Archiva</a></li>
241+<li><a href="http://aries.apache.org/" title="Enterprise OSGi application programming model">Aries</a></li>
242+<li><a href="http://avro.apache.org/" title="A Serialization System">Avro</a></li>
243+<li><a href="http://axis.apache.org/" title="Java SOAP Engine">Axis</a></li>
244+<li><a href="http://bigtop.apache.org/" title="Apache Hadoop ecosystem integration and distribution project">Bigtop</a></li>
245+<li><a href="http://bloodhound.apache.org/" title="Issue tracking, wiki and repository browser">Bloodhound</a></li>
246+<li><a href="http://buildr.apache.org/" title="Simple and intuitive build system for Java applications">Buildr</a></li>
247+<li><a href="http://bval.apache.org/" title="Apache BVal: JSR-303 Bean Validation Implementation and Extensions">BVal</a></li>
248+<li><a href="http://camel.apache.org/" title="Spring based Integration Framework which implements the Enterprise Integration Patterns">Camel</a></li>
249+<li><a href="http://cassandra.apache.org/" title="Highly scalable second-generation distributed database">Cassandra</a></li>
250+<li><a href="http://cayenne.apache.org/" title="User-friendly Java ORM with Tools">Cayenne</a></li>
251+<li><a href="http://chemistry.apache.org/" title="CMIS (Content Managment Interoperability Services) Clients and Servers">Chemistry</a></li>
252+<li><a href="http://chukwa.apache.org/" title="Open source data collection system for monitoring large distributed systems.">Chukwa</a></li>
253+<li><a href="http://clerezza.apache.org/" title="Semantically linked data for OSGi">Clerezza</a></li>
254+<li><a href="http://cloudstack.apache.org/" title="Infrastructure as a Service solution">CloudStack</a></li>
255+<li><a href="http://cocoon.apache.org/" title="Web development framework: separation of concerns, component-based">Cocoon</a></li>
256+<li><a href="http://commons.apache.org/" title="Reusable Java components">Commons</a></li>
257+<li><a href="http://continuum.apache.org/" title="Continuous Integration and Build Server">Continuum</a></li>
258+<li><a href="http://cordova.apache.org/" title="Platform for building native mobile applications using HTML, CSS and JavaScript">Cordova</a></li>
259+<li><a href="http://couchdb.apache.org/" title="RESTful document database">CouchDB</a></li>
260+<li><a href="http://creadur.apache.org/" title="Comprehension and auditing of software distributions">Creadur</a></li>
261+<li><a href="http://crunch.apache.org/" title="Simple and Efficient MapReduce Pipelines">Crunch</a></li>
262+<li><a href="http://ctakes.apache.org/" title="Natural language processing (NLP) tool for information extraction from electronic medical record clinical free-text">cTAKES</a></li>
263+<li><a href="http://curator.apache.org/" title="Java libraries that make using Apache ZooKeeper easier">Curator</a></li>
264+<li><a href="http://cxf.apache.org/" title="Service Framework">CXF</a></li>
265+<li><a href="http://db.apache.org/" title="Database access">DB</a></li>
266+<li><a href="http://deltacloud.apache.org/" title="RESTful cloud management interface">Deltacloud</a></li>
267+<li><a href="http://deltaspike.apache.org/" title="Portable CDI extensions that provide useful features for Java application developers">DeltaSpike</a></li>
268+<li><a href="http://directmemory.apache.org/" title="An off-heap cache for the Java Virtual Machine">DirectMemory</a></li>
269+<li><a href="http://directory.apache.org/" title="Apache Directory Server">Directory</a></li>
270+<li><a href="http://empire-db.apache.org/" title="Relational Data Persistence">Empire-db</a></li>
271+<li><a href="http://etch.apache.org/" title="Cross-platform, language- and transport-independent RPC-like messaging framework">Etch</a></li>
272+<li><a href="http://felix.apache.org/" title="OSGi Framework and components.">Felix</a></li>
273+<li><a href="http://flex.apache.org/" title="Application framework for expressive web applications that deploy to all major browsers, desktops and devices.">Flex</a></li>
274+<li><a href="http://flume.apache.org/" title="A reliable service for efficiently collecting, aggregating, and moving large amounts of log data">Flume</a></li>
275+<li><a href="http://forrest.apache.org/" title="Aggregated multi-channel documentation, separation of concerns">Forrest</a></li>
276+<li><a href="http://geronimo.apache.org/" title="Java2, Enterprise Edition (J2EE) container">Geronimo</a></li>
277+<li><a href="http://giraph.apache.org/" title="Iterative graph processing system built for high scalability">Giraph</a></li>
278+<li><a href="http://gora.apache.org/" title="ORM framework for column stores such as Apache HBase and Apache Cassandra with a specific focus on Hadoop">Gora</a></li>
279+<li><a href="http://gump.apache.org/" title="Continuous integration of open source projects">Gump</a></li>
280+<li><a href="http://hadoop.apache.org/" title="Distributed computing platform">Hadoop</a></li>
281+<li><a href="http://hama.apache.org/" title="a Bulk Synchronous Parallel computing framework on top of Hadoop">Hama</a></li>
282+<li><a href="http://hbase.apache.org/" title="Hadoop Database">HBase</a></li>
283+<li><a href="http://helix.apache.org/" title="A cluster management framework for partitioned and replicated distributed resources">Helix</a></li>
284+<li><a href="http://hive.apache.org/" title="Data warehouse infrastructure using the Hadoop Database">Hive</a></li>
285+<li><a href="http://hc.apache.org/" title="Java toolset of low level HTTP components">HttpComponents</a></li>
286+<li><a href="http://isis.apache.org/" title="Framework for rapidly developing domain-driven apps in Java">Isis</a></li>
287+<li><a href="http://jackrabbit.apache.org/" title="Content Repository for Java">Jackrabbit</a></li>
288+<li><a href="http://james.apache.org/" title="Java Apache Mail Enterprise Server">James</a></li>
289+<li><a href="http://jclouds.apache.org/" title="Java cloud APIs and abstractions">jclouds</a></li>
290+<li><a href="http://jena.apache.org/" title="Java framework for building Semantic Web applications">Jena</a></li>
291+<li><a href="http://jmeter.apache.org/" title="Java performance and functional testing">JMeter</a></li>
292+<li><a href="http://jspwiki.apache.org/" title="Leading open source WikiWiki engine, feature-rich and built around standard J2EE components (Java, servlets, JSP). ">JSPWiki</a></li>
293+<li><a href="http://juddi.apache.org/" title="Java implementation of the Universal Description, Discovery, and Integration specification">jUDDI</a></li>
294+<li><a href="http://kafka.apache.org/" title="Distributed publish-subscribe messaging system">Kafka</a></li>
295+<li><a href="http://karaf.apache.org/" title="Server-side OSGi distribution">Karaf</a></li>
296+<li><a href="http://knox.apache.org/" title="Simplify and normalize the deployment and implementation of secure Hadoop clusters">Knox</a></li>
297+<li><a href="http://lenya.apache.org/" title="Content Management System">Lenya</a></li>
298+<li><a href="http://libcloud.apache.org/" title="Unified interface to the cloud">Libcloud</a></li>
299+<li><a href="http://logging.apache.org/" title="Cross-language logging services">Logging</a></li>
300+<li><a href="http://lucene.apache.org/" title="Search engine library">Lucene</a></li>
301+<li><a href="http://lucenenet.apache.org/" title="Search engine library targeted at .NET runtime users.">Lucene.Net</a></li>
302+<li><a href="http://lucy.apache.org/" title="Search engine library for dynamic languages">Lucy</a></li>
303+<li><a href="http://mahout.apache.org/" title="Scalable machine learning library">Mahout</a></li>
304+<li><a href="http://manifoldcf.apache.org/" title="Framework for connecting source content repositories to target repositories or indexes.">ManifoldCF</a></li>
305+<li><a href="http://marmotta.apache.org/" title="An Open Platform for Linked Data">Marmotta</a></li>
306+<li><a href="http://maven.apache.org/" title="Java project management and comprehension tools">Maven</a></li>
307+<li><a href="http://mesos.apache.org/" title="a cluster manager that provides efficient resource isolation and sharing across distributed applications">Mesos</a></li>
308+<li><a href="http://mina.apache.org/" title="Multipurpose Infrastructure for Network Application">MINA</a></li>
309+<li><a href="http://mrunit.apache.org/" title="Java library that helps developers unit test Apache Hadoop map reduce jobs">MRUnit</a></li>
310+<li><a href="http://myfaces.apache.org/" title="JavaServer(tm) Faces implementation and components">MyFaces</a></li>
311+<li><a href="http://nutch.apache.org/" title="Open Source Web Search Software">Nutch</a></li>
312+<li><a href="http://ode.apache.org/" title="Orchestration Director Engine: Business Process Management (BPM), Process Orchestration and Workflow through service composition.">ODE</a></li>
313+<li><a href="http://ofbiz.apache.org/" title="Open for Business: enterprise automation software">OFBiz</a></li>
314+<li><a href="http://olingo.apache.org/" title="OASIS OData protocol libraries">Olingo</a></li>
315+<li><a href="http://oltu.apache.org/" title="OAuth protocol implementation in Java">Oltu</a></li>
316+<li><a href="http://onami.apache.org/" title="Development and maintenance of a set of Google Guice extensions">Onami</a></li>
317+<li><a href="http://oodt.apache.org/" title="Object Oriented Data Technology (middleware metadata)">OODT</a></li>
318+<li><a href="http://oozie.apache.org/" title="A workflow scheduler system to manage Apache Hadoop jobs.">Oozie</a></li>
319+<li><a href="http://climate.apache.org/" title="Climate model evaluation">Open Climate Workbench</a></li>
320+<li><a href="http://openjpa.apache.org/" title="OpenJPA: Object Relational Mapping for Java">OpenJPA</a></li>
321+<li><a href="http://openmeetings.apache.org/" title="OpenMeetings: Web-Conferencing and real-time collaboration">OpenMeetings</a></li>
322+<li><a href="http://opennlp.apache.org/" title="Machine learning based toolkit for the processing of natural language text">OpenNLP</a></li>
323+<li><a href="http://openoffice.apache.org/" title="An open-source, office-document productivity suite">OpenOffice</a></li>
324+<li><a href="http://openwebbeans.apache.org/" title="OpenWebBeans: JSR-299 Context and Dependency Injection for Java EE Platform Implementation">OpenWebBeans</a></li>
325+<li><a href="http://pdfbox.apache.org/" title="Java library for working with PDF documents">PDFBox</a></li>
326+<li><a href="http://perl.apache.org/" title="Dynamic websites using Perl">Perl</a></li>
327+<li><a href="http://pig.apache.org/" title="Platform for analyzing large data sets">Pig</a></li>
328+<li><a href="http://pivot.apache.org/" title="Rich Internet applications in Java">Pivot</a></li>
329+<li><a href="http://poi.apache.org/" title="Java API for OLE 2 Compound and OOXML Documents">POI</a></li>
330+<li><a href="http://portals.apache.org/" title="Portal technology">Portals</a></li>
331+<li><a href="http://qpid.apache.org/" title="Multiple language implementation of the latest Advanced Message Queuing Protocol (AMQP)">Qpid</a></li>
332+<li><a href="http://rave.apache.org/" title="Web and social mashup engine">Rave</a></li>
333+<li><a href="http://river.apache.org/" title="Jini service oriented architecture">River</a></li>
334+<li><a href="http://roller.apache.org/" title="Java blog server">Roller</a></li>
335+<li><a href="http://santuario.apache.org/" title="XML Security in Java and C++">Santuario</a></li>
336+<li><a href="http://servicemix.apache.org/" title="Enterprise Service Bus">ServiceMix</a></li>
337+<li><a href="http://shindig.apache.org/" title="Opensocial Reference Implementation">Shindig</a></li>
338+<li><a href="http://shiro.apache.org/" title="Powerful and easy-to-use application security framework">Shiro</a></li>
339+<li><a href="http://sis.apache.org/" title="Spatial Information System">SIS</a></li>
340+<li><a href="http://sling.apache.org/" title="Web Framework for JCR Content Repositories">Sling</a></li>
341+<li><a href="http://spamassassin.apache.org/" title="Mail filter to identify spam">SpamAssassin</a></li>
342+<li><a href="http://spark.apache.org/" title="Fast and general engine for large-scale data processing">Spark</a></li>
343+<li><a href="http://sqoop.apache.org/" title="Bulk Data Transfer for Hadoop and Structured Datastores">Sqoop</a></li>
344+<li><a href="http://stanbol.apache.org/" title="Reusable components for semantic content management">Stanbol</a></li>
345+<li><a href="http://steve.apache.org/" title="Apache's Python based single transferable vote software system">STeVe</a></li>
346+<li><a href="http://struts.apache.org/" title="Model 2 framework for building Java web applications">Struts</a></li>
347+<li><a href="http://subversion.apache.org/" title="Version Control">Subversion</a></li>
348+<li><a href="http://synapse.apache.org/" title="Enterprise Service Bus and Mediation Framework">Synapse</a></li>
349+<li><a href="http://syncope.apache.org/" title="Managing digital identities in enterprise environments">Syncope</a></li>
350+<li><a href="http://tajo.apache.org/" title="Big data warehouse system on Hadoop">Tajo</a></li>
351+<li><a href="http://tapestry.apache.org/" title="Component-based Java Web Application Framework">Tapestry</a></li>
352+<li><a href="http://tcl.apache.org/" title="Dynamic websites using TCL">Tcl</a></li>
353+<li><a href="http://thrift.apache.org/" title="Framework for scalable cross-language services development">Thrift</a></li>
354+<li><a href="http://tika.apache.org" title="Content Analysis and Detection Toolkit">Tika</a></li>
355+<li><a href="http://tiles.apache.org/" title="A templating framework for web application user interfaces">Tiles</a></li>
356+<li><a href="http://tomcat.apache.org/" title="A Java Servlet and JSP Container">Tomcat</a></li>
357+<li><a href="http://tomee.apache.org/" title="Java EE Web Profile built on Tomcat">TomEE</a></li>
358+<li><a href="http://trafficserver.apache.org/" title="A fast, scalable and extensible HTTP/1.1 compliant caching proxy server">Traffic Server</a></li>
359+<li><a href="http://turbine.apache.org/" title="A Java Servlet Web Application Framework and associated component library">Turbine</a></li>
360+<li><a href="http://tuscany.apache.org/" title="An SCA based Service Composition Framework">Tuscany</a></li>
361+<li><a href="http://uima.apache.org/" title="Framework and annotators for unstructured information analysis">UIMA</a></li>
362+<li><a href="http://vcl.apache.org/" title="Virtual Computing Lab">VCL</a></li>
363+<li><a href="http://velocity.apache.org/" title="A Java Templating Engine">Velocity</a></li>
364+<li><a href="http://ws.apache.org/" title="Projects related to Web Services">Web Services</a></li>
365+<li><a href="http://whirr.apache.org/" title="Libraries for running Cloud Services">Whirr</a></li>
366+<li><a href="http://wicket.apache.org/" title="Component-based Java Web Application Framework.">Wicket</a></li>
367+<li><a href="http://wink.apache.org/" title="RESTful Web services Framework">Wink</a></li>
368+<li><a href="http://wookie.apache.org/" title="Widgets for Applications">Wookie</a></li>
369+<li><a href="http://xalan.apache.org/" title="XSLT processors in Java and C++">Xalan</a></li>
370+<li><a href="http://xerces.apache.org/" title="XML parsers in Java, C++ and Perl">Xerces</a></li>
371+<li><a href="http://xmlbeans.apache.org/" title="XML-Java binding tool">XMLBeans</a></li>
372+<li><a href="http://xmlgraphics.apache.org/" title="Conversion from XML to graphical output">XML Graphics</a></li>
373+<li><a href="http://zookeeper.apache.org/" title="Centralized service for maintaining configuration information">ZooKeeper</a></li>
374+</ul>
375+ </div>
376+ <div class="grid_3">
377+ <h4>Foundation</h4>
378+ <ul>
379+ <li><a href="/foundation/faq.html">FAQ</a></li>
380+ <li><a href="/foundation/glossary.html">Glossary</a></li>
381+ <li><a href="/licenses/" title="Overview of the Apache Licenese">Licenses</a></li>
382+ <li><a href="/foundation/marks/" title="Apache marks policies and listing">Trademarks</a></li>
383+ <li><a href="/foundation/news.html" title="Official news feed of Foundation announcements">News</a></li>
384+ <li><a href="/press/" title="Press, Media, and Analyst contact">Press Inquiries</a></li>
385+ <li><a href="/foundation/records/" title="Formal corporate records and board meeting minutes">Public Records</a></li>
386+ <li><a href="/foundation/mailinglists.html" title="Mailing lists and Apache">Mailing Lists</a></li>
387+ <li><a href="/foundation/sponsorship.html" title="Sponsor the Foundation">Sponsorship</a></li>
388+ <li><a href="/foundation/contributing.html" title="Donate to the Foundation">Donations</a></li>
389+ <li><a href="/foundation/buy_stuff.html" title="Buy Apache branded merchandise">Buy Stuff</a></li>
390+ <li><a href="/foundation/thanks.html" title="Thank you to our Sponsors">Thanks</a></li>
391+ <li><a href="/foundation/contact.html" title="Contact Us">Contact</a></li>
392+ </ul>
393+ </div>
394+ <div class="grid_3 suffix_1">
395+ <h4>Foundation Projects</h4>
396+ <ul>
397+ <li><a href="http://attic.apache.org/" title="Inactive projects repository">Attic</a></li>
398+ <li><a href="/foundation/conferences.html" title="Meetings of developers and users">Conferences</a></li>
399+ <li><a href="http://community.apache.org/" title="Helping newcomers to the ASF">Community Development</a></li>
400+ <li><a href="http://incubator.apache.org/" title="Shepherd for new projects">Incubator</a></li>
401+ <li><a href="/dev/" title="ASF Infrastructure: Operations and howto documents for PMCs and contributors">Infrastructure</a></li>
402+ <li><a href="http://labs.apache.org/" title="The Innovation Laboratories of the Apache Software Foundation">Labs</a></li>
403+ <li><a href="/legal/" title="Legal Affairs">Legal Affairs</a></li>
404+ <li><a href="/press/" title="Public Relations">Public Relations</a></li>
405+ <li><a href="/security/" title="Security">Security</a></li>
406+ <li><a href="/travel/" title="Travel Assistance">Travel Assistance</a></li>
407+ </ul>
408+ </div>
409+
410+ <div class="grid_3">
411+ <h4>Community</h4>
412+ <ul>
413+ <li><a href="http://people.apache.org/" title="Apache committer homepages">People</a></li>
414+ <li><a href="/memorials/" title="In memoriam of past committers">Memorials</a></li>
415+ <li><a href="http://feathercast.apache.org/" title="Apache Podcasts">Feathercast</a></li>
416+ <li><a href="http://blogs.apache.org/" title="Apache Project Blogs">Project Blogs</a></li>
417+ <li><a href="http://planet.apache.org/committers/" title="Apache Committers' Blogs">PlanetApache</a></li>
418+ </ul>
419+ </div>
420+ <div class="grid_3">
421+ <h4>How It Works</h4>
422+ <ul>
423+ <li><a href="/foundation/how-it-works.html">Introduction</a></li>
424+ <li><a href="/foundation/how-it-works.html#meritocracy">Meritocracy</a></li>
425+ <li><a href="/foundation/how-it-works.html#structure">Structure</a></li>
426+ <li><a href="/foundation/how-it-works.html#roles">Roles</a></li>
427+ <li><a href="/foundation/how-it-works.html#management">Collaboration</a></li>
428+ <li><a href="/foundation/how-it-works.html#incubator">Incubator</a></li>
429+ <li><a href="/foundation/how-it-works.html#other">Other entities</a></li>
430+ <li><a href="/foundation/glossary.html">Glossary</a></li>
431+ <li><a href="/foundation/voting.html">Voting</a></li>
432+ </ul>
433+ </div>
434+ </div>
435+ <div class="clear"></div>
436+
437+ </div>
438+ <div id="copyright" class="container_16">
439+ <p>Copyright &#169; 2012 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
440+ </div>
441+ </body>
442+</html>
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Show on old repository browser