version 1.9, 2000/09/09 21:59:13 |
version 1.11, 2003/08/23 08:42:35 |
|
|
%% $OpenXM: OpenXM/doc/OpenXM-specs/stackmachine.tex,v 1.8 2000/09/08 20:01:38 takayama Exp $ |
%% $OpenXM: OpenXM/doc/OpenXM-specs/stackmachine.tex,v 1.10 2000/09/11 17:37:28 takayama Exp $ |
//&jp \section{ OX スタックマシン } |
//&jp \section{ OX スタックマシン } |
//&eg \section{ OX stack machine } |
//&eg \section{ OX stack machine } |
\label{sec:stackmachine} |
\label{sec:stackmachine} |
|
|
\end{verbatim} |
\end{verbatim} |
|
|
/*&jp |
/*&jp |
mathcap は 3つの要素をもつリストである. まづ, 最初の要素を見よう. |
mathcap は 3つの要素をもつリストである. まづ, 最初の要素(これもリスト)を見よう. |
最初の数字は OpenXM プロトコルのバージョンである. |
リストの先頭の数字は OpenXM プロトコルのバージョンである. |
現在では 1.1.3 等のバージョンが 001001003 と数字にエンコードされて |
|
ここに格納される. |
|
Ox\_system は openXM システム名である. 読み込むライブラリがちがって |
Ox\_system は openXM システム名である. 読み込むライブラリがちがって |
いて, 関数名(または シンボル)の意味がちがうときはこの名前もかえる. た |
いて, 関数名(または シンボル)の意味がちがうときはこの名前もかえる. た |
とえば, open math の basic content dictionary 対応の関数定義マクロを読 |
とえば, open math の basic content dictionary 対応の関数定義マクロを読 |
Line 509 Ox\_system は openXM システム名である. 読み込むライブ |
|
Line 507 Ox\_system は openXM システム名である. 読み込むライブ |
|
タのフォマットは(サイズ情報なしの) CMO であることを示す. |
タのフォマットは(サイズ情報なしの) CMO であることを示す. |
*/ |
*/ |
/*&eg |
/*&eg |
A mathcap has three components. The first one contains informations |
A mathcap has three components. The first one, which is also a list, |
|
contains informations |
to identify the version number of the OpenXM protocol, |
to identify the version number of the OpenXM protocol, |
the system and hosts on which the application runs. |
the system and hosts on which the application runs. |
In the above example, {\tt Ox\_system} denotes the system name. |
In the above example, {\tt Ox\_system} denotes the system name. |
Line 533 OpenXM/XML expression of the example above: |
|
Line 532 OpenXM/XML expression of the example above: |
|
|
|
<cmo_list> |
<cmo_list> |
<int32 for="length"> 4 </int32> |
<int32 for="length"> 4 </int32> |
<int32 for="Protocol version"> 001001003 </int32> |
<cmo_int32 for="Protocol version"> 001001003 </cmo_int32> |
<cmo_string for="system name"> Ox_system=ox_sm1.plain </cmo_string> |
<cmo_string for="system name"> Ox_system=ox_sm1.plain </cmo_string> |
<cmo_string for="system version"> Version=2.990911 </cmo_string> |
<cmo_string for="system version"> Version=2.990911 </cmo_string> |
<cmo_string for="hosttype"> HOSTTYPE=i386 </cmo_string> |
<cmo_string for="hosttype"> HOSTTYPE=i386 </cmo_string> |
Line 541 OpenXM/XML expression of the example above: |
|
Line 540 OpenXM/XML expression of the example above: |
|
|
|
<cmo_list for="Available SM tags"> |
<cmo_list for="Available SM tags"> |
<int32 for="length"> 11 </int32> |
<int32 for="length"> 11 </int32> |
<int32> 262 </int32> |
<cmo_int32> 262 </cmo_int32> |
<int32> 263 </int32> |
<cmo_int32> 263 </cmo_int32> |
... |
... |
</cmo_list> |
</cmo_list> |
|
|
Line 550 OpenXM/XML expression of the example above: |
|
Line 549 OpenXM/XML expression of the example above: |
|
<int32 for="length"> 2 </int32> |
<int32 for="length"> 2 </int32> |
<cmo_list for="OX_DATA tag"> |
<cmo_list for="OX_DATA tag"> |
<int32 for="length"> 1 </int32> |
<int32 for="length"> 1 </int32> |
<int32 comment="OX_DATA"> 514 </int32> |
<cmo_int32 comment="OX_DATA"> 514 </cmo_int32> |
</cmo_list> |
</cmo_list> |
<cmo_list for="Available CMO tags"> |
<cmo_list for="Available CMO tags"> |
<int32 for="length"> 21 </int32> |
<int32 for="length"> 21 </int32> |
<int32 comment="CMO_ERROR2"> 2130706434 </int32> |
<cmo_int32 comment="CMO_ERROR2"> 2130706434 </cmo_int32> |
<int32 comment="CMO_NULL"> 1 </int32> |
<cmo_int32 comment="CMO_NULL"> 1 </cmo_int32> |
.... |
.... |
</cmo_list> |
</cmo_list> |
|
|