qse/ase/test/awk/AseAwkApplet.html

59 lines
1.8 KiB
HTML

<html>
<head>
<title>Online ASE AWK Interpreter</title>
<style>
body { font-family: tahoma, arial, sans-serif; }
p { font-size: 13px; }
h2 { font-size: 24px; font-style: italic; }
</style>
<script language='javascript'>
function resize()
{
if (navigator.appName.indexOf("Microsoft") != -1)
{
width = document.body.clientWidth;
height = document.body.clientHeight;
}
else
{
width = window.innerWidth - 20;
height = window.innerHeight - 20;
}
document.awkApplet.width = width - 250;
document.awkApplet.height = height - 80;
window.scroll (0, 0);
}
</script>
</head>
<body onLoad="resize()" onResize="resize()">
<h2>Online ASE AWK Interpreter</h2>
<table cellspacing=3>
<tr>
<td valign=top>
<applet name="awkApplet" code="AseAwkApplet" archive="bin/aseawk.jar" codebase="." width="700" height="550">
</applet>
</td>
<td valign=top>
<p>
This applet is a test program for JNI binding to the <a href='http://kldp.net/projects/ase/'>ASE</a> AWK interpreter. The AWK language supported is slightly different from the standard in that all statements must end with a semicolon. You may enter a valid AWK program into the source input window and click on the <b>Run Awk</b> button. You may enter arbitrary text into the console input window if the AWK program entered contains an action-pattern block.
</p>
<p>
<b>Note</b>: This java applet has been signed with a self-signed certificate. If you allow the program to run, it will download a JNI DLL into your home directory. Currently, it supports Microsoft Windows only and the only file downloaded by this applet is aseawk_jni.dll. If you decide to clean your system later, don't forget to delete this file from your home directory.
</p>
<p>
Copyright (c) 2006-2007, Hyung-Hwan Chung. All rights reserved.
</p>
</td>
</tr>
</table>
</body>
</html>