Mercurial > projects > dil
diff trunk/src/docgen/config/reader.d @ 457:33a4cb255fcc
Cached images, small fixes, reorganizing.
author | Jari-Matti M?kel? <jmjm@iki.fi> |
---|---|
date | Tue, 30 Oct 2007 15:41:30 +0200 |
parents | f92505ad18ab |
children | 381044a3feac |
line wrap: on
line diff
--- a/trunk/src/docgen/config/reader.d Tue Oct 30 02:35:56 2007 +0200 +++ b/trunk/src/docgen/config/reader.d Tue Oct 30 15:41:30 2007 +0200 @@ -1,7 +1,14 @@ +/** + * Author: Jari-Matti Mäkelä + * License: GPL3 + */ module docgen.config.reader; debug import tango.io.Stdout; +/** + * Lexes a s-exp like input + */ char[][] lex(char[] input) { char[][] tokens; @@ -91,6 +98,9 @@ return tokens; } +/** + * Parser a s-exp like input used by the config files. + */ char[][][char[]] parse(char[][] tokens) { char[][][char[]] values; size_t i = 1;