skaller wrote: >> The q"..." form is a compile-time feature, right? I'm not sure that >> could work for html templating, as that would have you dynamically >> loading the strings from a file. >> > > Make the file a Felix library, compile, link, and load it > at run time as a shared library. The compile is only done once, > flx already handles that. > > Export a function accepting an STL map and you're done. > > If you really want to do this .. otherwise of course > you can easily write an interpreter. >
I don't think we should take that approach :) Someone like amazon or slashdot wouldn't be able to recompile every time something changed. Or if the string was pulled from a database or across a network. Sometimes I think felix has too much syntax. It makes it hard to, well, add more syntax :) -e ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language