Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 57 lines (28 sloc) 1.557 kb
e518f94 @fglock Perlito5 - fix README instructions; rebuild
authored
1 Running the tests using "node.js":
155b839 @fglock Perlito5 - perlito5.js: add -Bjs option
authored
2
e518f94 @fglock Perlito5 - fix README instructions; rebuild
authored
3 # this command will compile "perlito5.js"
b4f4a35 @fglock Perlito5 - perl5: "use" is compile-time (the emitted code contains all m...
authored
4 perl perlito5.pl -I./src5/lib -Cjs src5/util/perlito5.pl > perlito5.js
e518f94 @fglock Perlito5 - fix README instructions; rebuild
authored
5
6 # this will run a single test script
ec5b1f1 @fglock Perlito5 - fix instructions in README-perlito5
authored
7 node perlito5.js -Isrc5/lib t5/01-perlito/01-sanity.t
8
e518f94 @fglock Perlito5 - fix README instructions; rebuild
authored
9 # this will run all tests
ec5b1f1 @fglock Perlito5 - fix instructions in README-perlito5
authored
10 prove -r -e 'node perlito5.js -I./src5/lib' t5
155b839 @fglock Perlito5 - perlito5.js: add -Bjs option
authored
11
4a265d7 @fglock Perlito5 - perlito5.js: docs: running tests with prove (pmurias++)
authored
12
e90bcbe @fglock Perlito5 - fix Javascript exists; add README-perlito5
authored
13 Compile the compiler to Javascript into perlito5.js:
8b2a08f @fglock Perlito5 - fix Javascript IO.slurp
authored
14
74fd490 @fglock Perlito5 - fix docs
authored
15 -- using perl and perlito5.pl:
6faebba @fglock Perlito5 - update README
authored
16
b4f4a35 @fglock Perlito5 - perl5: "use" is compile-time (the emitted code contains all m...
authored
17 perl perlito5.pl -I./src5/lib -Cjs src5/util/perlito5.pl > perlito5.js
6faebba @fglock Perlito5 - update README
authored
18
74fd490 @fglock Perlito5 - fix docs
authored
19 -- using node.js and perlito5.js:
6faebba @fglock Perlito5 - update README
authored
20
385fb81 @fglock Perlito5 - add "use" list to the AST
authored
21 node perlito5.js -I./src5/lib -Cjs src5/util/perlito5.pl > perlito5-new.js
e90bcbe @fglock Perlito5 - fix Javascript exists; add README-perlito5
authored
22
9d0bc23 @fglock Perlito5 - docs: add build scripts
authored
23 Compile the compiler to Perl5 using perl:
24
b4f4a35 @fglock Perlito5 - perl5: "use" is compile-time (the emitted code contains all m...
authored
25 perl perlito5.pl -I./src5/lib -Cperl5 src5/util/perlito5.pl > perlito5-new.pl
9d0bc23 @fglock Perlito5 - docs: add build scripts
authored
26
b4f4a35 @fglock Perlito5 - perl5: "use" is compile-time (the emitted code contains all m...
authored
27 Compile perlito5-in-browser using perl:
9d0bc23 @fglock Perlito5 - docs: add build scripts
authored
28
29 perl util-js/make-perlito5-js.sh
30
6bdf7ca @fglock Perlito5 - fix README instructions
authored
31
1e2d817 @fglock Perlito5 - move node.js README instructions up
authored
32 Running the tests using "perl":
33
34 # this will run all tests
b4f4a35 @fglock Perlito5 - perl5: "use" is compile-time (the emitted code contains all m...
authored
35 prove -r -e 'perl perlito5.pl -I./src5/lib ' t5
1e2d817 @fglock Perlito5 - move node.js README instructions up
authored
36
37
ebce10f @fglock Perlito5 - parser: add __END__, __DATA__
authored
38 Bootstrap with perl:
39
40 perl perlito5.pl -Isrc5/lib -Cperl5 src5/util/perlito5.pl > perlito5-new.pl && diff perlito5-new.pl perlito5.pl ; cp perlito5-new.pl perlito5.pl
41
42 Bootstrap with node.js:
43
44 time node perlito5.js -Isrc5/lib -Cjs src5/util/perlito5.pl > perlito5-new.js && diff perlito5-new.js perlito5.js ; cp perlito5-new.js perlito5.js
45
1e2d817 @fglock Perlito5 - move node.js README instructions up
authored
46
6bdf7ca @fglock Perlito5 - fix README instructions
authored
47 TODO:
48
49 Running the tests using perl6:
50
51 # TODO - this is not implemented yet
52 . util-perl6/setup-perlito5-perl6.sh
b4f4a35 @fglock Perlito5 - perl5: "use" is compile-time (the emitted code contains all m...
authored
53 find t5/01-perlito/*.t | perl -ne ' print "*** $_"; chomp; print ` perl perlito5.pl -I./src5/lib -Cperl6 $_ > tmp.p6 && perl6 tmp.p6 ` '
6bdf7ca @fglock Perlito5 - fix README instructions
authored
54
55
56
Something went wrong with that request. Please try again.