C implementation of handlebars.js, developed in conjunction with php-handlebars and handlebars.php.
The opcode compiler is fully featured, however the VM currently does not implement decorators, and therefore inline partials.
sudo apt-add-repository ppa:jbboehr/handlebars
sudo apt-get update
sudo apt-get install handlebars libhandlebars-dev
Note: >= gcc 4.9 is required for returns_nonnull
# Install dependencies
sudo apt-get install autoconf automake bison flex gcc libjson-c-dev liblmdb-dev \
libtalloc-dev libyaml-dev libtool m4 make pkg-config
# Install testing dependencies
sudo apt-get install check gdb lcov libpcre3-dev
# Install doc dependencies
sudo apt-get install doxygen
# Compile
git clone https://github.com/jbboehr/handlebars.c.git --recursive
cd handlebars.c
./bootstrap && ./configure && make && sudo make install && sudo ldconfig
# Install dependencies
brew install autoconf automake bison flex gcc json-c libtool libyaml lmdb pkg-config talloc
# Install testing dependencies
brew install check lcov pcre
# Install doc dependencies
brew install doxygen
# Compile
git clone https://github.com/jbboehr/handlebars.c.git --recursive
cd handlebars.c
./bootstrap && ./configure && make install
This project is licensed under the LGPLv2.1 or later. handlebars.js is licensed under the MIT license.