Re: Perl6 use cases

2018-11-12 Thread Laurent Rosenfeld via perl6-users
Hi,
answering a bit late, but better late than never. A couple of uses of Perl
6 at $work.

I'm working, among other things, on a very large application running on VMS
(about 3,500 programs). We"re using a few dozens Perl programs on these
platforms, but we're stuck with a very old version of Perl (5.8).

As you might imagine, I'm not using Perl 6 on VMS servers.

But I have been using Perl 6 grammars to parse programs running on these
VMS servers. One such project was a prototype to demonstrate the
possibility to convert programs written in a proprietary programming
language (actually a subset of that programming language) into Java code.
The second one was to analyze DCL scripts (VMS equivalent of shell scripts)
and extract information about which script is calling which script, which
file they read from and write to, and so on, with the purpose of populating
an extensive graphical documentation database (under Neo4J).

I even delivered a talk on these projects (especially the second one) at
The Perl Conference (TPC, formerly YAPC-Eur) in Glasgow last summer. The
video is on line.

Regards,
Laurent.



Le lun. 5 nov. 2018 à 05:19, N6ghost  a écrit :

> Hi all,
>
> Been looking around trying to find, anyone who is actually using Perl6.
> and what they are using it for.
>
> and if they are, what are there thoughts on it?
>
> Thanks
>
> -N6Ghost
>


RE: Perl6 use cases

2018-11-05 Thread Mark Devine
N6Ghost,

I use Perl 6 exclusively now for "systems" work.

