Re: Python sed

"Tim Chase [email protected] [sed-users]" <[email protected]>
Newsgroups gmane.editors.sed.user
Message-ID <[email protected]>
On 2014-11-01 05:20, [email protected] [sed-users] wrote:
> I am glad to present you sed.py
> ( https://code.google.com/p/pythonsed/ ). It is a Python
> implementation of sed almost fully compliant with GNU sed 4.2 .

I enjoy seeing projects like this come to light.

> A lot of care has been given to testing. The working of sed.py is
> tested and compared with the one of GNU sed with a testing utility
> and a collection of 340 scripts (from one letter scripts to dc),
> all this being available for download.
> 
> Note also that sed.py can be used with Python 2 and 3, and that
> timings are not bad when comparing with GNU sed.

If you're looking for some additional tests in the realm of madness:

- Game of Life
  http://permalink.gmane.org/gmane.editors.sed.user/3770

- Sudoku solver
  https://github.com/avati/sudoku/blob/master/sudoku.sed

- Lisp in sed
  https://github.com/shinh/sedlisp/blob/master/sedlisp.sed

Congrats on your initial release.

-tim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.