zoddy / scylio Goto Github PK
View Code? Open in Web Editor NEWAllocation and functional based templating engine.
Allocation and functional based templating engine.
Features offered by this templating engine are interesting.
However, I will like to know if it can offer feature such as below:
MATHS
Is this template engine going to offer some maths related stuff?
For example, below ones can be good to have
:+(1, 1) // returns addition of two numbers
:-(1, 1) // returns subtraction of two numbers
:*(1, 1) // returns multiplication of two numbers
:/(1, 1) // returns division of two numbers
:%(1, 1) // returns remainder of two numbers
1|:abs
1|:round
3|:odd // returns true if a value is odd
4|:even // returns true if a value is even
:max([1, 2,3 ,4 ]) // returns maximum number
:min([1, 2,3 ,4 ]) // returns minimum number
:rand([1, 2,3 ,4 ]) // returns random number
OPERATORS
Is this template engine going to offer operators?
For example, operators as below can be really handy:
:in([1, 2, 3], 1) // returns true or false
:in('abcdef', 'cd') // returns true or false
:merge('123', '456') // returns merge of two strings
FILTERS
'HELLO'|:lower // returns string in lower case
'hello'|:upper // returns string in lower case
'hello'|:camel // returns string in camel case
MACROS
Is this template engine going to support macros?
I think, they are gonna be very helpful in reusing any piece of code.
DEBUG
:clog(obejct) // does console log
The above are just a few examples.
Of course, other related features can also be added to make this template engine more powerful and ease developers in fast development.
Let me know what you think of it..
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.