[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-hackers] submission of htmlc2c: HTML with embeded C to C - sav
From: |
smceligot |
Subject: |
[Savannah-hackers] submission of htmlc2c: HTML with embeded C to C - savannah.gnu.org |
Date: |
Sat, 28 Sep 2002 20:40:29 -0400 |
User-agent: |
Mozilla/5.0 Galeon/1.2.5 (X11; Linux i586; U;) Gecko/20020623 Debian/1.2.5-0.woody.1 |
A package was submitted to savannah.gnu.org
This mail was sent to address@hidden, address@hidden
Sean McEligot <address@hidden> described the package as follows:
License: gpl
Other License:
Package: htmlc2c: HTML with embeded C to C
System name: htmlc2c
Type: GNU
Description:
My project takes html with embeded c code and outputs a c code that
compiles to a cgi program. (actuall it\\\'s c++, but I can change it to c,
if that is preferable.) An option will be added to support fastcgi to
truly realize the speed benifits of c. Here\\\'s a example:
<html>
<head>
<meta name=\\\"generator\\\" content=\\\"HTML Tidy, see www.w3.org\\\">
<title></title>
<meta name=\\\"generator\\\" content=\\\"txt2html v1.28\\\">
<base href=\\\"file:///E:/cygwin/usr/src/html2cgi-0.1/test.html\\\">
<style type=\\\"text/css\\\">
code.cgi {color:grey;white-space:pre}
</style>
</head>
<body>
This is plain html<br>
<code class=\\\"cgi\\\">
fputs(\\\"<h1>this is c</h1>\\\\n\\\", stdout);
</code>
This is html again<br>
</body>
</html>
You can also use <script type=\\\"text/c++\\\"> instead of <code
class=\\\"cgi\\\">, if you don\\\'t want to see the c code in your unparsed
html.
You can download the source from:
http://vegan.netfirms.com/cerverpages-0.1.tar.gz
Other Software Required:
depends on libtemplate https://savannah.nongnu.org/projects/libtemplate/
http://vegan.netfirms.com/tpe-0.1.tar.gz
libtemplate depends on pcre and glib
Other Comments:
This is alpha code. It has memory leaks, and bugs. don\'t try to
install it. Compile and install tpe, then compile html2c and run in the
source direcory using \"make test runtest\"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Savannah-hackers] submission of htmlc2c: HTML with embeded C to C - savannah.gnu.org,
smceligot <=