savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-hackers] submission of libtemplate: a template library for c -


From: smceligot
Subject: [Savannah-hackers] submission of libtemplate: a template library for c - savannah.gnu.org
Date: Fri, 27 Sep 2002 16:57:33 -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: lgpl
Other License: 
Package: libtemplate: a template library for c
System name: libtemplate
Type: GNU

Description:
My Project is a template library and standalone program written in C. It takes 
a template file and some parameters out outputs a document with variables 
replaced with the given parameters. It currently supports:
1. key=values pais
2. looping through lists of key value pairs
3. inserting files.
The current source can be found at 

http://vegan.netfirms.com/tpe-0.1.tar.gz

example: test.tpe
${name}
 
${variables:}
  ${variables.type} ${variables.name};
${:variables}

/* 
         ${i:test.txt}
*/
command:
tpe name=Test \\\'variables=name=Foo,type=int|name=bar,type=long\\\' 
test.tpe

output:
Test
  int Foo;
  long bar;
/*
  This is test.txt
*/


Other Software Required:
This project requires pcre for regular expression 
matching with substrings, and glib for hash tables and 
lists.

Other Comments:






reply via email to

[Prev in Thread] Current Thread [Next in Thread]