News for hackers. Stuff that matters.
Re:SnoPy – Snobol Pattern Matching Extension for Python by stuaxo on Sunday August 23, 2015 @01:41PM (#10106160)
Needs uploading to pypi, lots of devs brought into python via django etc 'pip install' basically everything.
Re:SnoPy – Snobol Pattern Matching Extension for Python by shoo on Sunday August 23, 2015 @05:26PM (#10106797)
It depends upon both SWIG and Gnat (an Ada implementation, apparently), so even if it were pip installable, you'd need to install those two non-python dependencies via another mechanism.
Re:SnoPy – Snobol Pattern Matching Extension for Python by spoondan on Sunday August 23, 2015 @07:20PM (#10107126)
Plenty of PyPI packages have external dependencies (e.g., anything that uses Cython will require a C compiler). SWIG isn't needed, since it is a source generator, and it's trivial to ship the generated source as part of the release process. GNAT is not commonly installed, but since it's part of GCC, it's packaged for every major OS and distribution. So there's one external dependency that is trivially installed, and many packages have similar requirements.
Re:SnoPy – Snobol Pattern Matching Extension for Python by stuaxo on Monday August 24, 2015 @12:53AM (#10107970)
That's fine. I only use things I can install using on a virtualenv using pip.

For personal projects I'll use workarounds to make things not on pypi work, but don't trust it enough to for work projects.

Re:SnoPy – Snobol Pattern Matching Extension for Python by enalicho on Sunday August 23, 2015 @09:51PM (#10107492)
Take a look at http://sourceforge.net/projects/snopy/. The project hasn't been updated for 3 years, and the files haven't been updated since 2002. I'm not sure that the dev is particularly active any more.
Re:SnoPy – Snobol Pattern Matching Extension for Python by stuaxo on Monday August 24, 2015 @12:56AM (#10107981)
I've been contacting a lot of older Python graphics projects recently and you would be surprised how many people will do updates (particularly when you supply a patch).

This isn't something I need right now, so you t won't be me this time.

Re:SnoPy – Snobol Pattern Matching Extension for Python by mycelium on Sunday August 23, 2015 @05:23PM (#10106788)
+1 I've been doing python for 10 years. I pip install everything. If it's not on pypi it doesn't exist.
Re:SnoPy – Snobol Pattern Matching Extension for Python by mseri on Sunday August 23, 2015 @07:05PM (#10107078)
And possibly move from sourceforge
Re:SnoPy – Snobol Pattern Matching Extension for Python by nickpsecurity on Sunday August 23, 2015 @11:45PM (#10107806)
There was a SPITBOL/SNOBOL thread recently. I thought: no need to use the language as we could probably do it in Python, LISP, or something similarly flexible. Just steal the good parts of the past language while having all the good parts of the current one. And BOOM. :)
Re:SnoPy – Snobol Pattern Matching Extension for Python by WorldMaker on Monday August 24, 2015 @11:59AM (#10110731)
Skimming this the impression I get is that you could reduce the dependencies and rewrite it on top of a more modern parser approach such as a PEG [Parsing Expression Grammar] or parser-combinator and in fact the SNOBOL pattern matching here is very PEG-like and you could get away with just renaming/aliasing some of the basic PEG combinators to do this pattern matching and learning the PEG library of choice's conventions and likely get the bonus of IDE autocomplete/intellisense.