Search the web
Sign In
New User? Sign Up
snobol
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
SNOBOL at YAPC, the Perl conference   Message List  
Reply | Forward Message #829 of 883 |
Re: [snobol] Re: SNOBOL at YAPC, the Perl conference

FWIW, it is my understanding that the Ada routines for pattern matching
implement a subset of full SNOBOL pattern matching capabilities, and even that
with rather clumsy syntax, and as a result are more likely to make people think
they have equivalent (and perhaps disappointing) capability when they in fact do
not... which might do more to KILL interest in SPITBOL than to enhance it. :-(

Mike Radow wrote:
> -
> _Thanks_ for the incisive comments, Mr. Aksjghkajshd! ?Are you _actually_
Scott Walters? No surprise if "yes"... ,,,and,,,:
>
> --- On Sat, 6/27/09, aksjghkajshd wrote: ...snipped...
> -
>> ...
>> http://pmichaud. com/2009/ pres/ has some good talks on getting
>> started with PGE, the Parrot Grammar Engine, and the other tools
>> for bootstrapping languages under Parrot. I have no doubt the
>> Parrot guys would be flattered by the interest. ...
> -
> I'll _support_ anything that makes life easier!
>
> The magnitude of projects like Parrot (and Mono and Portable, too) makes it
remarkable that a group of guys can get anything out the door: Most of them have
never met eyeball-to-eyeball.
> +
> Mono..........: http://en.wikipedia.org/wiki/Mono_(software)
> -
> Project.Net...: http://en.wikipedia.org/wiki/Portable.NET
> +
> In structure, these projects are very different from, say, Linux, Apache, or
MySQL, which are highly centralized and hierarchical... So the "Parrot guys"
_deserve_ the flattery!
>
>
>> ...One school of thought expects Perl 5 will be automatically
>> converted to Perl 6 by a program running inside Perl 5;
>> another school expects the existing Perl 5 interpreter to be
>> embedded in a Parrot app; another possible end result is having
>> Perl 5, vaguely specified as it is, implemented as a language
>> under Parrot.
> -
> When early specs came out for Perl 6, several of us looked into using a
SNOBOL4 program to scan Perl 5 _source_, at least to scan for conflicts. This,
we reasoned, would be useful _even_if_ a complete conversion was not possible.
In many cases, tho' admittedly not all, it did look like a large portion of
programs _could_ be fully "automatically" converted. Of course, there are likely
numerous (pathological) cases which we missed. (My Dad used to call these
abusive "corner cases" with a special name: ''Sharp corner cases''.)
>
> The "automatic" conversion possibility brings me to your next point...:
>
>> I can't say which if any will ultimately happen, but please be
>> aware that there is currently no direct path to having access
>> to Perl 5's CPAN from Parrot. At least none that I'm aware of.
> -
> Agree, but CPAN modules are available as source. Conversion, either via "scan
and fix" -or- "automatically" would suffice, since the modified source would be
retained. Some modules might never be converted, but then some CPAN modules seem
to be rarely/never used, except by their donor...
>
> Since Perl 6 will be implemented for Parrot (?is this the correct
terminology?), there will be a natural _reuse_ of CPAN modules which were
converted by "regular" Perl 6 users, who have not interest nor contact with the
Parrot implementation. This would speed the availability of CPAN modules to
Parrot users, through no effort of their own.
>
> BTW: The "pugs" implementation is extremely clever. I'd have expected that the
Haskell-based implementation would run very slowly, but this is not the case. So
much, I guess, for the common wisdom that "functional languages are always
slow".
> +
> For the curious, please see...:
> +
> http://en.wikipedia.org/wiki/Pugs
> &
> I first mistyped Pugs into Wikipedia, omitting the trailing "s" and thus
learned a lot about little dogs...
> &&
> MicroSoft's functional language "F#" (say "F sharp") is not speedy. A few
experiments were disappointing. I was only curious since it is an MS .NET
language and thus fully inter-operable with the other CLR / .NET languages.
> +
> If curious: http://en.wikipedia.org/wiki/F_Sharp_programming_language
> &
> F# is quite similar to OCaml: http://en.wikipedia.org/wiki/OCaml
> +
> But OCaml is _not_ a .NET language.
> &&
> For a full list of .NET languages (a list similar to the earlier one I posted
for Parrot languages), please see the following URL. _However_, it's worth
noting that _only_a_few_ of these come from MicroSoft, e.g., VB.NET, C++.NET,
C#.NET, and F#.NET ... I may have forgotten a few.
> -+-
> Further, it may surprise some readers of the S4LS to read that Robert Dewar's
company, AdaCore, has a GNAT (=Gnu Nyu Ada Translator?) for .NET. It is GPL-ed
and there is information at...:
> +
> http://gnat-for-net-gpl-edition.software.informer.com/
> +
> This is of _particular_note_, since Robert wrote a SNOBOL4-like set of
pattern-matching routines for Ada. (These have since been translated to Java
and, I think, also to Phython. _Phil_B_: ?Right? Please correct me on this, if
reqd.:TIA!) These Ada routines seem to run fine on the GNAT.NET version, which
means that SNOBOL4-pattern matching is available to all .NET languages, with the
passing of suitable structures between the various .NET languages.
>
> Perhaps somebody will code a suitable wrapper for the Ada program which _only_
does S4-style pattern-matching, when called. This could be legally be freeware
and would make a great article for TechNet, etc.! It would
> also be boon to the entire .NET world, stuck as it is in the morass of
REGEX...
> +
> I hope that somebody who is familiar with VB/C++/C#.NET and SNOBOL4 and is
willing to learn a small amount of Ada will have the time to experiment with
this concept. As noted in my prior posting: _This_ is the kind of "marketing"
which could give SNOBOL4 (or at least its pattern-matcher) a great deal of
_visibility_!
>
> As mentioned above, here is (fairly current) list of .NET languages...:
> +
> http://www.dotnetpowered.com/languages.aspx <---<<
>
> - - - -
>
> Sorry to go on so long. In these (economic) days, I don't have much time for
more than infrequent reading of emails and postings, with almost no time to
write posts...
>
> I hope that something above is of interest / use to S4LS members.
>
> Mike
> -
> -
> -=[eot]=-


--

Gordon Peterson II
http://personal.terabites.com
1977-2007: Thirty year anniversary of local area networking



Mon Jun 29, 2009 4:30 am

gep_2
Online Now Online Now
Send Email Send Email

Forward
Message #829 of 883 |
Expand Messages Author Sort by Date

http://yapc10.org/yn2009/talk/1988 I really wanted to but I failed to make it to this talk. Three days is too few. I wind up averaging 2 or 3 hours of sleep...
aksjghkajshd
Offline Send Email
Jun 25, 2009
8:18 pm

I'm interested what "one" feature of SNOBOL supposedly isn't in Perl... My suspicion is that there is a lot more than that, including things like user-defined...
Gordon Peterson
gep_2
Online Now Send Email
Jun 25, 2009
11:06 pm

On Thu, Jun 25, 2009 at 4:06 PM, Gordon Peterson<gep2@...> wrote: [snip] ... Perl has an object system, which is how a Perl programmer would ...
Andru Luvisi
glomek
Offline Send Email
Jun 26, 2009
12:01 am

Well, one of the great things about S'BOL is the comparatively simple, regular, orthogonal structure and syntax, which makes S'BOL so comparatively ...
Gordon Peterson
gep_2
Online Now Send Email
Jun 26, 2009
5:14 am

... Don't preach to the choir... take the message to the streets! There used to be a newsletter circulating not long ago with clever SNOBOL and applications...
aksjghkajshd
Offline Send Email
Jun 26, 2009
9:41 pm

... I don't consider it particularly "interesting" to do anything to support Perl, not even in a left-handed way. If you actually start trying to do that,...
Gordon Peterson
gep_2
Online Now Send Email
Jun 27, 2009
4:00 am

Hi Gordon, et al. I had to reply to this for i have been a long lover of Snobol/Spitbol and it pains no one more than me that it has not garnered the praise...
Russell Urquhart
russurquhart1
Offline Send Email
Jun 26, 2009
12:22 pm

... I don't follow the Python and Ruby communities very closely, but this "especially Perl" intrigues me. I sent over links to two talks at Perl cons about...
aksjghkajshd
Offline Send Email
Jun 26, 2009
9:08 pm

... Well, the feature in question was user defined operators, something that Perl users would *love* to have and talk about often. I know there's more than one...
aksjghkajshd
Offline Send Email
Jun 26, 2009
3:43 pm

- ... - ... - Nicely put & I concur 100%. The result, after more than a decade of users' contributions, is a *huge* and accessible repository. + It is called...
mikeradow@...
mikeradow
Offline Send Email
Jun 28, 2009
2:33 am

A few quick reactions.... 1) the same inter-operability would seem to apply to .NET-compatible languages. And (at least initially) there are probably more of...
Gordon Peterson
gep_2
Online Now Send Email
Jun 28, 2009
2:55 am

