From: j8takagi Date: Thu, 10 Feb 2011 01:12:02 +0000 (+0900) Subject: ドキュメントの修正 X-Git-Tag: v0.1p16 X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=commitdiff_plain;h=d998766540ffc4332d6212a76a38a2242419ffa5;hp=c7d676ce0fb72d31190b926771123b2f590edbca ドキュメントの修正 --- diff --git a/LICENSE b/LICENSE index f89fa41..b27c529 100644 --- 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 diff --git a/README b/README index b5e867e..de40d26 100644 --- a/README +++ b/README @@ -1,11 +1,6 @@ このファイルは、YACASL2のREADMEファイルです。 -■概要 -■ドキュメント -■Webサイト -■ライセンス - -■概要 +■YACASL2の概要 YACASL2は、Linux上で動作するオープンソースのCASL II処理システムです。 CASL IIは、情報処理試験で用いられるアセンブラ言語で、次の資料で仕様が定義されています。 @@ -14,7 +9,7 @@ CASL IIは、情報処理試験で用いられるアセンブラ言語で、次 別紙 1 アセンブラ言語の仕様 ■ドキュメント -YACASL2の要件、インストール方法、使い方などは次のドキュメントを参照してください。 +YACASL2のインストール方法、使い方などは次のドキュメントを参照してください。 doc/yacasl2.html ■Webサイト @@ -22,7 +17,7 @@ doc/yacasl2.html http://www.j8takagi.net/yacasl2/ ■ライセンス -Copyright 2010, j8takagi. +Copyright 2010-2011, j8takagi. YACASL2 is licensed under the MIT license. 詳細は、LICENSEを参照してください。 diff --git a/doc/style.css b/doc/style.css index 78d193f..d117590 100644 --- a/doc/style.css +++ b/doc/style.css @@ -11,6 +11,13 @@ h1, h2 { .node{ margin-left: -3em; + color: inherit; + background-color: #DDF; +} + +.menu, .node { + color: inherit; + background-color: #DDF; } h2 { @@ -19,13 +26,41 @@ h2 { 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; } +h5 { + font-size: 100%; +} + p { - line-height: 1.5em; + line-height: 1.25em; margin-top: 0; margin-bottom: 0.5em; } @@ -35,14 +70,6 @@ a:hover { text-decoration: underline; } -kbd { - font-family: monospace; -} - -table.cartouche { - width: 60%; -} - pre.example { padding: 0.5em 1em 0.5em 1em; color: #CCC; @@ -54,10 +81,18 @@ a { 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 { @@ -69,13 +104,20 @@ table.cartouche, table.cartouche th, table.cartouche td { border: none; } -pre.example kbd, pre.example .option { +pre.example .command, pre.example .option, pre.example kbd { font-weight: bold; + font-family: monospace; background-color: inherit; color: white; + margin-left:0; + margin-right: 0; } -pre.example em { +pre.example strong { font: inherit; border: 2px solid green; } + +dt { + font-weight: bold; +} \ No newline at end of file diff --git a/doc/yacasl2.html b/doc/yacasl2.html index 19fe728..e203e8f 100644 --- a/doc/yacasl2.html +++ b/doc/yacasl2.html @@ -275,11 +275,14 @@ YACASL2の動作はCASL IIの仕様に準拠しているため、情報処理試

2.1 YACASL2ファイルのダウンロード

次の場所から最新版のtar.gzファイルをダウンロードします。 -

-GitHub/j8takagi/YACASL2のダウンロードページ -
-

続けて、対応するmd5sumファイルをダウンロードします。 +

+ +

または、githubのダウンロードページからダウンロード、

@@ -287,7 +290,7 @@ YACASL2の動作はCASL IIの仕様に準拠しているため、情報処理試

ダウンロードが完了したら、md5sumとdiffで正しくファイルがダウンロードができているかを検証します。 -

  $ md5sum yacasl2.tar.gz | diff -s yacasl2.tar.gz.md5sum -
+
  $ openssl md5sum yacasl2.tar.gz | diff -s yacasl2.tar.gz.md5sum -
   Files yacasl2.tar.gz.md5sum and - are identical
 

diff --git a/doc/yacasl2.texi b/doc/yacasl2.texi index 49ad8d9..3cfa3d8 100644 --- a/doc/yacasl2.texi +++ b/doc/yacasl2.texi @@ -14,7 +14,7 @@ @c %**end of header @copying -Copyright @copyright{} 2010 j8takagi +Copyright @copyright{} 2010-2011 j8takagi @end copying @exampleindent 2 @@ -36,11 +36,11 @@ Copyright @copyright{} 2010 j8takagi @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 @@ -113,24 +113,23 @@ YACASL2をインストールするには、Linux上で次の作業をします * 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}ファイルをダウンロードします。 -@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ファイルの検証 @@ -138,7 +137,7 @@ YACASL2をインストールするには、Linux上で次の作業をします ダウンロードが完了したら、@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 @@ -928,21 +927,21 @@ $ @kbd{dumpword 10} @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 diff --git a/src/Makefile b/src/Makefile index 187a690..93a2449 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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 diff --git a/test/unit/addcerrlist/Makefile b/test/unit/addcerrlist/Makefile index 654317f..809cd7b 100644 --- a/test/unit/addcerrlist/Makefile +++ b/test/unit/addcerrlist/Makefile @@ -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 -