Comments (5)
Oops, I got a little mistake, the current syntax is not as above. I'll polish the issue later, sorry.
from topcoder-greed.
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.
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.
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.
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)
- Cannot configure pathPattern and fileNamePattern HOT 7
- Not recognizing config file HOT 1
- Config error: Config object needed, ConfigString found HOT 3
- The return value of long[] is attached with "L" in testcase.sample HOT 3
- Question: Is it possible to detect "practice room"? HOT 5
- Allow camelCase properties in templates
- Ecosystems for community-created contents (templates) HOT 5
- Code generation fails on SRM 627 Div 2 500 point problem HOT 3
- Is it possible to get a hook when the contest starts or to get contest time when generating code?
- Is it possible to get a raw string of the problem description? HOT 3
- Is there a support to generate the tests by supplying the problem statement offline?
- Grid containing whitespaces are not displayed in HTML properly HOT 1
- Submission from terminal without going to arena HOT 1
- Tests are not working in Xcode 6.1 (Passed : 0/0 cases) HOT 1
- About Release and Roadmap plans HOT 1
- OverWrite existing workspace
- SRM 676 div2 Farmville the test code does not work
- Filtering source code before submit
- Is the default language configurable?
- "data" causes compile error in C++17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from topcoder-greed.