Giter Site home page Giter Site logo

Comments (5)

wookayin avatar wookayin commented on June 17, 2024

Oops, I got a little mistake, the current syntax is not as above. I'll polish the issue later, sorry.

from topcoder-greed.

zen0wu avatar zen0wu commented on June 17, 2024

This is a good idea.
So the pipe behavior is like a sequential one right?
Like in ${X | Y | W} I have a "X", feed into "Y" and resulting "Z", then "Z" is further
fed into W instead of X?

How are you going to implement this?
The behaviour is built in into the template engine.

from topcoder-greed.

wookayin avatar wookayin commented on June 17, 2024

Yeap, the lexer of jmte is hard-coded and seems to unconfigurable. What a pity :(
AFAIK There is no way to apply multiple renderers in chain -- unless we fork and customize it.

BTW, do we indeed need the chaining? And I wonder why contest category renderer (#77) is included in the string render. It is a parameterized thing, so what about split it into another renderer, as long as the other string filters are required for it. @vexorian please give your help and feedback for me. Thanks!

UPD1: I found a sample usage in 3e9b05b.

from topcoder-greed.

zen0wu avatar zen0wu commented on June 17, 2024

Yes, that actually is a good choice. We can split the contest render apart from the string. @vexorian What do you think?

from topcoder-greed.

vexorian avatar vexorian commented on June 17, 2024

Sorry I didn't notice this before.

contest category renderer is included in string because lazyness.

I have been considering to make it whole renderer. It could also use more parameters too. Like separating TCO category by year.

from topcoder-greed.

Related Issues (20)

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.