OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / byacc / release / man1 / yacc.1
diff --git a/manual/byacc/release/man1/yacc.1 b/manual/byacc/release/man1/yacc.1
new file mode 100644 (file)
index 0000000..9bf7a1d
--- /dev/null
@@ -0,0 +1,175 @@
+.\" Copyright (c) 1989, 1990 The Regents of the University of California.
+.\" All rights reserved.
+.\"
+.\" This code is derived from software contributed to Berkeley by
+.\" Robert Paul Corbett.
+.\"
+.\" 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.
+.\"
+.\"    from: @(#)yacc.1        5.7 (Berkeley) 7/30/91
+.\"    $Id: yacc.1,v 1.1 1999/08/11 09:38:32 nakano Exp $
+.\"
+.Dd July 30, 1991
+.Dt YACC 1
+.Os
+.Sh Ì¾¾Î
+.Nm yacc
+.Nd
+.Tn LALR(1)
+¥Ñ¡¼¥µ¥¸¥§¥Í¥ì¡¼¥¿
+.Sh ½ñ¼°
+.Nm yacc
+.Op Fl dlrtv
+.Op Fl b Ar prefix
+.Ar filename
+.Sh ²òÀâ
+.Nm yacc
+¤Ï¡¢
+.Ar filename
+¤Î¥Õ¥¡¥¤¥ë¤«¤éʸˡ»ÅÍͤòÆɤ߼è¤ê¡¢¤½¤Î»ÅÍͤ«¤é
+.Tn LR(1)
+¥Ñ¡¼¥µ¤òÀ¸À®¤·¤Þ¤¹¡£
+¥Ñ¡¼¥µ¤Ï¡¢
+.Tn LALR(1)
+²òÀϥơ¼¥Ö¥ë¤È¡¢C ¸À¸ì¤Ç½ñ¤«¤ì¤¿¥É¥é¥¤¥Ð¥ë¡¼¥Á¥ó¤Î¥»¥Ã¥È¤«¤é¹½À®
+¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
+.Nm yacc
+¤ÏÄ̾
+.Pa y.tab.c
+¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤Ë²òÀϥơ¼¥Ö¥ë¤È¥É¥é¥¤¥Ð¥ë¡¼¥Á¥ó¤ò½ñ¤­¹þ¤ß¤Þ¤¹¡£
+.Pp
+°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤¬Ä󶡤µ¤ì¤Æ¤¤¤Þ¤¹:
+.Bl -tag -width Ar
+.It Fl b Ar prefix
+.Fl b
+¥ª¥×¥·¥ç¥ó¤Ï¡¢½ÐÎÏ¥Õ¥¡¥¤¥ë̾¤ÎÀèƬ¤Ë²Ã¤¨¤ë¥×¥ê¥Õ¥£¥Ã¥¯¥¹Ê¸»úÎó¤ò
+.Ar prefix
+¤ËÊѹ¹¤·¤Þ¤¹¡£
+¥Ç¥Õ¥©¥ë¥È¤Î¥×¥ê¥Õ¥£¥Ã¥¯¥¹¤Ï
+.Ar y.
+¤Ç¤¹¡£
+.It Fl d
+.Fl d
+¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Ø¥Ã¥À¥Õ¥¡¥¤¥ë
+.Pa y.tab.h
+¤òÀ¸À®¤¹¤ë¤è¤¦»Ø¼¨¤·¤Þ¤¹¡£
+.It Fl l
+¤â¤·
+.Fl l
+¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢
+.Nm yacc
+¤Ï #line ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤òÀ¸À®¤·¤¿¥³¡¼¥É¤ËÁÞÆþ¤·¤Þ¤¹¡£
+#line ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ï¡¢À¸À®¤µ¤ì¤¿¥³¡¼¥É¤ÎÃæ¤Î¥¨¥é¡¼¤È¥æ¡¼¥¶¤Î¥ª
+¥ê¥¸¥Ê¥ë¥³¡¼¥É¤È¤Î´Ø·¸¤ò C ¥³¥ó¥Ñ¥¤¥é¤ËÃΤ餻¤Þ¤¹¡£
+¤â¤·
+.Fl l
+¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ì¤Ð¡¢
+.Nm yacc
+¤Ï #line ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤òÁÞÆþ¤·¤Þ¤»¤ó¡£
+¥æ¡¼¥¶¤Ë¤è¤Ã¤Æ»ØÄꤵ¤ì¤¿ #line ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤ÏÊÝ»ý¤µ¤ì¤Þ¤¹¡£
+.It Fl r
+.Fl r
+¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢
+.Nm yacc
+¤Ï¥³¡¼¥É¤È¥Æ¡¼¥Ö¥ë¤Î¥Õ¥¡¥¤¥ë¤òʬ¤±¤Æ½ÐÎϤ·¤Þ¤¹¡£
+¥³¡¼¥É¥Õ¥¡¥¤¥ë̾¤Ï
+.Pa y.code.c
+¤È¤Ê¤ê¡¢¥Æ¡¼¥Ö¥ë¥Õ¥¡¥¤¥ë̾¤Ï
+.Pa y.tab.c
+¤È¤Ê¤ê¤Þ¤¹¡£
+.It Fl t
+.Fl t
+¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢
+.Nm yacc
+¤Ë¤è¤Ã¤ÆÀ¸À®¤µ¤ì¤ë¥×¥ê¥×¥í¥»¥Ã¥µ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤òÊѹ¹¤·¡¢¥Ç¥Ð¥Ã¥°
+ÍѤÎʸ¤ò¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¥³¡¼¥É¤ÎÃæ¤ËËä¤á¹þ¤ß¤Þ¤¹¡£
+.It Fl v
+.Fl v
+¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤È¡¢À¸À®¤µ¤ì¤¿¥Ñ¡¼¥¶¤Î¾ÜºÙ¤ò¿Í´Ö¤ËÆɤá¤ë·Á¼°
+¤Ç¡¢¥Õ¥¡¥¤¥ë
+.Pa y.output
+¤Ë½ÐÎϤ·¤Þ¤¹¡£
+.Pp
+.Sh ´Ä¶­ÊÑ¿ô
+°Ê²¼¤Î´Ä¶­ÊÑ¿ô¤¬
+.Nm yacc
+¤Ë¤è¤Ã¤Æ»²¾È¤µ¤ì¤Þ¤¹:
+.Bl -tag -width TMPDIR
+.It Ev TMPDIR
+¤â¤·´Ä¶­ÊÑ¿ô
+.Ev TMPDIR
+¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ì¤Ð¡¢
+.Ev TMPDIR
+¤ËÀßÄꤵ¤ì¤Æ¤¤¤ëʸ»úÎó¤Ï¡¢¥Æ¥ó¥Ý¥é¥ê¥Õ¥¡¥¤¥ë¤¬À¸À®¤µ¤ì¤ë¥Ç¥£¥ì¥¯
+¥È¥ê̾¤È¤·¤Æ»ÈÍѤµ¤ì¤Þ¤¹¡£
+.El
+.Sh ¥Æ¡¼¥Ö¥ë
+ËܥС¼¥¸¥ç¥ó¤Î
+.Nm yacc
+¤Ë¤è¤Ã¤ÆÀ¸À®¤µ¤ì¤ë¥Æ¡¼¥Ö¥ë¤Î̾¾Î¤Ï¡¢
+.Dq yylhs ,
+.Dq yylen ,
+.Dq yydefred ,
+.Dq yydgoto ,
+.Dq yysindex ,
+.Dq yyrindex ,
+.Dq yygindex ,
+.Dq yytable ,
+¤½¤·¤Æ
+.Dq yycheck
+¤Ç¤¹¡£¤µ¤é¤Ë¡¢ÄɲäΥơ¼¥Ö¥ë¤È¤·¤Æ
+.Dq yyname
+¤ª¤è¤Ó
+.Dq yyrule
+¤¬¡¢
+.Dv YYDEBUG
+¤¬ÄêµÁ¤µ¤ì¥¼¥í¤Ç¤Ê¤¤¤È¤­¤ËÍÑ°Õ¤µ¤ì¤Þ¤¹¡£
+.Sh ´ØÏ¢¥Õ¥¡¥¤¥ë
+.Bl -tag -width /tmp/yacc.uXXXXXXXX -compact
+.It Pa y.code.c
+.It Pa y.tab.c
+.It Pa y.tab.h
+.It Pa y.output
+.It Pa /tmp/yacc.aXXXXXX
+.It Pa /tmp/yacc.tXXXXXX
+.It Pa /tmp/yacc.uXXXXXX
+.El
+.Sh ¿ÇÃÇ
+¤â¤·¥ë¡¼¥ë¤òÀÚ¤êµÍ¤á¤ë¤³¤È¤¬¤Ç¤­¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¥ë¡¼¥ë¿ô¤¬É¸½à½ÐÎÏ
+¤Ë½ñ¤«¤ì¤Þ¤¹¡£
+¤â¤·¡¢²¿¤é¤«¤Î
+.Tn LALR(1)
+¤Î¾×Æͤ¬¤¢¤Ã¤¿¾ì¹ç¡¢¾×ÆÍ¿ô¤âɸ½à¥¨¥é¡¼½ÐÎϤ˽ñ¤«¤ì¤Þ¤¹¡£
+.Sh ´ØÏ¢¹àÌÜ
+.Xr yyfix 1
+.Sh µ¬³Ê
+.Nm yacc
+¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï
+.St -p1003.2
+½àµò¤Ç¤¹¡£