📄 pi.1
字号:
.\" Copyright (c) 1980, 1990, 1993.\" The Regents of the University of California. All rights reserved..\".\" Redistribution and use in source and binary forms, with or without.\" modification, are permitted provided that the following conditions.\" are met:.\" 1. Redistributions of source code must retain the above copyright.\" notice, this list of conditions and the following disclaimer..\" 2. Redistributions in binary form must reproduce the above copyright.\" notice, this list of conditions and the following disclaimer in the.\" documentation and/or other materials provided with the distribution..\" 3. All advertising materials mentioning features or use of this software.\" must display the following acknowledgement:.\" This product includes software developed by the University of.\" California, Berkeley and its contributors..\" 4. Neither the name of the University nor the names of its contributors.\" may be used to endorse or promote products derived from this software.\" without specific prior written permission..\".\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION).\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF.\" SUCH DAMAGE..\".\" @(#)pi.1 8.1 (Berkeley) 6/6/93.\".Dd June 6, 1993.Dt PI 1.Os BSD 4.Sh NAME.Nm pi.Nd Pascal interpreter code translator.Sh SYNOPSIS.Nm \&pi.Op Fl blnpstuwz.Op Fl i Ar name ....Ar name.p.Sh DESCRIPTION.Nm \&Pitranslates the program in the file.Ar name.pleaving interpreter code in the file.Pa objin the current directory.The interpreter code can be executed using.Nm \&px ..Nm \&Pixperforms the functions of.Nm \&piand.Nm \&pxfor `load and go' Pascal..PpThe following flags are interpreted by.Nm \&pi ;the associated options can also be controlled in comments within the programas described in the.%T "Berkeley Pascal User's Manual" ..Bl -tag -width indent.It Fl bBlock buffer the file.Ar output ..It Fl iEnable the listing forany specified procedures and functions and while processing any specified.Ic includefiles..It Fl lMake a program listing during translation..It Fl nBegin each listed.Ic includefile on a new page with a banner line..It Fl pSuppress the post-mortem control flow backtraceif an error occurs;suppress statement limit counting..It Fl sAccept standard Pascal only;non-standard constructs cause warning diagnostics..It Fl tSuppress runtime tests of subrange variables and treat.Ic assertstatements as comments..It Fl uCard image mode;only the first 72 characters of input lines are used..It Fl wSuppress warning diagnostics..It Fl zAllow execution profiling with.Nm pxpby generating statement counters, and arranging for thecreation of the profile data file.Pa pmon.outwhen the resulting object is executed..El.Sh FILES.Bl -tag -width /usr/lib/pi1.*strings -compact.It Pa file.pInput file..It Pa file.iInclude file(s)..It Pa /usr/lib/pi2.*stringsText of the error messages..It Pa /usr/lib/how_pi*Basic usage explanation..It Pa objInterpreter code output..El.Sh SEE ALSO.Xr pix 1 ,.Xr \&px 1 ,.Xr pxp 1 ,.Xr pxref 1.Rs.%T "Berkeley Pascal User's Manual".Re.Sh DIAGNOSTICSFor a basic explanation do.Bd -literal -offset indentpi.Ed.PpIn the diagnostic output of the translator,lines containing syntax errors are listed with a flag indicating thepoint of error.Diagnostic messages indicate the action which the recovery mechanismtook in order to be able to continue parsing.Some diagnostics indicate only that the input is `malformed.'This occurs if the recovery can find no simple correction to make the inputsyntactically valid..PpSemantic error diagnostics indicate a line in the source text near thepoint of error.Some errors evoke more than one diagnostic to help pinpoint the error;the follow-up messages begin with an ellipsis `...'..PpThe first character of each error message indicates its class:.Pp.Bl -tag -width indent -compact -offset indent.It Li EFatal error; no code will be generated..It Li eNon-fatal error..It Li wWarning \- a potential problem..It Li sNon-standard Pascal construct warning..El.PpIf a severe error occurs which inhibits further processing,the translator will give a diagnostic and then.Sq Dv QUIT ..Sh BUGSThe keyword.Ic packedis recognized but has no effect..PpFor clarity,semantic errors should be flagged at an appropriate place in the source text,and multiple instances of the `same' semantic error should be summarizedat the end of a.Ic procedureor.Ic functionrather than evoking many diagnostics..PpWhen.Ic includefiles are present,diagnostics relating to the last procedure in one file may appear after thebeginning of the listing of the next..\" .Sh ENVIRONMENT.Sh HISTORYThe.Nm \&Picommand appeared in.Bx 3.0 .
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -