ドキュメントの修正 v0.1p16
authorj8takagi <j8takagi@nifty.com>
Thu, 10 Feb 2011 01:12:02 +0000 (10:12 +0900)
committerj8takagi <j8takagi@nifty.com>
Thu, 10 Feb 2011 01:12:02 +0000 (10:12 +0900)
LICENSE
README
doc/style.css
doc/yacasl2.html
doc/yacasl2.texi
src/Makefile
test/unit/addcerrlist/Makefile

diff --git a/LICENSE b/LICENSE
index f89fa41..b27c529 100644 (file)
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2010 j8takagi
+Copyright (c) 2010-2011, j8takagi.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
diff --git a/README b/README
index b5e867e..de40d26 100644 (file)
--- a/README
+++ b/README
@@ -1,11 +1,6 @@
 このファイルは、YACASL2のREADMEファイルです。
 
 このファイルは、YACASL2のREADMEファイルです。
 
-■概要
-■ドキュメント
-■Webサイト
-■ライセンス    
-
-■概要
+■YACASL2の概要
 YACASL2は、Linux上で動作するオープンソースのCASL II処理システムです。
 CASL IIは、情報処理試験で用いられるアセンブラ言語で、次の資料で仕様が定義されています。
 
 YACASL2は、Linux上で動作するオープンソースのCASL II処理システムです。
 CASL IIは、情報処理試験で用いられるアセンブラ言語で、次の資料で仕様が定義されています。
 
@@ -14,7 +9,7 @@ CASL IIは、情報処理試験で用いられるアセンブラ言語で、次
       別紙 1 アセンブラ言語の仕様
 
 ■ドキュメント
       別紙 1 アセンブラ言語の仕様
 
 ■ドキュメント
-YACASL2の要件、インストール方法、使い方などは次のドキュメントを参照してください。
+YACASL2のインストール方法、使い方などは次のドキュメントを参照してください。
 doc/yacasl2.html
 
 ■Webサイト
 doc/yacasl2.html
 
 ■Webサイト
@@ -22,7 +17,7 @@ doc/yacasl2.html
 http://www.j8takagi.net/yacasl2/
 
 ■ライセンス
 http://www.j8takagi.net/yacasl2/
 
 ■ライセンス
-Copyright 2010, j8takagi.
+Copyright 2010-2011, j8takagi.
 YACASL2 is licensed under the MIT license.
 
 詳細は、LICENSEを参照してください。
 YACASL2 is licensed under the MIT license.
 
 詳細は、LICENSEを参照してください。
index 78d193f..d117590 100644 (file)
@@ -11,6 +11,13 @@ h1, h2 {
 
 .node{
     margin-left: -3em;
 
 .node{
     margin-left: -3em;
+    color: inherit;
+    background-color: #DDF;
+}
+
+.menu, .node {
+    color: inherit;
+    background-color: #DDF;
 }
 
 h2 {
 }
 
 h2 {
@@ -19,13 +26,41 @@ h2 {
     background-color: navy;
 }
 
     background-color: navy;
 }
 
-h3, h4 {
+.contents {
+    background-color: #DDF;
+    border: 4px double #000;
+}
+
+.contents h2 {
+    margin-left: 0;
+    color: black;
+    background-color: #DDF;
+}
+
+.shortcontents {
+    background-color: #DDF;
+    border: 4px double #000;
+ }
+
+.shortcontents h2{
+    display: none;
+}
+
+.shortcontents a {
+   margin-right: 1em;
+}
+
+h3, h4, h5 {
     color: navy;
     margin-left: -1em;
 }
 
     color: navy;
     margin-left: -1em;
 }
 
+h5 {
+    font-size: 100%;
+}
+
 p {
 p {
-    line-height: 1.5em;
+    line-height: 1.25em;
     margin-top: 0;
     margin-bottom: 0.5em;
 }
     margin-top: 0;
     margin-bottom: 0.5em;
 }
@@ -35,14 +70,6 @@ a:hover {
     text-decoration: underline;
 }
 
     text-decoration: underline;
 }
 
-kbd {
-    font-family: monospace;
-}
-
-table.cartouche {
-    width: 60%;
-}
-
 pre.example {
     padding: 0.5em 1em 0.5em 1em;
     color: #CCC;
 pre.example {
     padding: 0.5em 1em 0.5em 1em;
     color: #CCC;
@@ -54,10 +81,18 @@ a {
     text-decoration: none;
 }
 
     text-decoration: none;
 }
 
-blockquote.p {
-    margin-top:0;
-    padding-top:0;
-    line-height: 100%;
+blockquote {
+    line-height: 1.25em;
+    border: 1px solid #00F;
+}
+
+kbd {
+    font-family: monospace;
+}
+
+kbd, code, .file {
+    margin-left:0.5em;
+    margin-right: 0.5em;
 }
 
 table, th, td {
 }
 
 table, th, td {
@@ -69,13 +104,20 @@ table.cartouche, table.cartouche th, table.cartouche td  {
     border: none;
 }
 
     border: none;
 }
 
-pre.example kbd, pre.example .option {
+pre.example .command, pre.example .option, pre.example kbd {
     font-weight: bold;
     font-weight: bold;
+    font-family: monospace;
     background-color: inherit;
     color: white;
     background-color: inherit;
     color: white;
+    margin-left:0;
+    margin-right: 0;
 }
 
 }
 
-pre.example em {
+pre.example strong {
     font: inherit;
     border: 2px solid green;
 }
     font: inherit;
     border: 2px solid green;
 }
+
+dt {
+    font-weight: bold;
+}
\ No newline at end of file
index 19fe728..e203e8f 100644 (file)
@@ -275,11 +275,14 @@ YACASL2の動作はCASL IIの仕様に準拠しているため、情報処理試
 <h3 class="section">2.1 YACASL2ファイルのダウンロード</h3>
 
 <p>次の場所から最新版の<samp><span class="file">tar.gz</span></samp>ファイルをダウンロードします。
 <h3 class="section">2.1 YACASL2ファイルのダウンロード</h3>
 
 <p>次の場所から最新版の<samp><span class="file">tar.gz</span></samp>ファイルをダウンロードします。
-<blockquote>
-<a href="http://github.com/j8takagi/YACASL2">GitHub/j8takagi/YACASL2</a>の<a href="http://github.com/j8takagi/YACASL2/downloads">ダウンロードページ</a>
-</blockquote>
 
 
- <p>続けて、対応する<samp><span class="file">md5sum</span></samp>ファイルをダウンロードします。
+     <ul>
+<li><a href="yacasl2.tar.gz">yacasl2.tar.gz</a> - YACASL2のファイル一式を<samp><span class="file">tar.gz</span></samp>形式で圧縮したもの
+
+     <li><a href="yacasl2.tar.gz.md5sum">yacasl2.tar.gz.md5sum</a> - <samp><span class="file">yacasl2.tar.gz</span></samp>のMD5ハッシュ値
+</ul>
+
+ <p>または、<a href="http://github.com/j8takagi/YACASL2/downloads">githubのダウンロードページ</a>からダウンロード、
 
 <p><a name="Verify"></a>
 
 
 <p><a name="Verify"></a>
 
@@ -287,7 +290,7 @@ YACASL2の動作はCASL IIの仕様に準拠しているため、情報処理試
 
 <p>ダウンロードが完了したら、<kbd>md5sum</kbd>と<kbd>diff</kbd>で正しくファイルがダウンロードができているかを検証します。
 
 
 <p>ダウンロードが完了したら、<kbd>md5sum</kbd>と<kbd>diff</kbd>で正しくファイルがダウンロードができているかを検証します。
 
-<pre class="example">  $ <kbd>md5sum yacasl2.tar.gz | diff -s yacasl2.tar.gz.md5sum -</kbd>
+<pre class="example">  $ <kbd>openssl md5sum yacasl2.tar.gz | diff -s yacasl2.tar.gz.md5sum -</kbd>
   Files yacasl2.tar.gz.md5sum and - are identical
 </pre>
  <p><a name="Expand"></a>
   Files yacasl2.tar.gz.md5sum and - are identical
 </pre>
  <p><a name="Expand"></a>
index 49ad8d9..3cfa3d8 100644 (file)
@@ -14,7 +14,7 @@
 @c %**end of header
 
 @copying
 @c %**end of header
 
 @copying
-Copyright @copyright{} 2010 j8takagi
+Copyright @copyright{} 2010-2011 j8takagi
 @end copying
 
 @exampleindent 2
 @end copying
 
 @exampleindent 2
@@ -36,11 +36,11 @@ Copyright @copyright{} 2010 j8takagi
 @end ifnottex
 
 @menu
 @end ifnottex
 
 @menu
-* About::
-* Install::
-* Usage::
-* Command Manual::
-* CASL2LIB Manual::
+* About::                       YACASL2の概要
+* Install::                     YACASL2のインストール
+* Usage::                       YACASL2の使い方
+* Command Manual::              YACASL2コマンドマニュアル
+* CASL2LIB Manual::             CASL2LIBマニュアル
 @end menu
 
 @contents
 @end menu
 
 @contents
@@ -113,24 +113,23 @@ YACASL2をインストールするには、Linux上で次の作業をします
 * Build::    @kbd{casl2}、@kbd{comet2}、@kbd{dumpword}のビルド
 * Simple Test::    @kbd{casl2}の実行テスト
 * Detail Test::    詳細なテスト
 * Build::    @kbd{casl2}、@kbd{comet2}、@kbd{dumpword}のビルド
 * Simple Test::    @kbd{casl2}の実行テスト
 * Detail Test::    詳細なテスト
-* Environment::    環境変数の設定
+* Environment::                 環境変数の設定
 @end menu
 
 @node Download, Verify, Install, Install
 @section YACASL2ファイルのダウンロード
 
 次の場所から最新版の@file{tar.gz}ファイルをダウンロードします。
 @end menu
 
 @node Download, Verify, Install, Install
 @section YACASL2ファイルのダウンロード
 
 次の場所から最新版の@file{tar.gz}ファイルをダウンロードします。
-@iftex
-@cartouche
-@end iftex
-@quotation
-@uref{http://github.com/j8takagi/YACASL2, GitHub/j8takagi/YACASL2}の@uref{http://github.com/j8takagi/YACASL2/downloads, ダウンロードページ}
-@end quotation
-@iftex
-@end cartouche
-@end iftex
 
 
-続けて、対応する@file{md5sum}ファイルをダウンロードします。
+@itemize
+@item
+@uref{yacasl2.tar.gz} - YACASL2のファイル一式を@file{tar.gz}形式で圧縮したもの
+
+@item
+@uref{yacasl2.tar.gz.md5sum} - @file{yacasl2.tar.gz}のMD5ハッシュ値
+@end itemize
+
+または、@uref{http://github.com/j8takagi/YACASL2/downloads, githubのダウンロードページ}からダウンロード、
 
 @node Verify, Expand, Download, Install
 @section YACASL2ファイルの検証
 
 @node Verify, Expand, Download, Install
 @section YACASL2ファイルの検証
@@ -138,7 +137,7 @@ YACASL2をインストールするには、Linux上で次の作業をします
 ダウンロードが完了したら、@kbd{md5sum}と@kbd{diff}で正しくファイルがダウンロードができているかを検証します。
 
 @example
 ダウンロードが完了したら、@kbd{md5sum}と@kbd{diff}で正しくファイルがダウンロードができているかを検証します。
 
 @example
-$ @kbd{md5sum yacasl2.tar.gz | diff -s yacasl2.tar.gz.md5sum -}
+$ @kbd{openssl md5sum yacasl2.tar.gz | diff -s yacasl2.tar.gz.md5sum -}
 Files yacasl2.tar.gz.md5sum and - are identical
 @end example
 
 Files yacasl2.tar.gz.md5sum and - are identical
 @end example
 
@@ -928,21 +927,21 @@ $ @kbd{dumpword 10}
 @chapter CASL2LIBマニュアル
 
 @menu
 @chapter CASL2LIBマニュアル
 
 @menu
-* ABS::
-* DIVA::
-* DIVL::
-* INL::
-* L2STR::
-* MAX::
-* MINIM::
-* MULA::
-* MULL::
-* OUTA::
-* OUTB::
-* OUTD_Q15::
-* OUTL::
-* REV::
-* STR2L::
+* ABS::                         @kbd{ABS} - @file{abs.casl}
+* DIVA::                        @kbd{DIVA} - @file{diva.casl}
+* DIVL::                        @kbd{DIVL} - @file{divl.casl}
+* INL::                         @kbd{INL} - @file{inl.casl}
+* L2STR::                       @kbd{L2STR} - @file{l2str.casl}
+* MAX::                         @kbd{MAX} - @file{max.casl}
+* MINIM::                       @kbd{MINIM} - @file{minim.casl}
+* MULA::                        @kbd{MULA} - @file{mula.casl}
+* MULL::                        @kbd{MULL} - @file{mull.casl}
+* OUTA::                        @kbd{OUTA} - @file{outa.casl}
+* OUTB::                        @kbd{OUTB} - @file{outb.casl}
+* OUTD_Q15::                    @kbd{OUTD_Q15} - @file{outd_q15.casl}
+* OUTL::                        @kbd{OUTL} - @file{outl.casl}
+* REV::                         @kbd{REV} - @file{rev.casl}
+* STR2L::                       @kbd{STR2L} - @file{str2l.casl}
 @end menu
 
 @node ABS, DIVA, CASL2LIB Manual, CASL2LIB Manual
 @end menu
 
 @node ABS, DIVA, CASL2LIB Manual, CASL2LIB Manual
index 187a690..93a2449 100644 (file)
@@ -1,11 +1,12 @@
-INCLUDE = ../include
-CC = gcc
-CFLAGS = -g -Wall -I $(INCLUDE)
-
-COMMONSRC = word.c cmem.c cerr.c
-CASL2SRC = struct.c cmd.c hash.c
-ASSRC = assemble.c token.c label.c
-EXECSRC = exec.c dump.c
+INCLUDE := ../include
+CC := gcc
+CFLAGS := -g -Wall -I $(INCLUDE)
+RM := rm -f
+
+COMMONSRC := word.c cmem.c cerr.c
+CASL2SRC := struct.c cmd.c hash.c
+ASSRC := assemble.c token.c label.c
+EXECSRC := exec.c dump.c
 
 .PHONY: all clean
 
 
 .PHONY: all clean
 
index 654317f..809cd7b 100644 (file)
@@ -10,4 +10,3 @@ SRCFILES = $(SRCDIR)/cmem.c $(SRCDIR)/cerr.c cmd.c
 cmd: cmd.c $(SRCFILES)
        gcc -g -Wall -I ../../../include -o $@ $^
        rm -rf cmd.dSYM
 cmd: cmd.c $(SRCFILES)
        gcc -g -Wall -I ../../../include -o $@ $^
        rm -rf cmd.dSYM
-