On Tue, May 3, 2011 at 10:57 AM, Rene <[email protected]> wrote: > And what really is a lot of work to maintain the html pages in c-src. > adding javascript complicates that even more. One src file can contain > C-preprocessor, C language, HTML, TH1 and javascript
I noticed that Richard included a translate utility to help manage this (see translate.c). A possible improvement to this would be to add a multiline capability so that significant blocks of text (be it HTML, CSS, Javascript or other) could be embedded in the C source file with out needing to prefix each line. Perhaps even better would be the capability to include such text from a file. This would enable such text to be maintained separately from the C source. (I don't know about TCL, but sh, bash, Perl and several other languages support such multiline embedded text using a notation called "here doc": #! perl -w print <<_EOT_; This is an example of a "Here doc" in Perl. _EOT_ ) _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

