Skip to content

Commit c253343

Browse files
committed
Link to kalk for a usage of Scriban outside text templating.
1 parent 7ae9232 commit c253343

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
Scriban is a fast, powerful, safe and lightweight scripting language and engine for .NET, which was primarily developed for text templating with a compatibility mode for parsing `liquid` templates.
66

7+
Today, not only Scriban can be used in text templating scenarios, but also can be integrated as a **general scripting engine**: For example, Scriban is at the core of the scripting engine for [kalk](https://github.com/xoofx/kalk), a command line calculator application for developers.
8+
79
```C#
810
// Parse a scriban template
911
var template = Template.Parse("Hello {{name}}!");
@@ -61,6 +63,7 @@ Scriban can also be used in pure scripting context without templating (`{{` and
6163

6264
## Features
6365

66+
- An **extensible sandbox execution model**: You have the full control about which Scripting objects (and so properties and methods) are accessible from Scriban templates.
6467
- Very **efficient**, **fast** parser and a **lightweight** runtime. CPU and Garbage Collector friendly.
6568
- Powered by a Lexer/Parser providing a **full Abstract Syntax Tree, fast, versatile and robust**, more efficient than regex based parsers.
6669
- Precise source code location (path, column and line) for error reporting

0 commit comments

Comments
 (0)