Commit 0ed69186 authored by Guido van Rossum's avatar Guido van Rossum

Small changes.

parent 2292b8e9
% Format this file with latex. % Format this file with latex.
%\documentstyle[palatino,11pt,myformat]{article} \documentstyle[palatino,11pt,myformat]{article}
\documentstyle[11pt,myformat]{article} %\documentstyle[11pt,myformat]{article}
\sloppy \sloppy
...@@ -1983,13 +1983,13 @@ before calling ...@@ -1983,13 +1983,13 @@ before calling
or or
{\tt panel.defpanellist()}. {\tt panel.defpanellist()}.
\subsection{Standard Module {\tt parser}} \subsection{Standard Module {\tt panelparser}}
This module defines a self-contained parser for S-expressions as output This module defines a self-contained parser for S-expressions as output
by the Panel Editor (which is written in Scheme so it can't help writing by the Panel Editor (which is written in Scheme so it can't help writing
S-expressions). S-expressions).
The relevant function is The relevant function is
{\tt parser.parse\_file(file)} {\tt panelparser.parse\_file(file)}
which has a file object (not a filename!) as argument and returns a list which has a file object (not a filename!) as argument and returns a list
of parsed S-expressions. of parsed S-expressions.
Each S-expression is converted into a {\Python} list, with atoms converted Each S-expression is converted into a {\Python} list, with atoms converted
......
% Format this file with latex. % Format this file with latex.
%\documentstyle[palatino,11pt,myformat]{article} \documentstyle[palatino,11pt,myformat]{article}
\documentstyle[11pt,myformat]{article} %\documentstyle[11pt,myformat]{article}
\sloppy \sloppy
...@@ -1983,13 +1983,13 @@ before calling ...@@ -1983,13 +1983,13 @@ before calling
or or
{\tt panel.defpanellist()}. {\tt panel.defpanellist()}.
\subsection{Standard Module {\tt parser}} \subsection{Standard Module {\tt panelparser}}
This module defines a self-contained parser for S-expressions as output This module defines a self-contained parser for S-expressions as output
by the Panel Editor (which is written in Scheme so it can't help writing by the Panel Editor (which is written in Scheme so it can't help writing
S-expressions). S-expressions).
The relevant function is The relevant function is
{\tt parser.parse\_file(file)} {\tt panelparser.parse\_file(file)}
which has a file object (not a filename!) as argument and returns a list which has a file object (not a filename!) as argument and returns a list
of parsed S-expressions. of parsed S-expressions.
Each S-expression is converted into a {\Python} list, with atoms converted Each S-expression is converted into a {\Python} list, with atoms converted
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment