diff --git a/ase/doc/ase.man b/ase/doc/ase.man index 24528d59..471604ed 100644 --- a/ase/doc/ase.man +++ b/ase/doc/ase.man @@ -1,47 +1,27 @@ .title ASE -== Introduction == += ASE = -ASE is a library implementing various programming languages for embedding purpose. +ASE is a programming library implementing various programming languages for embedding purposes. The library is developed in the C programming language and provides the JNI binding to JAVA and the COM interface. -=== Source === +== Download == +Download the library source code from the following links. + +ase-0.1.0.tar.gz [[[ -* ase - the root directory of the ase project -* ase/awk - AWK module -* ase/lsp - lisp module -* ase/com - COM interface source code for ASE modules -* ase/test/awk - -* ase/test/lsp - -* ase/test/com - -* ase/etc - -* ase/doc - +* {Link 1,ase-0.1.0.tar.gz} +* {Link 2,http://my.dreamwiz.com/bacon/ase-0.1.0.tar.gz} ]]] +== Documentation == + [[[ -* ase - the root directory of the ase project -* ase/awk - AWK module -* ase/lsp - lisp module -* ase/com - COM interface source code for ASE modules -* ase/test/awk - -* ase/test/lsp - -* ase/test/com - -* ase/etc - -* ase/doc - +* {Quickstart,quickstart.html} +* {User guide,userguide.html} +* {Frequently Asked Questions,faq.html} ]]] -{{{ -#if defined(__BORLANDC__) -#pragma hdrstop -#define Library -#endif -#include +== Licensing == -static void __free_afn (void* awk, void* afn); - -ase_awk_t* ase_awk_open ( - const ase_awk_prmfns_t* prmfns, void* custom_data, int* errnum) -{ - ase_awk_t* awk; -} -}}} +ASE is distributed under a {BSD license,license.txt} and is free for all uses. diff --git a/ase/doc/ase.xdg b/ase/doc/ase.xdg deleted file mode 100644 index f2c13995..00000000 --- a/ase/doc/ase.xdg +++ /dev/null @@ -1,9 +0,0 @@ -# -# XPKIT Document Generator Project File -# - -IndexFile: index.html -SourceExtension: .man -InputDir: -OutputDir: docs -Copyright: Copyright(c) 2005-2006 Chung, Hyung-Hwan. All rights reserved diff --git a/ase/rel/doc.awk b/ase/rel/doc.awk index 0ccf4855..8044cc5c 100644 --- a/ase/rel/doc.awk +++ b/ase/rel/doc.awk @@ -3,6 +3,29 @@ global empty_line_count; global para_started; global list_count; +func print_text (full) +{ + local fra1, fra2, link, idx, t1, t2; + + gsub ("<", "\\<", full); + gsub (">", "\\>", full); + + while (match (full, /\{[^{},]+,[^{},]+\}/) > 0) + { + fra1 = substr (full, 1, RSTART-1); + link = substr (full, RSTART, RLENGTH); + fra2 = substr (full, RSTART+RLENGTH, length(full)-RLENGTH); + + idx = index(link, ","); + t1 = substr (link, 2, idx-2); + t2 = substr (link, idx+1, length(link)-idx-1); + + full = sprintf ("%s%s%s", fra1, t2, t1, fra2); + } + + print full; +} + BEGIN { header = 1; mode = 0; @@ -120,9 +143,13 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ { para_started = 1; } + /* gsub ("<", "\\<"); gsub (">", "\\>"); print $0; + */ + + print_text ($0); print "
"; } @@ -159,14 +186,13 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ { gsub (">", "\\>"); if (list_count > 0) print ""; print "
  • "; - print substr ($0, 3, length($0)-2); + + print_text (substr ($0, 3, length($0)-2)); list_count++; } else { - gsub ("<", "\\<"); - gsub (">", "\\>"); - print $0; + print_text ($0); } } } diff --git a/ase/rel/rel.sh b/ase/rel/rel.sh index 2bef071c..e49466af 100755 --- a/ase/rel/rel.sh +++ b/ase/rel/rel.sh @@ -45,7 +45,7 @@ finalize () *.h|*.c|*.cc|*.cpp|*.java|*.awk|*.in) "$base/test/awk/awk" -f "$base/rel/lic.awk" -a "$target/$file" "$full" ;; - *.man) + #*.man) #"$base/test/awk/awk" -f "$base/rel/doc.awk -a "$target" "$full" ;; *)