version 1.19, 2005/05/04 00:08:38 |
version 1.21, 2005/07/25 12:23:05 |
|
|
%% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.18 2004/11/24 23:00:23 takayama Exp $ |
%% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.20 2005/05/04 11:06:55 takayama Exp $ |
\input texinfo |
\input texinfo |
@iftex |
@iftex |
@catcode`@#=6 |
@catcode`@#=6 |
Line 128 ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe |
|
Line 128 ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe |
|
* remove_paren:: |
* remove_paren:: |
* set_secure_mode:: |
* set_secure_mode:: |
* set_secure_flag:: |
* set_secure_flag:: |
|
* double_quote:: |
@end menu |
@end menu |
|
|
@comment --- $B"~"~"~"~(B $B4X?t(B quotetotex, quotetotex_env $B$N@bL@(B $B"~"~"~"~(B |
@comment --- $B"~"~"~"~(B $B4X?t(B quotetotex, quotetotex_env $B$N@bL@(B $B"~"~"~"~(B |
|
|
@end itemize |
@end itemize |
|
|
|
|
@node quote_flatten,,, $B<B83E*;EMM$N4X?t(B |
@node flatten_quote,,, $B<B83E*;EMM$N4X?t(B |
@subsection @code{quote_flatten} |
@subsection @code{flatten_quote} |
@findex quote_flatten |
@findex flatten_quote |
|
|
@comment --- $B4X?t$N4JC1$J@bL@(B --- |
@comment --- $B4X?t$N4JC1$J@bL@(B --- |
@table @t |
@table @t |
@item quote_flatten(@var{q},@var{op}) |
@item flatten_quote(@var{q},@var{op}) |
:: quote $B$N3g8L$r$H$j$5$k(B. |
:: quote $B$N3g8L$r$H$j$5$k(B. |
@end table |
@end table |
|
|
Line 1111 Quote $B7?$N%G!<%?$OLZ9=B$$r$7$F$$$k(B |
|
Line 1112 Quote $B7?$N%G!<%?$OLZ9=B$$r$7$F$$$k(B |
|
$B$?$H$($P(B (1+2)+(3+4) $B$H$$$&I=8=$r(B 1+2+3+4 $B$KJQ49$9$k(B. |
$B$?$H$($P(B (1+2)+(3+4) $B$H$$$&I=8=$r(B 1+2+3+4 $B$KJQ49$9$k(B. |
@item |
@item |
$B8=:_$N<BAu$G$O(B n-ary $B$N1i;;;R$ODj5A$5$l$F$$$J$$$N$G(B, |
$B8=:_$N<BAu$G$O(B n-ary $B$N1i;;;R$ODj5A$5$l$F$$$J$$$N$G(B, |
1+2+3 $B$O<B$O(B (1+2)+3 $B$HI=8=$5$l$F$$$k(B. |
1+2+3 $B$O<B$O(B 1+(2+3) $B$HI=8=$5$l$F$$$k(B. |
$B$D$^$j(B + $B1i;;;R$O:87k9gE*$G$"$k(B. |
$B$D$^$j(B + $B1i;;;R$O1&7k9gE*$G$"$k(B. |
|
@item R=0; for (I=0; I<N; I++) R = R+ P[I]; $B$J$kB-$7;;$r7+$jJV$9$H(B, |
|
+ $B$O:87k9gE*$K$J$k(B. $B1&7k9gE*$KJQ49$9$k$K$O(B flatten_quote $B$r8F$V(B. |
|
@item $BL>A0$O(B quote_flatten $B$G$J$/(B flatten_quote $B$G$"$k(B. |
@end itemize |
@end itemize |
|
|
@example |
@example |
Line 1469 cgi-asir.sh $B$G$O(B |
|
Line 1473 cgi-asir.sh $B$G$O(B |
|
@item |
@item |
1.33 OpenXM_contrib2/asir2000/parse/parse.h |
1.33 OpenXM_contrib2/asir2000/parse/parse.h |
@end itemize |
@end itemize |
|
|
|
@node double_quote,,, $B<B83E*;EMM$N4X?t(B |
|
@subsection @code{double_quote} |
|
@findex double_quote |
|
|
|
|
|
@comment --- $B@bL@(B --- |
|
@table @t |
|
@item double_quote, double quote $B$N<h07$d(B static $BJQ?t$N=i4|2=$NLdBjE@(B. |
|
@end table |
|
|
|
|
|
@itemize @bullet |
|
@item double quote $B$N<h07(B. $B2<$N$h$&$J%W%m%0%i%`$G(B parse error $B$,@8$8$k(B. |
|
$BLnO$[)$/(B: "TeXmacs $BMQ$K(B, $BE:;z$N<+F0JQ49$J$I$r$d$C$F$$$k$H$-$K(B, ox_asir $B$,<u$1<h$C$?(B |
|
$BJ8;zNs$N%P%C%/%9%i%C%7%e$,(B1 $B8D$N>l9g$K(B 2 $B8D$KA}$d$9$H$$$&4X?t$,DI2C(B |
|
$B$5$l$F$$$^$9(B. $B;n$7$K$3$l$r30$9$H(B OK $B$N$h$&$G$9(B. $B$G$b$-$C$HB>$G$*$+$7$J(B |
|
$B$3$H$,5/$-$k$G$7$g$&$M(B. |
|
$B;W$$=P$7$F$-$^$7$?(B. TeX $B$rAw$k$H$-$K(B, $B%P%C%/%9%i%C%7%e$@$i$1$K(B |
|
$B$J$k$N$rHr$1$k$?$a$@$C$?$h$&$J(B... " |
|
@item static $BJQ?t$N<h07(B. |
|
$B2<$NNc$r;2>H$N$3$H(B. |
|
@end itemize |
|
|
|
@example |
|
if (1) @{ |
|
S="\"hoge\""; |
|
print(S); |
|
@}else@{ @}; |
|
$B$r(B $B%U%!%$%k(B t.rr $B$K3JG<(B. |
|
|
|
[1207] S=util_read_file_as_a_string("/home/nobuki/t.rr"); |
|
if (1) @{ |
|
S="\"hoge\""; |
|
print(S); |
|
@}else@{ @}; |
|
|
|
[1208] eval_str(S); |
|
exprparse : parse error |
|
0 |
|
|
|
t.rr $B$r(B |
|
if (1) @{ |
|
S=" "+asciitostr([34])+"hoge"+asciitostr([34])+" "; |
|
print(S); |
|
@}else@{ @}; |
|
$B$HJQ99(B. S $B$KFI$_9~$`(B. |
|
[1212] eval_str(S); |
|
exprparse : parse error |
|
0 |
|
S="" $B$,$J$/$F$b(B if (1) $B$@$H%(%i!<$N$h$&$@(B. |
|
|
|
[1213] ox_launch(0,"ox_asir"); |
|
0 |
|
[1214] ox_execute_string(0,S); |
|
0 $B$7$+$7$3$A$i$O@5$7$/F0:n(B. |
|
|
|
@end example |
|
|
|
@example |
|
if (1) @{ |
|
module abc; |
|
static A; |
|
A=1; |
|
endmodule; |
|
@} else @{ @}; |
|
|
|
end$ |
|
$B$r(B t.rr $B$H$9$k$H$-(B, |
|
|
|
[6] load("./t.rr"); |
|
1 |
|
internal error (SEGV) |
|
$B$H$J$k(B. |
|
|
|
t.rr $B$r(B |
|
if (1) @{ |
|
module abc; |
|
static A; |
|
localf initA; |
|
localf foo; |
|
def initA() @{ |
|
A=1; |
|
@} |
|
initA(); |
|
def foo() @{ |
|
return A; |
|
@} |
|
endmodule; |
|
@} else @{ @}; |
|
|
|
end$ |
|
$B$H$9$k$H@5$7$/=i4|2=$5$l$k(B. |
|
@end example |
|
|
|
@comment --- ChangeLog |
|
@noindent |
|
ChangeLog |
|
@itemize @bullet |
|
@item oxasir-win.rr $B$N<h07$GLdBjE@$H$7$FIb>e(B. 2005.07.25. |
|
@item ox_asir $B$K7W;;$r0MMj$9$k;~$O(B if (1) @{ ... @}$B$G0O$`(B. |
|
@end itemize |
|
|
|
|
@comment **************************************************************** |
@comment **************************************************************** |
@comment --- $B"~"~"~"~(B $B0J2<B>$N4X?t$K$D$$$F??;w$7$F5-=R$9$k(B. $B"~"~"~"~(B |
@comment --- $B"~"~"~"~(B $B0J2<B>$N4X?t$K$D$$$F??;w$7$F5-=R$9$k(B. $B"~"~"~"~(B |