You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Strip UTF-8 BOMs and replace non-ASCII chars with ASCII
just-the-docs / Jekyll fails intermittently on files with BOMs or
stray Unicode. Sweep docs/site/:
- Strip BOM (EF BB BF) from all text files (*.md, *.yml, *.html)
- Replace em-dash \u2014 with --
- Replace en-dash \u2013 with -
- Replace nbsp U+00A0 with regular space
- Replace right arrow \u2192 with ->
- Replace mu \u03bc with u (microseconds become us in benchmark tables)
Copy file name to clipboardExpand all lines: docs/site/index.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,13 +120,13 @@ performance improvements and enabling dynamic updates without application restar
120
120
complete C# programs. XS is a lightweight parsing engine optimized for expression tree generation and execution.
121
121
122
122
#### **Why Use XS Instead of Roslyn for Runtime Execution?**
123
-
- Enhances Expressions – XS simplifies expression tree creation and management, enabling developers to focus on code, not AST syntax.
124
-
- Lower Overhead – XS generates and executes expression trees directly, avoiding Roslyn's full compilation pipeline and reducing startup costs.
125
-
- Optimized for Dynamic Execution – Ideal for rule engines, embedded scripting, and DSLs, where Roslyn's full compilation step is unnecessary.
126
-
- Expression Tree Native – XS treats code as data, enabling runtime introspection, transformation, and optimization before execution.
127
-
- Extensible by Design – XS allows custom language constructs, control flow features, and operators, making it an ideal fit for domain-specific scripting.
123
+
- Enhances Expressions - XS simplifies expression tree creation and management, enabling developers to focus on code, not AST syntax.
124
+
- Lower Overhead - XS generates and executes expression trees directly, avoiding Roslyn's full compilation pipeline and reducing startup costs.
125
+
- Optimized for Dynamic Execution - Ideal for rule engines, embedded scripting, and DSLs, where Roslyn's full compilation step is unnecessary.
126
+
- Expression Tree Native - XS treats code as data, enabling runtime introspection, transformation, and optimization before execution.
127
+
- Extensible by Design - XS allows custom language constructs, control flow features, and operators, making it an ideal fit for domain-specific scripting.
128
128
129
-
XS is **not a Roslyn replacement**—it serves a different purpose: **fast, lightweight, and embeddable runtime execution
129
+
XS is **not a Roslyn replacement**--it serves a different purpose: **fast, lightweight, and embeddable runtime execution
130
130
without full compiler overhead**. If you need to compile and analyze full C# programs, Roslyn is the right tool. If
131
131
you need a small, efficient, and customizable scripting language for runtime execution, or you want to easily generate expression
132
132
trees, XS is a solid choice.
@@ -169,7 +169,7 @@ Example Extensions:
169
169
170
170
#### **Debugging**:
171
171
172
-
XS supports `debug();` statements and line level debugging, allowing users to create debug callbacks and set breakpoints.
172
+
XS supports `debug();` statements and line level debugging, allowing users to create debug callbacks and set breakpoints.
173
173
This feature automates a process that is laborious when using manual expression trees.
0 commit comments