Skip to content

Commit

Permalink
0.42: spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Reini Urban committed Apr 9, 2012
1 parent e68634b commit a945808
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 12 deletions.
4 changes: 4 additions & 0 deletions Changes
@@ -1,3 +1,7 @@
0.42 2012-04-09 rurban@cpan.org
* index: spelling fixes
* Makefile: added watch target (inotify)

0.41 2012-04-05 rurban@cpan.org
* index: update IV,NV >= 5.10,
added arena
Expand Down
2 changes: 1 addition & 1 deletion META.yml
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: illguts
version: 0.41
version: 0.42
abstract: illustrated perl guts
author:
- Gisle Aas <gisle@aas.no>
Expand Down
9 changes: 9 additions & 0 deletions Makefile
@@ -1,5 +1,7 @@
# sed -i -e's,0.37,0.38,' META.yml VERSION illguts.hhp index-work.html
.PHONY: test clean dist watch

SRC=$(wildcard *.epsx *.ps) index-work.html
png=svhead.png \
svrv.png \
strtab.png \
Expand Down Expand Up @@ -102,6 +104,7 @@ index-14.html: htmlprep.pl index-work.html $(png-14)

pdf: index.html illguts-8.pdf illguts-10.pdf illguts-12.pdf illguts-14.pdf illguts.pdf

# sudo apt-get install htmldoc
illguts.pdf: index.html $(png)
-htmldoc --quiet --webpage --format pdf14 index.html -f $@

Expand All @@ -119,6 +122,7 @@ illguts-14.pdf: index-14.html $(png)

slides: slides/index.html

# Help Compiler: windows or cygwin only
illguts.chm: index.html illguts.hhp illguts.hhk $(png)
-hhc illguts.hhp

Expand All @@ -139,6 +143,7 @@ eps:
%.eps: %.epsx epsx2eps sv.ps common.ps mws.ps box.ps str.ps ptr.ps magic.ps arrow.ps chararray.ps gp.ps stash.ps glob.ps op.ps dist.ps
./epsx2eps $< >$@

# sudo apt-get install ghostscript netpbm
%.png: %.epsx
./epsx2eps $< >$@.eps
./eps2png $@.eps >$@.tmp
Expand All @@ -152,6 +157,10 @@ clean:
dist: all VERSION test_rel
./make_dist

# sudo apt-get install inotify-tools
watch:
$(SHELL) -c 'while sleep 1 ; inotifywait -emodify -ecreate -emove $(SRC) ; true ; do make ; done'

# deps
arena.png: sv.ps box.ps
av-8.png: av-8.epsx sv-8.ps common.ps rect.ps ptr.ps box.ps mws.ps break.ps
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.41
0.42
Binary file modified illguts.chm
Binary file not shown.
2 changes: 1 addition & 1 deletion illguts.hhp
Expand Up @@ -7,7 +7,7 @@ Display compile progress=No
Full-text search=Yes
Index file=illguts.hhk
Language=0x409 Englisch (USA)
Title=illguts-0.41
Title=illguts-0.42

[FILES]
index.html
Expand Down
Binary file modified illguts.pdf
Binary file not shown.
17 changes: 8 additions & 9 deletions index-work.html
Expand Up @@ -22,7 +22,7 @@
<body bgcolor="#FFFFFF" text="#000000" link="#000055" vlink="#550000" alink="#000000" topmargin="0">

<h1 align="center" name="top">PerlGuts Illustrated<br><br>
<small>Version 0.41, for perl 5.16 and older</small></h1>
<small>Version 0.42, for perl 5.16 and older</small></h1>

<p>This document is meant to supplement the <i><a href="http://perldoc.perl.org/perlguts.html">perlguts(1)</a></i> manual
page that comes with Perl. It contains commented illustrations of all major internal Perl data structures.
Expand Down Expand Up @@ -99,7 +99,7 @@ <h1 align="center" name="top">PerlGuts Illustrated<br><br>
files and directories and various state information about these. The
<i>PVFM</i> is used to hold information on forms.
<i>P5RX</i> was formerly called <i>PVBM</i> for Boyer-Moore
(match information), but contains now more information.
(match information), but contains now regex information.
<i>BIND</i> is a placeholder for read-only aliases or VIEW,
and implemented as <i>RV</i> for now. (#29544, #29642)

Expand Down Expand Up @@ -150,7 +150,7 @@ <h1 align="center" name="top">PerlGuts Illustrated<br><br>
<p>The third word contains a <b>FLAGS</b> field and a <b>TYPE</b> field as 32 bit
unsigned integer.

<p>Since 5.10 the forth and last HEAD word contains the <b>sv_u union</b>, which
<p>Since 5.10 the fourth and last HEAD word contains the <b>sv_u union</b>, which
contains a pointer to another SV (a RV), the <a href="#sviv">IV</a>
value, the <a href="#svpv">PV</a> string, the <a href="#av">AV</a> svu_array,
a <a href="#he">HE</a> hash or a <a href="#gp">GP</a> struct.
Expand Down Expand Up @@ -381,7 +381,7 @@ <h1 align="center" name="top">PerlGuts Illustrated<br><br>
<h2><a name="arena">Arena</a></h2>

<p>Since 5.10 SV heads and bodies are allocated in 4K arenas chunks.
Heads need 4 fields, bodies are kept in uneequal sized arena sets.
Heads need 4 fields, bodies are kept in unequally sized arena sets.
Some types need no body (<i>NULL, IV, RV</i>), and some allocate
only partial bodies with <i>"ghost"</i> fields.</p>

Expand Down Expand Up @@ -456,10 +456,9 @@ <h2><a name="sviv">SvIV</a></h2>
Since 5.10 for a raw IV (without PV) the IVX slot is in the HEAD,
there is no xpviv struct ("body") allocated.

The <i>SvIVX</i> macro abuses sv_any pointer arithmethic to point
to a compile-time calculated negative offset from HEAD->sv_u.svu_iv
to SvANY(xiv_u.xivu_iv), so that PVIV and IV can use the same SvIVX
macro.
The <i>SvIVX</i> macro abuses SvANY pointer arithmethic to point
to a compile-time calculated negative offset from HEAD-1 to sv_u.svu_iv,
so that PVIV and IV can use the same SvIVX macro.

<p><center><img src="sviv.png"></center>

Expand Down Expand Up @@ -1293,7 +1292,7 @@ <h2><a name="eval">eval</a></h2>
<i>&copy; 1998-1999 Gisle Aas. 2009,2010,2012 Reini Urban</i><br>
<a href="mailto:gisle@aas.no">&lt;gisle@aas.no&gt;</a><br>
<a href="mailto:rurban@x-ray.at">&lt;rurban@x-ray.at&gt;</a><br>
$Date: 2012-04-04 01:01:53 rurban $
$Date: 2012-04-09 01:01:53 rurban $
</small>
</div>

Expand Down

0 comments on commit a945808

Please sign in to comment.