- SSH commands to 500 systems to gather their info using 
promises/supplies/channels
- make Perl 6 modules for cantankerous system management utilities, 
then write scripts that use my .pm6 modules for various purposes (I.e. 
enterprise backup/restore clients)
- organize various REST APIs (I.e. vSphere, ISP OpCenter, ILMT) in .pm6 
modules, get status, send to NOC consoles to alert on-call people, email 
administrators
- parse arcane utilities (I.e. IBM's tape utility) that produce 
structured output with grammars, then take action (eject some tapes, check-in 
only inbound cartridges that are returning from the vault, etc.)

I began this use-pattern in 1996 with Perl 4, then to 5.  I started to get 
annoyed by the things that many people have pointed out about Perl.  I looked 
at other scripting languages, but I saw a lot of the same annoyances.  Perl 6 
doesn't annoy me at all -- flows great for me, very elegant.  Using 
Python/Ruby/Perl5/etc. again makes me wince.

I think that Perl 6 has long term potential.  I don't want to strategically 
plan to become deeply proficient in multiple languages if I can avoid it.  (My 
spouse is Chinese and I'm expected to learn Mandarin too!)  Perl 6 appears to 
have what I need until retirement (53 now).  I think that it has legs.

Mark


-Original Message-
From: N6ghost  
Sent: Sunday, November 4, 2018 23:19
To: perl6-users@perl.org
Subject: Perl6 use cases

Hi all,

Been looking around trying to find, anyone who is actually using Perl6.
and what they are using it for.

and if they are, what are there thoughts on it?

Thanks

-N6Ghost


Re: Perl6 use cases

2018-11-05 Thread Vittore Scolari
Hi,

whenever I want to have fun, and I need to parse a non-trivial file format,
dealing with the output of special purpose software performing analysis on
experimental data, I choose Perl 6 due to the fact that composability makes
grammars very readable and logical-looking. On the other end, I still often
pick Perl 5 for the same reason.


On Mon, Nov 5, 2018 at 10:08 AM Theo van den Heuvel 
wrote:

> Hi,
>
> I have been using it for a couple of years and my main use case is heavy
> and complex syntactic analysis. In my experience no other language comes
> close for this kind of use.
>
> Perl6 takes some getting used to, but it is well-designed. Some aspects
> of the design are not yet part of the Rakudo distribution, but I have
> never missed these. The current implementation serves my needs very
> well. I am hoping for some optimisation, but I consider my time as a
> developer more valuable than that of my computer. I am already a happy
> user.
>
> The community is extremely helpful.
>
> best wishes,
> Theo van den Heuvel
>
> N6ghost schreef op 2018-11-05 05:18:
> > Hi all,
> >
> > Been looking around trying to find, anyone who is actually using Perl6.
> > and what they are using it for.
> >
> > and if they are, what are there thoughts on it?
> >
> > Thanks
> >
> > -N6Ghost
>
> --
> Theo van den Heuvel
> Van den Heuvel HLT Consultancy
>


Re: Perl6 use cases

2018-11-05 Thread Richard Hainsworth

Hi,

I use Perl 6 all the time, wherever I can. But for some things I do, I 
can't use Perl 6, for example Android apps, or embedded chip programming.


I have used a number of languages, starting with Fortran and assembler, 
then Pascal, Snobol, C and recently Java and php.


Perl 6 can be used for light scripts with untyped variables and built in 
operators, or for 'heavy' code with typed variables and full scale 
objects. It is a very readable language.


Whenever I have to move away from Perl 6 to another 'more popular' 
language, I end up cursing its stupidity or endless repetitions of the 
same names before actually writing meaningful code.


A lot of modern programming is more about infrastructure than the 
language itself. Who would actually want to write Java if Android or 
Apple apps did not force the issue? Ditto javascript and client side web 
programming. Ditto Basic for things like Office-type applications like 
spreadsheets and word processors. PHP for server side programming.


I have tried Python, but wherever it was needed I could use Perl, and 
now Perl 6.


Just as Perl regular expressions have been adopted in other languages, 
so too I think that Perl 6 grammars, Junctions, hyper operators, 'with' 
statements (flow control based on definiteness rather than truthiness) 
will find their way into other languages.


So yeah, I actually use Perl 6.

finanalyst

On 05/11/2018 12:18, N6ghost wrote:

Hi all,

Been looking around trying to find, anyone who is actually using Perl6.
and what they are using it for.

and if they are, what are there thoughts on it?

Thanks

-N6Ghost


Re: Perl6 use cases

2018-11-04 Thread Patrick Spek via perl6-users
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

I've been using Perl 6 in my personal projects to create an IRC bot
(using IRC::Client), a number of modules, and currently trying to set
up a new mail environment with a management API built with Cro.

At work, I've used Perl 6 to deal with DMARC notifications from Google.

In my experience, it allows me to write out my thoughts to working code
with very little effort, and still keep it readable.

On Sun, 04 Nov 2018 23:18:53 -0500
N6ghost  wrote:

> Hi all,
> 
> Been looking around trying to find, anyone who is actually using
> Perl6. and what they are using it for.
> 
> and if they are, what are there thoughts on it?
> 
> Thanks
> 
> -N6Ghost



- -- 
With kind regards,

Patrick Spek


www:  https://www.tyil.work/
mail: p.s...@tyil.nl
pgp:  EB9E A484 1672 2D37 16F5  A799 9ACF E193 FFBC 1F50

mastodon: @tyil@mastodon.social
github:   @Tyil
gitlab:   @tyil

-BEGIN PGP SIGNATURE-

iQEzBAEBCgAdFiEEtvaXdC78r18jzlHVAx1lkC6ECCEFAlvf6XsACgkQAx1lkC6E
CCGPCgf/QZRciqw4HCLVEpqAeKVVk66Z2+qZS01uKZsWYgHggKo32NU2wy24Ef9y
eQbH81W7pLmtVFOybNH82XNHIj8kg4nGZDgqsM9Jlccsv5mh5Gea5x4MPUiaVP2X
jgDnaK5ZsgSm/2ThNJ+1QboFHyrcLYNq6oT8b/tgeOWfXt0I10BxCfK8+8HKSj7w
Y6urFks/L5bqsoNbNS6UDKZI/qUbR8gGeB3ArjFN04n464uwg/Wc4fUXTZR8hEkG
YDcsCkQx5Uyc4aRPVUFa61KaHIU1BvfWirW2+leaYIgkzBcjw4pyd6Nq2bZ2dFfC
qiDsrFZ2Vk/5/KKNIGyDs0bAG9Hbtg==
=+huv
-END PGP SIGNATURE-