... http://pmichaud.com/2009/pres/ has some good talks on getting started with PGE, the Parrot Grammar Engine, and the other tools for bootstrapping languages...
aksjghkajshd
Offline Send Email
Jun 28, 2009
3:23 am

- ... - ... - I'll _support_ anything that makes life easier! The magnitude of projects like Parrot (and Mono and Portable, too) makes it remarkable that a...
Mike Radow
mikeradow
Offline Send Email
Jun 28, 2009
4:35 am

... Yes, I'm Scott Walters. Or SWALTERS on CPAN. I have a strong typing (C++ or Java style types) implementation for Perl, among other things. Yahoo! was...
aksjghkajshd
Offline Send Email
Jun 28, 2009
7:43 am

FWIW, it is my understanding that the Ada routines for pattern matching implement a subset of full SNOBOL pattern matching capabilities, and even that with...
Gordon Peterson
gep_2
Online Now Send Email
Jun 29, 2009
4:30 am

... My Python package depends on my C translation of the Ada routines, which could be embedded into Perl as well, by writing "XS" g(l)ue (or any other means of...
Phil Budne
pbudne2
Offline Send Email
Jul 1, 2009
1:47 pm

- ... - ... - ... - Figured as much, from your knowledge & informed comments about Perl... [big snip] ... - I did _not_ know this: The source of the CPAN...
Mike Radow
mikeradow
Offline Send Email
Jun 29, 2009
3:16 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help