Discussion:
[Pleac-discuss] Pike recipes
Chris Angelico
2011-03-16 02:11:52 UTC
Permalink
Hi! Just joined the list, so apologies if I'm breaking protocol.

As a great fan of the Pike language, I would like to contribute a
recipe or two. I took a copy of the appropriate section from
pleac_perl.data and it looks like this:


# ^^PLEAC^^_17.0
#-----------------------------
use Socket;

However, working code in pleac_pike.data looks like this:


// @@PLEAC@@_10.12
// Like so many modern languages, Pike implements exception handling
// using the 'catch' and 'throw' keywords

Which is the appropriate annotation format? Caret or at-sign?

I'm currently putting together all of section 17 for Pike (although no
promises, I mightn't finish the whole thing). Is it appropriate to
simply send it to the list as an attachment, one flat file with the
whole section?

Thanks!

Chris Angelico
aka Rosuav
Guillaume Cottenceau
2011-03-16 07:45:11 UTC
Permalink
Post by Chris Angelico
Hi! Just joined the list, so apologies if I'm breaking protocol.
As a great fan of the Pike language, I would like to contribute a
recipe or two. I took a copy of the appropriate section from
# ^^PLEAC^^_17.0
#-----------------------------
use Socket;
// Like so many modern languages, Pike implements exception handling
// using the 'catch' and 'throw' keywords
Which is the appropriate annotation format? Caret or at-sign?
any of these two forms.
Post by Chris Angelico
I'm currently putting together all of section 17 for Pike (although no
promises, I mightn't finish the whole thing). Is it appropriate to
simply send it to the list as an attachment, one flat file with the
whole section?
yes

thanks
--
Guillaume Cottenceau - http://zarb.org/~gc/
Chris Angelico
2011-03-18 00:53:12 UTC
Permalink
Attached is Pike section 17. It's incomplete in parts, but the basics
are all there.

Chris Angelico

Loading...