Did I find the right examples for you? yes no

All Samples(158)  |  Call(0)  |  Derive(0)  |  Import(158)
pyparsing module - Classes and methods to define and execute parsing grammars

The pyparsing module is an alternative approach to creating and executing simple grammars,
vs. the traditional lex/yacc approach, or the use of regular expressions.  With pyparsing, you
don't need to learn a new syntax for defining grammars or matching expressions - the parsing module
provides a library of classes that you use to construct the grammar directly in Python.

Here is a program to parse "Hello, World!" (or any greeting of the form C{"<salutation>, <addressee>!"})::

    from pyparsing import Word, alphas(more...)

src/n/e/networkx-HEAD/examples/graph/football.py   networkx(Download)

src/f/u/func-shell-1.4/examples/fsh_query.py   func-shell(Download)

src/f/u/func-shell-HEAD/examples/fsh_query.py   func-shell(Download)

src/d/c/dcpu16py-HEAD/asm_pyparsing.py   dcpu16py(Download)

src/m/h/MHST2013-14-HEAD/edx_all/edx-platform/common/lib/capa/capa/inputtypes.py   MHST2013-14(Download)

src/m/a/matplotlib-1.3.1/setupext.py   matplotlib(Download)

src/m/h/MHST2013-14-HEAD/edx_all/edx-platform/lms/djangoapps/courseware/module_render.py   MHST2013-14(Download)

src/m/u/MUSS-HEAD/muss/commands/world.py   MUSS(Download)

src/m/u/MUSS-HEAD/muss/commands/social.py   MUSS(Download)

src/m/u/MUSS-HEAD/muss/commands/help.py   MUSS(Download)

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next