Annotation of OpenXM/src/asir-doc/parts/risa.texi, Revision 1.1.1.1
1.1 noro 1: @node Risa/Asir,,, Top
2: @chapter Risa/Asir
3:
4: @menu
5: * Risa $B$*$h$S(B Asir::
6: * Asir $B$NFCD'(B::
7: * $B%$%s%9%H%l!<%7%g%s(B::
8: * $B%3%^%s%I%i%$%s%*%W%7%g%s(B::
9: * $B4D6-JQ?t(B::
10: * $B5/F0$+$i=*N;$^$G(B::
11: * $B3d$j9~$_(B::
12: * $B%(%i!<=hM}(B::
13: * $B7W;;7k2L$*$h$SFC<l$J?t(B::
14: @end menu
15:
16: @node Risa $B$*$h$S(B Asir,,, Risa/Asir
17: @section Risa $B$*$h$S(B Asir
18:
19: @noindent
20: @b{Risa} $B$O(B, $BIY;NDL8&$G3+H/Cf$N?t<0=hM}%7%9%F%`(B/$B%i%$%V%i%j$NAm>N$G$"$k(B.
21: @b{Risa} $B$N9=@.$O<!$NDL$j$G$"$k(B.
22:
23: @itemize @bullet
24: @item
25: @code{$B4pK\1i;;It(B}
26:
27: $B$3$l$O(B, @b{Risa} $B$NFbIt7A<0$KJQ49$5$l$?%*%V%8%'%/%H(B ($B?t(B, $BB?9`<0$J$I(B)
28: $B$N4V$N1i;;$r<B9T$9$kItJ,$G$"$j(B, UNIX $B$N(B @samp{libc.a} $B$J$I$HF1MM$N(B, $B%i%$%V%i(B
29: $B%j$H$7$FB8:_$9$k(B. $B%(%s%8%s$O(B, C $B$*$h$S(B $B%"%;%s%V%i$G5-=R$5$l(B, $B8e=R$9$k(B
30: $B8@8l%$%s%?%U%'!<%9(B @b{Asir} $B$N4pK\1i;;It$H$7$FMQ$$$i$l$F$$$k0lJ}(B,
31: $B?t<07W;;$rI,MW$H$9$k$5$^$6$^$J%W%m%0%i%`Cf$K%j%s%/$7$FMQ$$$k$3$H$,$G$-$k(B.
32: ($BL$8x3+(B)
33: @item
34: @code{$B%a%b%j4IM}It(B}
35:
36: @b{Risa} $B$G$O(B, $B%a%b%j4IM}It$H$7$F(B, @code{[Boehm,Weiser]} $B$K$h$k%U%j!<(B
37: $B%=%U%H%&%'%"(B (@code{gc-5.0alpha2}) $B$rMQ$$$F$$$k(B. $B$3$l$O%,!<%Y%8%3%l%/%7%g%s(B
38: ($B0J2<(B GC $B$H8F$V(B) $B$r<+F0E*$K9T$&%a%b%j3d$jEv$F5!9=$r;}$A(B, @b{Risa} $B$N3F(B
39: $BItJ,$O$9$Y$F$3$l$K$h$jI,MW$J%a%b%j$rF@$F$$$k(B.
40:
41: @item
42: @b{Asir}
43:
44: @b{Asir} $B$O(B, @b{Risa} $B$N7W;;%(%s%8%s$N8@8l%$%s%?%U%'!<%9$G(B
45: $B$"$k(B. @b{Risa} $B$G$O(B, $BHf3SE*MF0W$K%f!<%6MQ$N8@8l%$%s%?%U%'!<%9$r:n$k(B
46: $B$3$H$,$G$-$k(B. @b{Asir} $B$O$=$N0l$D$NNc$H$7$F:n$C$?$b$N$G(B, C $B8@8l$K6a(B
47: $B$$J8K!$r$b$D(B. $B$^$?(B, C $B$N%G%P%C%,$H$7$F9-$/MQ$$$i$l$F$$$k(B @code{dbx} $BIw(B
48: $B$N%G%P%C%,$bHw$($F$$$k(B.
49: @end itemize
50:
51: @node Asir $B$NFCD'(B,,, Risa/Asir
52: @section Asir $B$NFCD'(B
53:
54: @noindent
55: @b{Asir} $B$O(B, $BA0=R$NDL$j(B, $B7W;;%(%s%8%s$N8@8l%$%s%?%U%'!<%9$G$"(B
56: $B$k(B. $BDL>o(B @b{Asir} $B$H$$$&L>A0$N<B9T2DG=%U%!%$%k$H$7$FDs6!$5$l$k(B.
57: $B8=:_%5%]!<%H$5$l$F$$$k5!G=$O35$M<!$NDL$j$G$"$k(B.
58:
59: @itemize @bullet
60: @item
61: C $B8@8lIw$N%f!<%68@8l(B
62:
63: @item
64: $B?t(B, $BB?9`<0(B, $BM-M}<0$N2C8:>h(B($B=|(B)
65:
66: @item
67: $B%Y%/%H%k(B, $B9TNs$N1i;;(B
68:
69: @item
70: $B:G>.8B$N%j%9%H=hM}(B
71:
72: @item
73: $BAH$_9~$_H!?t(B ($B0x?tJ,2r(B, GCD, $B%0%l%V%J4pDl$J$I(B)
74:
75: @item
76: $B%f!<%6Dj5AH!?t$K$h$k%D!<%k(B ($BBe?tBN>e$N0x?tJ,2r$J$I(B)
77:
78: @item
79: @code{dbx} $BIw$N%G%P%C%,(B
80:
81: @item
82: $B1"H!?t$NIA2h(B
83:
84: @item
85: @b{PARI} (@pxref{pari}) $B$K$h$k=iEyD61[H!?t$r4^$`<0$NI>2A(B
86:
87: @item
88: UNIX $B>e$G$NJ,;67W;;5!G=(B (Open XM)
89: @comment @item
90: @comment $B%R%9%H%jCV495!G=$r$b$D(B X11 $B%$%s%?%U%'!<%9(B
91: @end itemize
92:
93: @node $B%$%s%9%H%l!<%7%g%s(B,,, Risa/Asir
94: @section $B%$%s%9%H%l!<%7%g%s(B
95:
96: $B0J2<$N<jB3$-$GITL@$JE@(B, $BITET9g$JE@$,$"$C$?>l9g$NLd$$9g$o$;$O(B
97:
98: @example
99: noro@@para.flab.fujitsu.co.jp
100: @end example
101:
102: @noindent
103: $B08$K(B e-mail $B$G$*4j$$$7$^$9(B.
104:
105: @menu
106: * UNIX $BHG(B::
107: * Windows $BHG(B::
108: @end menu
109:
110: @node UNIX $BHG(B,,, $B%$%s%9%H%l!<%7%g%s(B
111: @subsection UNIX $BHG(B
112:
113: @noindent
114: $BI,MW$J%U%!%$%k$O(B @samp{asir.tgz} $B$G$"$k(B.
115: $B$3$l$i$OA4$F(B @code{gzip} $B$G05=L$7$F$"$k$N$G(B, $BF~<j8e(B @code{gzip} $B$G(B
116: $BE83+$9$k(B. $B$^$:(B, $B%$%s%9%H!<%k$9$k%G%#%l%/%H%j$r7h$a$k(B. $B%G%U%)%k%H$G$O(B
117: @samp{/usr/local/lib} $B$K(B @samp{asir} $B$H$$$&%G%#%l%/%H%j$H$7$F(B
118: $B%$%s%9%H!<%k$5$l$k$3$H$r2>Dj$7$F$$$k(B. $B0J2<$3$N%G%#%l%/%H%j$r%i%$%V%i%j(B
119: $B%G%#%l%/%H%j$H8F$V(B.
120:
121: @example
122: # gzip -dc asir.tgz | ( cd /usr/local/lib; tar xf - )
123: @end example
124:
125: $B8D?ME*$K;HMQ$9$k>l9g$K$O(B, @samp{$HOME}$B$J$I$KCV$$$F$b$h$$(B.
126:
127: @example
128: % gzip -dc asir.tgz | ( cd $HOME; tar xf - )
129: @end example
130:
131: @noindent
132: $B$3$N>l9g(B, $B%i%$%V%i%j%G%#%l%/%H%j$NL>A0$r4D6-JQ?t(B
133: @code{ASIR_LIBDIR} $B$K@_Dj$9$kI,MW$,$"$k(B.
134:
135: @example
136: % setenv ASIR_LIBDIR $HOME/asir
137: @end example
138:
139: @noindent
140: Asir $BK\BN$O(B, $B%i%$%V%i%j%G%#%l%/%H%j$N(B @samp{asir} $B$G$"$k(B.
141: @samp{/usr/local/bin} $B$"$k$$$O%f!<%6$N<B9T%U%!%$%k%5!<%A%Q%9(B
142: $B$N$I$3$+$K%7%s%\%j%C%/%j%s%/$r:n$k$HJXMx$G$"$k(B.
143:
144: @example
145: # ln -s /usr/local/lib/asir/asir /usr/local/bin/asir
146: @end example
147:
148: @noindent
149: $B$3$N>uBV$G(B @samp{asir} $B$r5/F0$7$F$_$k(B.
150:
151: @example
152: % /usr/local/bin/asir
153: asir_key not found.
154: ID for this machine is XXXXXXXX.
155: See the file ASIR_INSTALL to get the correct key.
156: @end example
157:
158: @noindent
159: $B$9$k$H(B, $B$3$N$h$&$J%a%C%;!<%8$,=P$F(B @samp{asir} $B$O=*N;$9$k(B. UNIX $BHG(B
160: $B$G$O(B, $B%^%7%s$4$H$K(B @code{key} $B$H8F$P$l$kJ8;zNs$,I,MW$G$"$k(B.
161: @code{key} $B$rF~<j$9$k$?$a$K$O(B,
162:
163: @example
164: risa@@para.flab.fujitsu.co.jp
165: @end example
166:
167: @noindent
168: $B08$K(B,
169:
170: @example
171: ASIR XXXXXXXX
172: @end example
173:
174: @noindent
175: $B$H$$$&(B 1 $B9T$N$_$+$i$J$k(B e-mail $B$rAw$l$P$h$$(B. @code{XXXXXXXX} $B$OI=<($5$l$?(B
176: @code{ID} $B$G$"$k(B. $B@^$jJV$7(B
177:
178: @example
179: YYYYYYYY YYYYYYYY YYYYYYYY
180: @end example
181:
182: @noindent
183: $B$H$$$&7A$N(B 1 $B9T$N$_$+$i$J$k(B e-mail $B$,FO$/$N$G(B, $B$3$N(B 1 $B9T$r4^$`(B @samp{asir_key}
184: $B$J$k%U%!%$%k$r%+%l%s%H%G%#%l%/%H%j$K:n$C$F(B @samp{asir} $B$r5/F0$7$F$_$k(B.
185:
186: @example
187: % /usr/local/bin/asir
188: This is Asir, Version 990831.
189: Copyright (C) FUJITSU LABORATORIES LIMITED.
190: 3 March 1994. All rights reserved.
191: [0]
192: @end example
193:
194: @noindent
195: $B$3$N$h$&$J%W%m%s%W%H$,=P$l$P(B, $BF~<j$7$?(B @code{key} $B$O$=$N%^%7%s$KBP$7$FM-8z(B
196: $B$G$"$k(B. @code{key} $B$r=q$$$F$*$/%U%!%$%k$K4X$7$F$O(B, $B4D6-JQ?t(B @code{ASIR_KEY}
197: $B$N@bL@$N9`$G>\$7$/=R$Y$k$,(B, $B%i%$%V%i%j%G%#%l%/%H%j$K$3$3$G:n@.$7$?(B
198: $B%U%!%$%k(B @samp{asir_key} $B$rCV$1$P(B, $B$=$N%^%7%s>e$GA4$F$N%f!<%6$,(B @samp{asir}
199: $B$r;HMQ$G$-$k$h$&$K$J$k(B. @samp{asir_key} $B$K$OJ#?t$N%^%7%s$KBP$9$k(B @code{key}
200: $B$r=q$1$k$N$G(B, $B%i%$%V%i%j%G%#%l%/%H%j$r6&M-$7$F$$$k>l9g$G$b(B @samp{asir_key}
201: $B$K9T$rDI2C$7$F$$$1$P$h$$(B.
202:
203: @example
204: # cp asir_key /usr/local/lib/asir
205: @end example
206:
207: @node Windows $BHG(B,,, $B%$%s%9%H%l!<%7%g%s(B
208: @subsection Windows $BHG(B
209:
210: @noindent
211: $BI,MW$J%U%!%$%k$O(B @samp{asirwin.tgz} $B$G$"$k(B. $BB>$K(B, @samp{gzip.exe},
212: @samp{tar.exe} $B$,I,MW$@$,(B, asirwin.tgz $B$HF1$8%G%#%l%/%H%j$KMQ0U$7$F(B
213: $B$"$k(B. $B$3$l$i(B 3 $B$D$N%U%!%$%k$rF10l%G%#%l%/%H%j$K$*$-(B, DOS $B%W%m%s%W%H(B
214: $B$+$i(B
215:
216: @example
217: C:\...> tar xzf asirwin.tgz
218: @end example
219:
220: @noindent
221: $B$r<B9T$9$l$P(B, @samp{Asir} $B$H$$$&%G%#%l%/%H%j(B (Asir $B%k!<%H%G%#%l%/%H%j(B)
222: $B$,$G$-$k(B. 990831 $BHG$G$O(B, GUI $B$HK\BN$,J,N%$5$l(B, $B$^$?%G%P%C%0%&%#%s%I%&$b(B
223: $BJL%W%m%;%9$H$7$F(B GUI $B$,8F$S=P$5$l$k$?$a(B, Asir $B%k!<%H%G%#%l%/%H%j$,@5$7$/(B
224: $BEPO?$5$l$F$$$k$3$H$,I,MW$G$"$k(B. Asir $B%k!<%H%G%#%l%/%H%j$N%5%V%G%#%l%/%H(B
225: $B%j(B @samp{bin} $B$K(B @samp{asirgui.exe} (GUI), @samp{engine.exe} ($BK\BN(B) $B$,(B
226: $BCV$+$l$F$$$k(B. @samp{asirgui.exe} $B$N=i2s$NN)$A>e$2$O(B, $B%(%/%9%W%m!<%i$+$i9T(B
227: $B$&(B. $B$3$l$K$h$j(B
228:
229: @example
230: HKEY_LOCAL_MACHINE\SOFTWARE\FUJITSU\Asir\99.03.31\Directory
231: @end example
232:
233: @noindent
234: $B$H$$$&%l%8%9%H%j$K(B Asir $B%k!<%H%G%#%l%/%H%j$,@5$7$/EPO?$5$l$k(B.
235:
236: @node $B%3%^%s%I%i%$%s%*%W%7%g%s(B,,, Risa/Asir
237: @section $B%3%^%s%I%i%$%s%*%W%7%g%s(B
238:
239: @noindent
240: $B%3%^%s%I%i%$%s%*%W%7%g%s$O<!$NDL$j(B.
241:
242: @table @code
243:
244: @item -heap @var{number}
245: @code{Risa/Asir} $B$G$O(B, 4KB $B$N%V%m%C%/$r%a%b%j3d$jEv$F$NC10L$H$7$FMQ$$$F$$$k(B.
246: $B%G%U%)%k%H$G$O(B, $B=i4|(B heap $B$H$7$F(B, 16 $B%V%m%C%/(B (64KB) $B3d$jEv$F$k$,(B, $B$=$l(B
247: $B$rJQ99$9$k>l9g(B, @code{-heap} $B$rMQ$$$k(B. $BC10L$O%V%m%C%/$G$"$k(B.
248: heap $B$NBg$-$5$O(B, @code{heap()} $BH!?t$GD4$Y$k$3$H$,$G$-$k(B ($BC10L$O%P%$%H(B).
249:
250: @item -adj @var{number}
251: $B$3$NCM$,Bg$-$$$[$I(B, $B;HMQ%a%b%jNL$OBg$-$/$J$k$,(B, GC $B;~4V$,>/$J$/$J(B
252: $B$k(B. @var{number} $B$H$7$F(B 1 $B0J>e$N@0?t$,;XDj$G$-$k(B. $B%G%U%)%k%H$G$O(B 3 $B$G$"(B
253: $B$k(B. $B$3$NCM$,(B 1 $B0J2<$K$J$k$H(B GC $B$r$7$J$$@_Dj$K$J$k$N$GMWCm0U$G$"$k(B. heap
254: $B$r$J$k$Y$/?-$P$5$:$K(B, GC $B$r<gBN$K$7$F%a%b%j4IM}$7$?$$>l9g$K$O(B, $B$3$NCM$r(B
255: $BBg$-$/(B ($BNc$($P(B 8) $B@_Dj$9$k(B.
256:
257: @item -norc
258: $B=i4|2=%U%!%$%k(B @samp{$HOME/.asirrc} $B$rFI$^$J$$(B.
259:
260: @item -f @var{file}
261: $BI8=`F~NO$NBe$o$j$K(B, @var{file} $B$+$iF~NO$rFI$_9~$s$G<B9T$9$k(B.
262: $B%(%i!<$N:]$K$O$?$@$A$K=*N;$9$k(B.
263:
264: @item -paristack @var{number}
265: @b{PARI} (@pxref{pari}) $B@lMQ$NNN0h$NBg$-$5$r;XDj$9$k(B. $BC10L$O%P%$%H(B. $B%G%U%)(B
266: $B%k%H$G$O(B 1 MB.
267:
268: @item -maxheap @var{number}
269: heap $BNN0h$N>e8B$r;XDj$9$k(B. $BC10L$O%P%$%H(B. $B%G%U%)%k%H$G$OL5@)8B(B. UNIX $B$N(B
270: $B>l9g(B, $B<B:]$K$O(B @code{limit} $B%3%^%s%I$GI=<($5$l$k(B @code{datasize} $B$NCM(B
271: $B$K@)8B$5$l$F$$$k$?$a(B, @code{-maxheap} $B$N;XDj$,$J$/$F$b0lDjNL0J>e$K(B
272: heap $B$r3MF@$G$-$J$$>l9g$,$"$k$N$GCm0U(B.)
273: @end table
274:
275: @node $B4D6-JQ?t(B,,, Risa/Asir
276: @section $B4D6-JQ?t(B
277:
278: @noindent
279: @b{Asir} $B$N<B9T$K4X$9$k$$$/$D$+$N4D6-JQ?t$,B8:_$9$k(B. UNIX $B>e$G$O4D6-JQ?t(B
280: $B$O(B shell $B$N%3%^%s%I%i%$%s$+$iD>@\@_Dj$9$k$+(B, shell $B$N(B rc $B%U%!%$%k$G@_Dj(B
281: $B$9$k(B. Windows NT $B$G$O(B, [$B@_Dj(B]->[$B%7%9%F%`(B]->[$B4D6-(B] $B$G@_Dj$9$k(B. Windows 95/98
282: $B$G$O(B, @samp{c:\autoexec.bat} $B$K=q$$$F(B reboot $B$9$k(B.
283:
284: @itemize @bullet
285: @item
286: @code{ASIR_KEY}
287:
288: UNIX $BHG$G$O(B, @b{Asir} $B$,5/F0$5$l$?%^%7%s$KBP$9$k(B @code{key} $B$,$J$1(B
289: $B$l$P$=$N%^%7%s>e$G(B @b{Asir} $B$OF0:n$7$J$$(B. @code{key} $B$O(B 16 $B?J(B 8
290: $B7e(B 3 $B%o!<%I$+$i$J$j(B,
291:
292: @example
293: % cat asir_key
294: cf6f236c 61a35091 dddc4529 geisha
295: 82281685 d1929945 a8bd24ca yorktown
296: 34b75d30 63f8df93 3e881113 nyanchu
297: @end example
298:
299: $B$H$$$&7A$GJ#?tBf$N%^%7%s$KBP$9$k(B @code{key} $B$r0l$D$N%U%!%$%k$K$^$H$a$F(B
300: $B=q$/$3$H$,$G$-$k(B. @code{key} $B$N8e$m$OL5;k$5$l$k$N$G(B, $B%3%a%s%H$r=q$/(B
301: $B$3$H$,$G$-$k(B. @code{key} $B$r4^$`%U%!%$%k$O(B, $B0J2<$N=g$G%5!<%A$5$l$k(B.
302:
303: @enumerate
304: @item
305: $B4D6-JQ?t(B @code{ASIR_KEY} $B$K;XDj$5$l$?%U%!%$%k(B
306:
307: @item
308: $B%+%l%s%H%G%#%l%/%H%j$N(B @samp{asir_key}
309:
310: @item
311: $B4D6-JQ?t(B @code{ASIR_LIBDIR} $B$G;XDj$5$l$?%G%#%l%/%H%j(B ($B;XDj$,$J$1$l$P(B
312: @samp{/usr/local/lib/asir}) $B$N(B @samp{asir_key}
313: @end enumerate
314:
315: @item
316: @code{ASIR_LIBDIR}
317:
318: @b{Asir} $B$N%i%$%V%i%j%G%#%l%/%H%j(B, $B$9$J$o$A%f!<%68@8l$G=q$+$l$?%U%!%$%k(B
319: $B$J$I$,$*$+$l$k%G%#%l%/%H%j(B. $B;XDj$,$J$$>l9g(B UNIX $BHG$G$O(B
320: @samp{/usr/local/lib/asir}, Windows $BHG$G$O(B Asir $B%a%$%s%G%#%l%/%H%j$N2<$N(B
321: @samp{lib} $B%G%#%l%/%H%j$,MQ$$$i$l$k(B.
322:
323: @item
324: @code{ASIRLOADPATH}
325:
326: $B%m!<%I$5$l$k%U%!%$%k$,$"$k%G%#%l%/%H%j$r(B UNIX $B$N>l9g(B ':',
327: Windows$B$N>l9g(B ';' $B$G6h@Z$C$FJB$Y$k(B. $B%G%#%l(B
328: $B%/%H%j$O:8$+$i=g$K%5!<%A$5$l$k(B. $B$3$N;XDj$,$J$$>l9g(B, $B$*$h$S;XDj$5$l$?(B
329: $B%U%!%$%k$,(B @code{ASIRLOADPATH} $B$K$J$+$C$?>l9g(B, $B%i%$%V%i%j%G%#%l%/%H%j(B
330: $B$b%5!<%A$5$l$k(B.
331:
332: @item
333: @code{HOME}
334:
335: @var{-norc} $B%*%W%7%g%s$D$-$G5/F0$7$J$$>l9g(B, @samp{$HOME/.asirrc}$B$,$"$l$P(B,
336: $BM=$a$3$N%U%!%$%k$r<B9T$9$k(B. @code{HOME} $B$,@_Dj$5$l$F$$$J$$>l9g(B, UNIX $BHG(B
337: $B$G$O$J$K$bFI$^$J$$$,(B, Windows $BHG$G$O(B Asir $B%a%$%s%G%#%l%/%H%j(B
338: (@code{get_rootdir()} $B$GJV$5$l$k%G%#%l%/%H%j(B) $B$N(B @samp{.asirrc} $B$rC5$7(B,
339: $B$"$l$P$=$l$r<B9T$9$k(B.
340:
341: @end itemize
342:
343: @node $B5/F0$+$i=*N;$^$G(B,,, Risa/Asir
344: @section $B5/F0$+$i=*N;$^$G(B
345:
346: @noindent
347: @b{Asir} $B$r5/F0$9$k$H(B,
348: @example
349: [0]
350: @end example
351:
352: @noindent
353: $B$J$k%W%m%s%W%H$,I=<($5$l(B, $B%;%C%7%g%s$,3+;O$9$k(B. @samp{$HOME/.asirrc}
354: (Windows $BHG$N>l9g(B, @code{HOME} $B@_Dj$5$l$F$$$J$$>l9g$K$O(B @code{get_rootdir()}
355: $B$GJV$5$l$k%G%#%l%/%H%j$K$"$k(B @samp{.asirrc})
356: $B$,B8:_$7$F$$$k>l9g(B, $B$3$N%U%!%$%k$r(B @b{Asir} $B%f!<%68@8l$G$+$+$l$?(B
357: $B%U%!%$%k$H8+$J$7(B, $B2r<a<B9T$9$k(B.
358:
359: @noindent
360: $B%W%m%s%W%H$OF~NO$NHV9f$rI=$9(B. $B%;%C%7%g%s$O(B, @code{end;} $B$^$?$O(B
361: @code{quit;} $B$rF~NO$9$k$3$H$K$h$j=*N;$9$k(B. $BF~NO$O(B, @samp{;} $B$^$?$O(B
362: @samp{$} $B$^$G$r0l6h@Z$j$H$7$FI>2A$5$l$k(B. @samp{;} $B$N$H$-7k2L$OI=<($5$l(B,
363: @samp{$} $B$N$H$-I=<($5$l$J$$(B.
364:
365: @example
366: % asir
367: [0] A;
368: 0
369: [1] A=(x+y)^5;
370: x^5+5*y*x^4+10*y^2*x^3+10*y^3*x^2+5*y^4*x+y^5
371: [2] A;
372: x^5+5*y*x^4+10*y^2*x^3+10*y^3*x^2+5*y^4*x+y^5
373: [3] a=(x+y)^5;
374: evalpv : invalid assignment
375: return to toplevel
376: [3] a;
377: a
378: [4] fctr(A);
379: [[1,1],[x+y,5]]
380: [5] quit;
381: %
382: @end example
383:
384: @noindent
385: $B$3$NNc$G$O(B, @code{A}, @code{a}, @code{x}, @code{y} $B$J$kJ8;z$,;HMQ$5$l$F$$$k(B.
386: @code{A} $B$O%W%m%0%i%`$K$*$1$kJQ?t$G(B, @code{a}, @code{x}, @code{y} $B$O?t3XE*(B
387: $B$J0UL#$G$NITDj85$G$"$k(B. $B0lHL$K%W%m%0%i%`JQ?t$OBgJ8;z$G;O$^$j(B,
388: $BITDj85$O>.J8;z$G;O$^$k(B. $B$3$NNc$G$o$+$k$h$&$K(B, $B%W%m%0%i%`JQ?t$O(B,
389: $B?t(B, $B<0$J$I$r3JG<$7$F$*$/$?$a$N$b$N$G$"$j(B, C $B8@8l$J$I$K$*$1$kJQ?t$KBP1~$9$k(B.
390: $B0lJ}(B, $BITDj85$O$=$l<+?H$GCM$r;}$D$3$H$O$G$-$:(B, $B=>$C$F(B, $BITDj85$KBP$9$k(B
391: $BBeF~$O5v$5$l$J$$(B. $B8e$K<($9$,(B, $BITDj85$KBP$9$kBeF~$O(B, $BAH$_9~$_H!?t(B @code{subst()}
392: $B$K$h$jL@<(E*$K9T$o$l$k(B.
393:
394: @node $B3d$j9~$_(B,,, Risa/Asir
395: @section $B3d$j9~$_(B
396:
397: @noindent
398: $B7W;;$r<B9TCf$K3d$j9~$_$r$+$1$?$$>l9g(B, $B3d$j9~$_%-%c%i%/%?(B($BDL>o$O(B
399: @kbd{C-c}, DOS $BHG$G$O(B @kbd{C-x}, Mac $BHG$G$O(B
400: @code{command+}@samp{.} ) $B$rF~NO$9$k(B.
401:
402: @example
403: @@ (x+y)^1000;
404: @kbd{C-c}interrupt ?(q/t/c/d/u/w/?)
405: @end example
406:
407: @noindent
408: $B3FA*Br;h$N0UL#$O<!$NDL$j(B.
409:
410: @table @code
411: @item q
412: @b{Asir} $B$r=*N;$9$k(B. ($B3NG'$"$j(B)
413: @item t
414: $B%H%C%W%l%Y%k$KLa$k(B. ($B3NG'$"$j(B)
415: @item c
416: $B<B9T$r7QB3$9$k(B.
417: @item d
418: $B%G%P%C%0%b!<%I$KF~$k(B. $B%G%P%C%,$K4X$7$F$O(B @xref{$B%G%P%C%,(B}.
419: @item u
420: @code{register_handler()} (@pxref{ox_reset register_handler}) $B$GEPO?$5$l$?(B
421: $B4X?t$r<B9T8e%H%C%W%l%Y%k$KLa$k(B. ($B3NG'$"$j(B)
422: @item w
423: $BCfCGE@$^$G$NH!?t$N8F$S=P$7Ns$rI=<($9$k(B.
424: @item ?
425: $B3FA*Br;h$N0UL#$r@bL@$9$k(B.
426: @end table
427:
428: @node $B%(%i!<=hM}(B,,, Risa/Asir
429: @section $B%(%i!<=hM}(B
430:
431: @noindent
432: $BAH$_9~$_H!?t$KIT@5$J7?$N0z?t$rEO$7$?>l9g$J$I$K$O<B9T$,CfCG$5$l$k$,(B,
433: $B%f!<%6H!?t$NCf$G%(%i!<$,5/$-$?>l9g$K$O%H%C%W%l%Y%k$KLa$kA0$K<+F0E*$K%G%P%C%0(B
434: $B%b!<%I$KF~$k(B. $B$3$N>uBV$G(B
435: $B%(%i!<$N>l=j(B, $BD>A0$N0z?t$NCM$J$I$rD4$Y$k$3$H$,$G$-$k(B.
436: $BI=<($5$l$k%(%i!<%a%C%;!<%8$O$5$^$6$^$G$"$j(B, $BFbIt$NH!?tL>$K0z$-B3$$$F(B
437: $B%a%C%;!<%8$,I=<($5$l$k(B. $B$3$l$O(B, $B8F$S=P$5$l$?AH$_9~$_H!?t(B
438: $B$HI,$:$7$bBP1~$O$7$J$$(B.
439:
440: @noindent
441: $B$=$NB>(B, $B$5$^$6$^$J860x$K$h$jFbIt1i;;H!?t$K$*$$$F%(%i!<$,@8$:$k$3$H$,(B
442: $B$"$k(B. UNIX $BHG$N>l9g(B, $B$3$l$O<!$N$$$:$l$+$N(B
443: @code{internal error} $B$H$7$FJs9p$5$l(B, $BDL>o$N%(%i!<$HF1MM$K07$C$F(B,
444: $B%G%P%C%0%b!<%I$KF~$k(B.
445:
446: @table @code
447: @item SEGV
448: @itemx BUS ERROR
449:
450: $BAH$_9~$_H!?t$K$h$C$F$O(B, $B0z?t$N7?$r87L)$K%A%'%C%/$;$:$K1i;;%k!<%A%s$K0z(B
451: $B$-EO$7$F$7$^$&$b$N$bB8:_$7$F$$$k(B. $B$3$N$h$&$J>u67$K$*$$$F(B,
452: $BIT@5$J%]%$%s%?(B, $B$"$k$$$O(B NULL $B%]%$%s%?$K$h$k%"%/%;%90cH?$,$"$C$?>l9g(B, $B$3$l$i(B
453: $B$N%(%i!<$H$J$k(B.
454:
455: @item BROKEN PIPE
456:
457: $B%W%m%;%94VDL?.$K$*$$$F(B, $BAj<j@h$N%W%m%;%9$H$N4V$N%9%H%j!<%`(B
458: $B$,4{$KB8:_$7$F$$$J$$>l9g(B ($BNc$($P4{$KAj<j@h$N%W%m%;%9$,=*N;$7$F$$$k>l9g$J$I(B)
459: $B$K(B, $B$=$N%9%H%j!<%`$KF~=PNO$7$h$&$H$7$?>l9g$K$3$N%(%i!<$H$J$k(B.
460: @end table
461:
462: @noindent
463: $B$3$l$i$O<B:]$K$O(B, $BAH$_9~$_H!?t$NF~8}$K$*$$$F(B, $B0z?t$r40A4$K%A%'%C%/(B
464: $B$9$k$3$H$K$h$jBgItJ,$OKI$2$k$,(B, $B<j4V$,B?$/$+$+$k$3$H$H(B, $B>l9g$K(B
465: $B$h$C$F$O8zN($rMn$9$3$H$K$b$J$k$?$a(B, $B$"$($F0z?t%A%'%C%/$O%f!<%6(B
466: $BG$$;$K$7$F$"$k(B.
467:
468: @node $B7W;;7k2L$*$h$SFC<l$J?t(B,,, Risa/Asir
469: @section $B7W;;7k2L(B, $BFC<l$J?t(B
470:
471: @noindent
472: @code{@@} $B$O%(%9%1!<%WJ8;z$H$7$F;HMQ$5$l$k(B. $B8=:_<!$N$h$&$J5,Dj$,$"$k(B.
473:
474: @table @code
475: @item @@@var{n}
476: @var{n} $BHVL\$N7W;;7k2L(B.
477: @item @@@@
478: $BD>A0$N7W;;7k2L(B.
479: @item @@i
480: $B5u?tC10L(B.
481: @item @@pi
482: $B1_<~N((B.
483: @item @@e
484: $B<+A3BP?t$NDl(B.
485: @item @@
486: 2 $B85BN(B GF(2) $B>e$N0lJQ?tB?9`<0$NJQ?t(B ($BITDj85(B).
487: @item @@>, @@<, @@>=, @@<=, @@==, @@&&, @@||
488: quantifier elimination $B$K$*$1$k(B, $B0l3,=R8lO@M}1i;;;R(B
489: @end table
490:
491: @example
492: [0] fctr(x^10-1);
493: [[1,1],[x-1,1],[x+1,1],[x^4+x^3+x^2+x+1,1],[x^4-x^3+x^2-x+1,1]]
494: [1] @@@@[3];
495: [x^4+x^3+x^2+x+1,1]
496: [2] eval(sin(@@pi/2));
497: 1.000000000000000000000000000000000000000000000000000000000
498: [3] eval(log(@@e),20);
499: 0.99999999999999999999999999998
500: [4] @@0[4][0];
501: x^4-x^3+x^2-x+1
502: [5] (1+@@i)^5;
503: (-4-4*@@i)
504: [6] eval(exp(@@pi*@@i));
505: -1.0000000000000000000000000000
506: [7] (@@+1)^9;
507: (@@^9+@@^8+@@+1)
508: @end example
509:
510: @noindent
511: $B%H%C%W%l%Y%k$G7W;;$5$l$?CM$O$3$N$h$&$K%R%9%H%j$H$7$F<h$j=P$72DG=$G$"$k$,(B,
512: $B$3$N$3$H$O(B, $B%,%Y!<%8%3%l%/%?$K$H$C$F$OIiC4$r$b$?$i$92DG=@-$,$"$k(B. $BFC$K(B,
513: $BBg$-$J<0$r%H%C%W%l%Y%k$G7W;;$7$?>l9g(B, $B$=$N8e$N(B GC $B;~4V$,5^B.$KA}Bg$9$k2D(B
514: $BG=@-$,$"$k(B. $B$3$N$h$&$J>l9g(B, @code{delete_history()}
515: (@pxref{delete_history,,@code{delete_history}}) $B$,M-8z$G$"$k(B.
516:
517:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>