You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2006/10/16 07:47:26 UTC
svn commit: r464386 - /lucene/lucy/trunk/charmonizer/README
Author: marvin
Date: Sun Oct 15 22:47:23 2006
New Revision: 464386
URL: http://svn.apache.org/viewvc?view=rev&rev=464386
Log:
Reword README a bit. Document the use of files beginning with "_charm".
Modified:
lucene/lucy/trunk/charmonizer/README
Modified: lucene/lucy/trunk/charmonizer/README
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/charmonizer/README?view=diff&rev=464386&r1=464385&r2=464386
==============================================================================
--- lucene/lucy/trunk/charmonizer/README (original)
+++ lucene/lucy/trunk/charmonizer/README Sun Oct 15 22:47:23 2006
@@ -42,22 +42,25 @@
Charmonizer is organized as one central library, "Charmonizer.h", and a
suite of topically oriented modules, e.g. "Charmonizer/Integers.h",
"Charmonizer/LargeFiles.h". Each module exports 1 primary function,
- ModuleName_run(FILE* conf_fh), which appends its output to the supplied
- file handle. A typical Charmonizer application proceeds in two phases:
-
- 1) Set up the Charmonizer environment and open a config file
- for writing.
- 2) Run selected modules, building up the config file bit by bit.
+ ModuleName_run(FILE* conf_fh), which appends its output to a supplied
+ file handle. Your config file gets built up bit by bit as you run each
+ module in turn.
The config file can be further customized either by writing your own data
- to it or possibly by setting options which affect the behavior of certain
+ to it or possibly by setting options which affect the behavior of the
modules.
+FILESYSTEM NAMESPACE
+
+ Charmonizer creates a number of files within the current working directory
+ while it runs. These files all begin with "_charm".
+
METAQUOTE UTILITY
- Charmonizer is a C program which writes C code. Writing C from C is
- ordinarily quite awkward, because when you try to embed more than a line
- or two of C source code inside C string literals, things get ugly fast.
+ Charmonizer is (more or less) a C program which writes C code. Writing C
+ from C is ordinarily quite awkward, because when you try to embed more
+ than a line or two of C source code inside C string literals, things get
+ ugly fast.
To get around this problem, Charmonizer uses a source filter. In the
"real" Charmonizer source code, longer code fragments are surrounded by