Skip to main content

 

Which web template languages would you like to use in C++?


I'm implementing basic Jinja2 and ERB support into libcuwte (C++ unified web template engine). Which other web template languages do you think might be useful in C++?


libcuwte repository: https://codeberg.org/ncc1988/libcuwte

# # # # #

 

libcuwte progress: it renders basic jinja2 templates again, but with designed code


The original libcuwte source code was able to render a basic jinja2 template with placeholders in it using proof of concept code. I now converted the code into proper code after I thought of a design for it.

Now the evaluation of if-statements in Jinja2 has to be done. When if-statements can be evaluated, other Jinja2 statements (for, foreach, swich, while, ...) can be added quickly since they can be converted to if-statements. The next template language to be implemented will probably be ERB.

libcuwte source code: https://codeberg.org/ncc1988/libcuwte

libcuwte wiki (currently only a feature matrix): https://codeberg.org/ncc1988/libcuwte/wiki

# # # # # #

 

Friclicli update: moving to C++


I'm currently translating the source code of Friclicli (Friendica CLI client) from C to modern C++. Some code parts have already been rewritten and have been shortened by that due to the use of std::string instead of char arrays. The code translation process happens in the "move-to-cpp" branch to leave the master branch of the friclicli repository in a usable state.

At the moment there are linking errors because of undefined functions or functions whose definitions have been converted to class methods. It will take some time until the translation process has finished and I can continue to add new functionality to friclicli.

The source code repository is at codeberg: https://codeberg.org/ncc1988/friclicli


# # # # # # #
 
I'm creating tasks on Codeberg for the C++ translation. The tasks are all placed under the following milestone so that you can view the progress: https://codeberg.org/ncc1988/friclicli/milestone/142