Code Monkey home page Code Monkey logo

scylio's People

Contributors

johannes-scharlach avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

scylio's Issues

Possible Enhancements

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..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.