Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Obtaining old versions of Perl -- Perl 1.0

by eyepopslikeamosquito (Bishop)
on Dec 08, 2017 at 08:51 UTC ( #1205152=note: print w/replies, xml ) Need Help??


in reply to Obtaining old versions of Perl

Perl 4? Why not go all the way back to the 1987? You should be able to build Perl 1.0 from source on modern machines.

Found Perl 1.0_16 by Richard Clamp along with a hacker news story. This old p5p thread describes Richard's motivation for creating Perl 1.0_16 in Dec 2003. Also found an old Perl monks node from 2007: Does somebody have a PERL 0 (or 1.0) code

I was able to build Richard Clamp's perl-1.0_16 on a recent Linux box with just one hack to perl.h (added the #if 0 below to silence a compile error):

#if 0 #ifdef CHARSPRINTF char *sprintf(); #else int sprintf(); #endif #endif

Though primitive, it seemed to kinda work, at least this sanity test program worked fine:

print "hello world\n"; $x = 5; if ($x == 5) { print "x is 5\n"; } if ($x eq '5') { print "x is '5'\n"; }
If you attempt anything fancy (like use strict) it lets you know with the helpful error message "Memory fault". :)

See also gunie, by Allison Randal, an implementation of Perl 1.0 written in Go (which includes the original Perl 1.0 test suite).

Note that Perl 1.0 was officially released on 18 December 1987 (as mentioned in this quiz).

Update: See also: modern perl 1.0 by cognominal (Oct 2021). BTW, I wonder if cognominal is a new incarnation of stefp.

... and a few more refs from that thread:

Replies are listed 'Best First'.
Re^2: Obtaining old versions of Perl -- Perl 1.0
by cognominal (Initiate) on Oct 19, 2021 at 17:03 UTC

    Cognominal is indeed the not so new incarnation of stefp. I wanted to figure out the conceptual trajectory from Perl 1.0 to Raku and beyond. For an even larger narrative arc, see Having it both ways.

    Thx

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1205152]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2022-07-06 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?