Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
110 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
README.rst | ||
setup.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
Metadata-Version: 1.0 | ||
Name: pijnu | ||
Version: 20090619 | ||
Version: 20110610 | ||
Summary: text parsing & processing tool | ||
Home-page: http://spir.wikidot.com/pijnu | ||
Author: Denis Derman | ||
Author-email: denis.spir@free.fr | ||
Home-page: http://www.github.com/peter17/pijnu | ||
Author: Peter Potrowl | ||
Author-email: peter017@gmail.com | ||
License: GPL3 | ||
Description: 'pijnu' is | ||
* a parsing language extended from PEG, | ||
* a parser generator for grammars written using this language, | ||
* a tool for post-match processing parse results. | ||
* a tool to help processing processing parse results. | ||
|
||
'pijnu' is intended to be clear, easy, practicle. | ||
'pijnu' is intended to be clear, easy, practical. | ||
|
||
Platform: unix-like | ||
Platform: more? needs tests | ||
Platform: Any | ||
Classifier: License :: GPL | ||
Classifier: Development Status :: 4 - Beta | ||
Classifier: Topic :: Software Development | ||
Classifier: Topic :: Text Processing | ||
Classifier: Topic :: Software Development :: Libraries :: Python Modules | ||
Classifier: Intended Audience :: Developers | ||
Classifier: Programming Language :: Python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,50 @@ | ||
# coding: utf8 | ||
|
||
|
||
''' © copyright 2009 Denis Derman | ||
contact: denis <dot> spir <at> free <dot> fr | ||
This file is part of PIJNU. | ||
PIJNU is free software: you can redistribute it and/or modify it | ||
under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
PIJNU is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with PIJNU: see the file called 'GPL'. | ||
If not, see <http://www.gnu.org/licenses/>. | ||
''' | ||
''' p i j n u | ||
client interface to export useful names | ||
dependance structure: | ||
pijnu | ||
library | ||
tools (used everywhere) | ||
parser | ||
pattern | ||
result (includes builtin transforms) | ||
exception | ||
generator <-- lib | ||
samples <-- generator, lib | ||
test <-- generator, lib | ||
''' | ||
# -*- coding: utf8 -*- | ||
|
||
''' | ||
© 2009 Denis Derman (former developer) <denis.spir@gmail.com> | ||
© 2011 Peter Potrowl (current developer) <peter017@gmail.com> | ||
This file is part of PIJNU. | ||
PIJNU is free software: you can redistribute it and/or modify it | ||
under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
PIJNU is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with PIJNU: see the file called 'GPL'. | ||
If not, see <http://www.gnu.org/licenses/>. | ||
''' | ||
|
||
''' | ||
PIJNU | ||
Client interface to export useful elements | ||
Dependance structure: | ||
pijnu | ||
library | ||
tools (used everywhere) | ||
parser | ||
pattern | ||
result (includes builtin transforms) | ||
exception | ||
generator <-- lib | ||
samples <-- generator, lib | ||
test <-- generator, lib | ||
''' | ||
|
||
### import/export | ||
import tools # python language basic tools | ||
import library # pijnu internal library | ||
import generator # parser & pattern generation | ||
import tools # custom python tools | ||
import library # pijnu internal library | ||
import generator # parser & pattern generation | ||
|
||
# allow user write "from pijnu import makeParser" | ||
from generator import makeParser, getPattern | ||
from generator import makeParser, getPattern, fileText |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters