ripter / hige Goto Github PK
View Code? Open in Web Editor NEWThis project forked from nrk/hige
{{growing mustaches in your templates with Lua}}
License: MIT License
This project forked from nrk/hige
{{growing mustaches in your templates with Lua}}
License: MIT License
Hige 髭 {{growing mustaches in your templates with Lua}} =============================================================================== -- Introduction --------------------------------------------------------------- Hige is a small yet fairly complete templating library for the Lua programming language and it is based off Mustache[1] while it borrows a few implementation ideas from Mustache.js[2]. [1] http://github.com/defunkt/mustache [2] http://github.com/janl/mustache.js -- Usage ---------------------------------------------------------------------- require 'hige' local view = { project = 'hige', nickname = 'nrk', url = function() return 'http://github.com/'..nickname..'/'..project end, } local template = '{{project}} is maintained by {{nickname}} at {{url}}' local rendered = hige.render(template, view) -- hige is maintained by nrk at http://github.com/nrk/hige -- Why hige? ------------------------------------------------------------------ Just for the fun of it :-) -- Current status of the project----------------------------------------------- I was not really serious about Hige when I started working on it. There are already much better alternatives for Lua such as Cosmo[3] (whose concept is similar in many ways to hige) and lua-haml[4], so the main reason which is driving its development is simply to deepen my knowledge of Lua. Anyway, I am going to fix the currently broken parts and add the missing features. [3] http://cosmo.luaforge.net/ [4] http://github.com/norman/lua-haml -- Author --------------------------------------------------------------------- Daniele Alessandri - suppakilla{{at}}gmail.com -- Notes ---------------------------------------------------------------------- Aside from a few ideas behind Hige's implementation choices, most of the examples that come with it were taken from Mustache.js. -- Requirements --------------------------------------------------------------- * Telescope (required by the test suite): http://telescope.luaforge.net/ * LuaFileSystem (required by the test suite): http://www.keplerproject.org/luafilesystem/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.