Skip to content

Commit ea2c2eb

Browse files
authored
Update sample and docs. (#43)
* Add outdated note on walkthrough. Remove not needed files. * Update calc example.
1 parent f218ec3 commit ea2c2eb

File tree

4 files changed

+33
-343
lines changed

4 files changed

+33
-343
lines changed

doc/calc.py

-145
This file was deleted.

doc/index.html

-161
This file was deleted.

doc/walkthrough.html

+5-12
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@
44
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
55
<html>
66
<head>
7-
<title>PyBison Walkthrough</title>
7+
<title>PyBison Walkthrough (OUTDATED!)</title>
88
</head>
99
<body>
1010
<!--@ @+others-->
1111
<!--@+node:body-->
12-
<center>Back to <a href="index.html">PyBison Homepage</a></center>
13-
14-
<h1>PyBison Walkthrough</h1>
12+
13+
<h1>PyBison Walkthrough (OUTDATED!)</h1>
1514

1615
<!--@+others-->
1716
<!--@+node:intro-->
@@ -54,7 +53,7 @@ <h2>1. Procure Grammar and Scanner Scripts</h2>
5453
<h3>1.1. Introducing the bison2py Utility</h3>
5554
<blockquote>
5655

57-
bison2py munges your new (or legacy) grammar (.y) and scanner (.l) files, and
56+
bison2py munges your legacy grammar (.y) and scanner (.l) files, and
5857
generates a new Python file containing classes and unit test code for your
5958
PyBison parser.<br>
6059
<br>
@@ -343,8 +342,6 @@ <h3>1.4. Doing The Conversion</h3>
343342

344343
<!--@-node:1. procure grammar/scanner scripts-->
345344
<!--@+node:2. prepare parser class-->
346-
<a name="chap2">
347-
348345
<h2>2. Prepare Your Parser Class</h2>
349346

350347
<blockquote>
@@ -804,7 +801,7 @@ <h3>2.8. Add Flex Script</h3>
804801
"""
805802
</pre></b>
806803

807-
<blockquote style=""color:#900000"><big><b>NOTE</b> - if you are using recent versions of flex (ie, the ones which violate
804+
<blockquote style="color:#900000"><big><b>NOTE</b> - if you are using recent versions of flex (ie, the ones which violate
808805
the ANSI standards for lex/flex), you'll have to change the lexing code above;
809806
removing the line <b>int yylineno = 0;</b></big></blockquote><br>
810807
<br>
@@ -1020,10 +1017,6 @@ <h2>5. Conclusion</h2>
10201017

10211018
</blockquote>
10221019

1023-
<!--@-node:5. conclusion-->
1024-
<!--@-others-->
1025-
<hr>
1026-
<address><a href="mailto:david@freenet.co.nz">David McNab</a></address>
10271020
<!-- Created: Fri Apr 23 01:27:41 NZST 2004 -->
10281021
<!-- hhmts start -->
10291022
<!-- hhmts end -->

0 commit comments

Comments
 (0)