*** empty log message ***

This commit is contained in:
hyung-hwan 2007-02-04 07:38:23 +00:00
parent 39d62eedbe
commit 7cfb245f02
4 changed files with 46 additions and 49 deletions

View File

@ -1,47 +1,27 @@
.title ASE .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 * {Link 1,ase-0.1.0.tar.gz}
* ase/awk - AWK module * {Link 2,http://my.dreamwiz.com/bacon/ase-0.1.0.tar.gz}
* 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 -
]]] ]]]
== Documentation ==
[[[ [[[
* ase - the root directory of the ase project * {Quickstart,quickstart.html}
* ase/awk - AWK module * {User guide,userguide.html}
* ase/lsp - lisp module * {Frequently Asked Questions,faq.html}
* ase/com - COM interface source code for ASE modules
* ase/test/awk -
* ase/test/lsp -
* ase/test/com -
* ase/etc -
* ase/doc -
]]] ]]]
{{{
#if defined(__BORLANDC__)
#pragma hdrstop
#define Library
#endif
#include <ase/awk/awk_i.h> == Licensing ==
static void __free_afn (void* awk, void* afn); ASE is distributed under a {BSD license,license.txt} and is free for all uses.
ase_awk_t* ase_awk_open (
const ase_awk_prmfns_t* prmfns, void* custom_data, int* errnum)
{
ase_awk_t* awk;
}
}}}

View File

@ -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

View File

@ -3,6 +3,29 @@ global empty_line_count;
global para_started; global para_started;
global list_count; global list_count;
func print_text (full)
{
local fra1, fra2, link, idx, t1, t2;
gsub ("<", "\\&lt;", full);
gsub (">", "\\&gt;", 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<a href='%s'>%s</a>%s", fra1, t2, t1, fra2);
}
print full;
}
BEGIN { BEGIN {
header = 1; header = 1;
mode = 0; mode = 0;
@ -120,9 +143,13 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
para_started = 1; para_started = 1;
} }
/*
gsub ("<", "\\&lt;"); gsub ("<", "\\&lt;");
gsub (">", "\\&gt;"); gsub (">", "\\&gt;");
print $0; print $0;
*/
print_text ($0);
print "<br>"; print "<br>";
} }
@ -159,14 +186,13 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
gsub (">", "\\&gt;"); gsub (">", "\\&gt;");
if (list_count > 0) print "</li>"; if (list_count > 0) print "</li>";
print "<li>"; print "<li>";
print substr ($0, 3, length($0)-2);
print_text (substr ($0, 3, length($0)-2));
list_count++; list_count++;
} }
else else
{ {
gsub ("<", "\\&lt;"); print_text ($0);
gsub (">", "\\&gt;");
print $0;
} }
} }
} }

View File

@ -45,7 +45,7 @@ finalize ()
*.h|*.c|*.cc|*.cpp|*.java|*.awk|*.in) *.h|*.c|*.cc|*.cpp|*.java|*.awk|*.in)
"$base/test/awk/awk" -f "$base/rel/lic.awk" -a "$target/$file" "$full" "$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" #"$base/test/awk/awk" -f "$base/rel/doc.awk -a "$target" "$full"
;; ;;
*) *)