This is the Linux app named Inja whose latest release can be downloaded as Version3.4sourcecode.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named Inja with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS:
Inja
DESCRIPTION:
Inja is a template engine for modern C++, loosely inspired by jinja for python. It has an easy and yet powerful template syntax with all variables, loops, conditions, includes, callbacks, and comments you need, nested and combined as you like. Inja uses the wonderful json library by nlohmann for data input. Most importantly, inja needs only two header files, which is (nearly) as trivial as integration in C++ can get. Of course, everything is tested on all relevant compilers. Inja is a headers only library, which can be downloaded from the releases or directly from the include/ or single_include/ folder. Inja uses nlohmann/json.hpp as its single dependency, so make sure it can be included from inja.hpp. json can be downloaded here.
Features
- The basic template rendering takes a template as a std::string and a json object for all data. It returns the rendered template as an std::string
- If you are using the Meson Build System, then you can wrap this repository as a subproject
- Conditions support the typical if, else if and else statements
- A few functions are implemented within the inja template syntax
- You can create your own and more complex functions with callbacks
- Template inheritance allows you to build a base skeleton template that contains all the common elements and defines blocks that child templates can override
Programming Language
C++
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/inja.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.