Mercurial > hg > Members > anatofuz > test_perl1_alpine
comparison README @ 0:0240ed5457bb
init
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 13 Jun 2019 18:56:19 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:0240ed5457bb |
---|---|
1 # This repository by clone | |
2 | |
3 This repository deleted due to account deletion. | |
4 I forked it to use it again. | |
5 | |
6 | |
7 Renovation of Perl 1.0 | |
8 ====================== | |
9 | |
10 By Christophe Staiesse, 3 January 2014 | |
11 Contact: chastai@skynet.be | |
12 | |
13 The aim of this project is to adapt the source code of Perl 1.0 to make it | |
14 compilable on modern operating systems. | |
15 | |
16 It is based on Perl 1.0 patchlevel 29 that I have reconstituted from 39 Usenet | |
17 articles (see Usenet/ directory). | |
18 | |
19 The project is hosted at bitbucket: https://bitbucket.org/chastai/perl-1.0 | |
20 Check the git history or the file perl.diff to see the changes made. | |
21 | |
22 The source code of Perl 1 is not difficult to follow: the front-end (perl.y | |
23 and perly.c) generates an abstract syntax tree from a Perl program. The tree is | |
24 then executed by the interpreter in cmd.c. | |
25 | |
26 The debugger (perldb) is also interesting to study. To use it, you'll need to | |
27 assign the $perl variable to the correct path to the perl executable | |
28 (e.g.: "./perl"). Type h to get help. | |
29 | |
30 Status | |
31 ------ | |
32 | |
33 Perl 1 should compile and run on BSD systems, Linux, Mac OS X and other | |
34 Unix-like operating systems. | |
35 | |
36 It has been successfully tested on Debian Wheezy, FreeBSD 9.2, Mac OS X Lion | |
37 and OpenBSD 5.4. All tests passed but many warnings are still generated by the | |
38 C compiler. | |
39 | |
40 Compilation | |
41 ------------ | |
42 | |
43 $ ./Configure -d (or ./Configure to answer the questions manually) | |
44 $ make depend (if not already done by Configure) | |
45 $ make | |
46 $ make test | |
47 | |
48 If you need to regenerate Configure (and config_h.SH and confmagic.h): | |
49 - Install dist (which contains metaconfig). I would advise to get the latest | |
50 version available on Sourceforge: http://sourceforge.net/projects/dist/. | |
51 - Run packinit | |
52 - Run metaconfig -M | |
53 | |
54 Documentation | |
55 ------------- | |
56 | |
57 Read the manual to have an idea of what features are supported in Perl 1. The | |
58 plain text version is in perl.man.txt. | |
59 | |
60 To do | |
61 ----- | |
62 - Make it run on Windows (with Cygwin?) | |
63 | |
64 - Test a2p (Awk to Perl converter) and s2p (Sed to Perl | |
65 converter) in the x2p/ directory. | |
66 | |
67 - Fix bugs and write additional tests. |