Features
Vici Core features
Common features
- Lightweight (about 100KB)
- Runs on .NET 3.5 and higher (including Mono and MonoTouch)
- No dependencies
- Can be used in partial trust environments
Tokenizer features
- Fully configurable by extending the core tokenizer base class or by extending one of the built-in high-level tokenizer classes
- Easy to use. No knowledge of parsing techniques is required
Expression parser features
- Evaluate any C# 2.0 expression at runtime
- Fully C# 2.0 spec compliant (operator precedence, nullable lifting, type promotion, ...)
- Late bound (objects can be passed at runtime, types are evaluated when the expression is evaluated)
- Function calls: support for member methods, static methods and delegates,
- Support for static fields, properties and classes
- Possibility to intercept field or property access at runtime
- Automatic caching of compiled expressions
Template parser
- Configurable template syntax (several syntax configurations are included, like Velocity and XML)
- Full C# expressions can be used (using Vici Parser's C# expression parser)
- Support for
- Loops (foreach)
- Conditionals (if - elseif - else)
- Macros
- Variable assignment
- Rendering source can be a file or a string (allowing in-memory template handling)