pyPEG 1.4 released

2011-08-04 Thread Volker Birk
New: This release fixes some bugs with packrat parsing.

Homepage: http://fdik.org/pyPEG
Download: http://fdik.org/pyPEG/pyPEG.py

Python is a nice scripting language. It even gives you access to it's
own parser and compiler. It also gives you access to different other
parsers for special purposes like XML and string templates.

But sometimes you may want to have your own parser. This is what's pyPEG
for. And pyPEG supports Unicode. 

What is PEG?

PEG means Parsing Expression Grammar. It's something like the idea of
Regular Expressions for context free languages; a very clear explanation
you'll find in the Wikipedia article about PEG.

With PEGs you can describe the same languages like with BNF (and they're
even similar).

What is a Parser-Interpreter?

Common parsers are not using PEGs and top-down parsing, but LR(n) or
LL(n) and bottom-up parsing. This results in the idea of implementing
parser generators.

Because with LR(n) or LL(n) parsers you need to calculate out a DFA
first, usually you let the parser generator do this for you. The result
is a parser implementation for your BNF grammar, which was the input.
One could call a parser generator a compiler from BNF to a parser
implementation.

A Parser-Interpreter does work as an interpreter instead of being such a
compiler. Just give your grammar as input, and it parses the described
language out of text. There will be no program generated.

VB.
-- 
Volker Birk, Nobelstrasse 32, D-88131 Lindau (Bodensee), EU,
Erde, Solar-System, Orion Arm, Milchstrasse, Lokale Gruppe,
Virgo-Superhaufen, Coma-Virgo-Filament. mailto:ding...@bumens.org
http://fdik.org  D-IRCNet fdik!v...@wallaby.dingens.org
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


PyCon Ireland 2011 - Registration still open / Call for talks & sponsors / Our first keynote speaker

2011-08-04 Thread Vicky Twomey-Lee
Hi All,

PyCon Ireland registration is still open -- €40 (Student) & €60 (Normal)
Register here: https://secure.python.ie/pycon-ireland-2011

If you want to give a talk/tutorial/workshop, submit your abstract here:
http://www.python.ie/pyconireland/callfor/#paper

And if you want to sponsor (or know a company who's interested in
sponsoring) PyCon Ireland,
submit your interest here: http://python.ie/pyconireland/callfor/#sponsor

We are also happy to announce our first keynote speaker, Damien Marshall.
Damien Marshall works with Demonware as a Team Lead in Title Development. In
this role he works on developing the technologies that power the online
components of some of the worlds biggest games, such as Call of Duty. Read
more...

More details:- http://python.ie/pyconireland/

Regards,

/// Vicky

~
~~ http://irishbornchinese.com ~~
~~   http://www.python.ie ~~
~
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: Webware for Python 1.1 released

2011-08-04 Thread Christoph Zwerschke

A new version 1.1 of the venerable Webware for Python web framework
is now available for download at
http://downloads.sourceforge.net/webware/Webware-1.1.tar.gz.

This release offers some major new features, e.g. a WSGI adapter,
sessions based on shelve or Memcached, MiddleKit supporting SQLite.

Webware requires Python 2.4 now. The code base has been cleaned up and
modernized very much; all the old cruft that was only there to support
older Python versions has been removed. The older Python versions are
still supported via the latest bugfix version 1.0.3 of the 1.0 branch
which has been released along with the current version 1.1.

You can find more info on the Webware for Python homepage at
http://www.webwareforpython.org/

Support is available via the Webware for Python mailing lists at
https://sourceforge.net/mail/?group_id=4866

-- Christoph Zwerschke
--
http://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations/