<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja"> 
  <HEAD>
    <title>Akihito Nagata's Page</title> 
    <META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
    <META http-equiv="Content-Style-Type" content="text/css">
    <meta name="keywords" content="akihito,nagata,ocaml,java,unix,linux,postgresql,html,stylesheet,cgi,thesis,type">
    <meta name="description" content="Akihito Nagata,プログラミングやlinuxなどのtips">    
    <meta name="robots" content="all">
    <link rel="stylesheet" href="/~ganat/stylesheet.css" type="text/css">
    <LINK rel="INDEX" href="../index.html"><link rel="stylesheet" href="./stylesheet.css" type="text/css"><link rel="stylesheet" href="ocaml.css" type="text/css">
    <style type="text/css">
      
      <!--
      div.ocaml { background-color : white;
                padding : 10px;}
      -->
    
    </style>
  </head>
  <body>
    <table summary="table" border=0 cellspacing=0 cellpadding=0>
	<tr>
	  <td valign="top">
	    <table summary="table" border=0 cellspacing=0 cellpadding=0>
		<tr>
		  <td>
		    <!-- 左上の画像 -->
		    <table summary="table" border=0 cellspacing=0 cellpadding=0>
			  <tr>
			    <td width=10><img alt="*" src="/~ganat/images/borders/pic_border_lt.jpg"></td>
			    <td width=120 style="background-image : url(/~ganat/images/borders/newpic_border_t.gif);">
			      <img alt="*" src="/~ganat/images/borders/white10x10.gif"></td>
			    <td witdh=10><img alt="*" src="/~ganat/images/borders/pic_border_rt.jpg"></td>
			  </tr>
			  <tr>
			    <td><img alt="*" src="/~ganat/images/borders/pic_border_l.jpg"></td>
			    <td><img alt="*" src="<!--#exec cgi="/~ganat/cgi-bin/todayimage.cgi"-->"></td>
			    <td style="background-image : url(/~ganat/images/borders/newpic_border_r.gif);vertical-align : top;">
			      <img alt="*" src="/~ganat/images/borders/white10x10.gif"></td>
			  </tr>
			  <tr>
			    <td><img alt="*" src="/~ganat/images/borders/pic_border_lb.jpg"></td>
			    <td style="background-image : url(/~ganat/images/borders/newpic_border_b.gif);text-align:left;">
			      <img alt="*" src="/~ganat/images/borders/white10x10.gif"></td>
			    <td><img alt="*" src="/~ganat/images/borders/newpic_border_rb.gif"></td>
			  </tr>
		      </table>
		  </td>
		</tr>
		<tr>
		  <td class="menu" valign="top">
		    <!-- MENU -->
		    <div class="menutitle"><img alt="menu" src="/~ganat/images/menutitle.jpg"></div>
		    <div class="menu"><table width="140">
<tr style="text-align : right; "><td><a class="menu" href="/~ganat/index.html">Top Page</a></td></tr>
<tr style="text-align : right; "><td><a class="menu" href="/~ganat/ocaml/ocaml.html">Ocaml</a></td></tr>
<tr style="text-align : right; "><td><a class="menu" href="/~ganat/java/java.html">Java</a></td></tr>
<tr style="text-align : right; "><td><a class="menu" href="/~ganat/diary.html">Theses</a></td></tr>
<tr style="text-align : right; "><td><a class="menu" href="/~ganat/presentation.html">Presentation</a></td></tr>
<tr style="text-align : right; "><td><a class="menu" href="/~ganat/survey/index.html">Survey</a></td></tr>
<tr style="text-align : right; "><td><a class="menu" href="/~ganat/unix/unix.html">Unix Tips</a></td></tr>
<tr style="text-align : right; "><td><a class="menu" href="/~ganat/memo/index.html">Memo</a></td></tr>
<tr style="text-align : right; "><td><a class="menu" href="/~ganat/link.html">LINK</a></td></tr>
<tr style="text-align : right; "><td><a class="menu" href="/~ganat/cgi-bin/nagabbs/nagabbs.cgi">BBS</a></td></tr>
</table>
</div>
		  </td>
		</tr>
	    </table>
	  </td>
	  <td>
      <table summary="table" border=0 cellspacing=0 cellpadding=0>
		<tr>
		  <td valign="top" style="text-align : center;">
		    <!-- 題名 -->
		    <!-- <div class="title">GANAT PAGE</div> -->
		    <img alt="Akihito Nagata's Page" src="/~ganat/images/title.gif">
		  </td>
		</tr>
		<tr>
		  <td>
		    <!-- メイン -->
		    <table summary="table" border=0 cellspacing=0 cellpadding=0>
			<tr>
			  <td width="10"><img alt="|" src="/~ganat/images/borders/vline_t.jpg"></td>
			  <td></td>
			  <td></td>
			</tr>
			<tr>
			  <td style="background-image:url(/~ganat/images/borders/vline.jpg);"><img alt="|" src="/~ganat/images/borders/vline.jpg"></td>
			  <td><div class="main">
    <div class="ocaml">
      <div class="title">Ocaml<img alt="rakuda" src="/~ganat/images/rakuda.gif"></div>
      <div class="notice">
	Ocamlについてを更新しました。(2002.5.01)
      </div>

      <h1>ダウンロード</h1>
      <div class="ocamlbox">
	現在の最新バージョンは3.04。ダウンロードは<a href="http://caml.inria.fr/ocaml/distrib.html">ここから</a>
      </div>
      <h1>Ocamlについて</h1>
      <div>
	<ul>	
	  <li><a href="ocamltips1.html">Ocamlについて</a></li>
	  <li><a href="ocamltips2.html">とりえあず使ってみる</a></li>
	  <li><a href="ocamltips3.html">変数を使う</a></li>
	  <li><a href="ocamltips4.html">Ocamlの型</a></li>
	  <li><a href="ocamltips5.html">関数を使う</a></li>
	  <li><a href="ocamltips6.html">パターンマッチング</a></li>
	  <li><a href="ocamltips7.html">TupleとListとPolymorphism</a></li>
	  <li><a href="ocamltips8.html">Union</a></li>
	  <li><a href="ocamltips10.html">module</a></li>
	</ul>
      </div>
    <h1>使い方</h1>
    <UL>
      <LI><h3>Ocamlのコンパイラ</H3>
	<UL>
	  <LI>ocamlc バイトコードコンパイラ
	  <LI>ocamlopt ネイティブコードコンパイラ
	</UL>
      <LI><H3>ファイル</H3> 
	<UL>
	  <LI>.ml -- モジュールの実装
	  <LI>.mli -- モジュールのインターフェース
	</UL>
	<UL>
	  <LI>.cmo 実装のバイトコード
	  <LI>.cmi インターフェース定義のバイトコード
	  <LI>.cmx 実装のネイティブコード
	</UL>
	コンパイルにより.mliから.cmiができる。<br>
	.mlをコンパイルするときに.cmiがなければ制約なし、あるなら型チェック。
      <LI><H3>付属のソフトウエア</H3>
	<UL>
	  <LI>ocamlyacc -- .mlyファイルを書くとそれのパーザー.mlを生成してくれる。<BR>
	    (例)<UL>
	      <LI><A href="parser.mly">parser.mly</A> 
	      <LI><A href="parser.ml">parser.ml</A>
	    </UL>
	  <LI>ocamllex  -- .mll からlexer .mlをつくってくれる。
	    (例)<UL>
	      <LI><A href="lexer.mll">lexer.mll</A>
	      <LI><A href="lexer.ml">lexer.ml</A>
	    </UL>
	    <A href="http://caml.inria.fr/ocaml/htmlman/manual025.html">OcamllexとOcamlyaccについて書かれたページ</A><br>
	    <A href="lexyacc/manual025.html">上をちょっとメモしたやつ。</A>
	</UL>
      <LI><H3>Ocaml Make</H3>
	Ocaml用のMakeファイルを書く手間を省いてくれるMakeのスクリプト<br>
	<A href="OcamlMakefile">OcamlMakefile</A><br>
	(例)<A href="Makefile">Makefile</A><br>

    </UL>
    <HR>
    <A href="mlbase.html">MLの基本的な使い方</A><br>
    <A href="doc/manual031.html">MLのCOREな部分のマニュアルの訳</A><br>
    <A href="mltype.html">MLの独自の型の定義の仕方</A><br>
    <A href="mlexception.html">MLの例外処理</A><br>
    <hr>
    <h1>リンク</h1>
    <A href="http://caml.inria.fr/ocaml/htmlman/">The Objective Caml system release 3.04</A><br>
    <A href="http://www.ocaml.org/">The Ocaml Language</A><br>
    <A href="http://www.yl.is.s.u-tokyo.ac.jp/~oiwa/lecture/ocaml/">大岩さんのページ。</A><br>
    <hr> 
    <A href="../index.html">TOPへ</A><br>
    <hr>
    
    <address><a href="mailto:ganat@yl.is.s.u-tokyo.ac.jp">NAGATA Akihito</a></address>
    <!-- Created: Thu Oct  4 17:55:06 JST 2001 -->
<!-- hhmts start -->
Last modified: Sat Jul 13 06:32:45 JST 2002
<!-- hhmts end -->
      </div>
  </div></td>
			  <td></td>
			</tr>
			<tr>
			  <td><img alt="|" src="/~ganat/images/borders/vline_b.jpg"></td>
			  <td></td>
			  <td></td>
			</tr>
		    </table>
		  </td>
		</tr>
	    </table>
    </td>
  </tr>
  </table>
    <div><a href="/~ganat/old/index.html">前のページはこちら</a></div>
  </body> 
</html>