I don't know of any quick json->hdf conversion libraries. It would be a good thing to have, though I haven't looked at home complicated json is to parse. It...
Does anyone have a script that takes a cs file and a hdf file and scans the cs file for each hdf data item?, reporting on hdf items that are no longer used? I...
What do you mean by "no longer used"? Typical HDF/CS usage has tons of HDF data which is never used. When I use it, I make standardized exporters that dump...
My efforts are mostly to make translation more efficient. So, say I had a hdf file with this item: Strings.hello [Lang] = hello world! Once upon a time this...
I understand now. We have run into this problem before. One of the disadvantages of clearsilver becoming a more full language, is that it's not possible to do...
... Have you tried using GNU gettext for i18n? It really simplifies the task. We are using it both for translating datasets and templates, not to say about the...
... I have opted for another approach. I simply read the file hdf_read_file and traverse the whole HDF tree extracting values of the nodes marked with "lang"...
... How do you determine that an HDF attribute market with [lang] is still in use in a CS template somewhere? Culley's original challenge is to clean up cruft...
... I don't. It is a small issue for me. Since I don't store general translatable strings solely for use in the templates, but instead simply mark such strings...
... Sounds very useful to me! I was planning to do this at the file level-- basically something like grepping through the cs file for each item. This would...
No I rely completely on the hdf datasets. Different hdf datasets are loaded for different languages. I can't remember why I didn't use the trans.py script...
... Its the every conditional part thats challenging, but perhaps... it would certainly be easy enough to walk the parse tree and find nodes which use raw hdf...
The trans.py script is more of an example. We wrote a much better version at work, I wanted it to be open-sourceable, but I think it ended up being much too...
Hi, Has anyone worked here with Clearsilver (using its python wrapper) and CherryPy? I would like to make a simple application using ClearSilver as the...
Although I haven't used CherryPy, there is nothing to prevent you from using ClearSilver without the CGI trappings. You definitely don't need to have all of...
No, I would say its stable. Its still in heavy use here at Google, and there has been quite some development on it. I'm in the middle of trying to get...
Hi, ClearSilver is GREAT !!! I have a question regarding how ClearSilver finds out about a '*/cst' file when we do, cs.parseFile("somename.cst") currently we...
CS.parseFile corresponds to cs_parse_file: http://www.clearsilver.net/docs/c_api.hdf#cs_parse_file which uses hdf_search_path to find the path for the file....
... No, its correct as is. The usage of uList and the compareFunc's isn't very obvious. In fact, its possible that the "bug" is that the above should be: ...
... en, ulist_test.c show the correct way to use uListSearch, after modify my prog accrodding stringCompare(), it work correct, thanks! ... yes, I don't want...
Hi, I'm building Clearsilver under LTIB for use on a Freescale PowerPC platform. A problem arises when the configure script wants to run Python (or Perl for...
... Hmm, currently the configure script probably doesn't work for cross compiling, definitely for the non-C parts. You can use --with-python to point at...
Hello, cross compiling clearsilver is working fine, one has to remove the 'test' target in cs/makefile by hand though. this is what i'm doing on my linux-host...
Mario Gliewe
mag@...
May 5, 2009 8:39 am
1288
I agree. The cross-compile does work for my C/CPP files but the Python stuff does not. Brandon is correct about setup.py -- it's not friendly with the...