Skip to content

Commit beb08df

Browse files
committed
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)
1 parent 7d7c239 commit beb08df

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

docs/site/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@ performance improvements and enabling dynamic updates without application restar
120120
complete C# programs. XS is a lightweight parsing engine optimized for expression tree generation and execution.
121121

122122
#### **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.
128128

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
130130
without full compiler overhead**. If you need to compile and analyze full C# programs, Roslyn is the right tool. If
131131
you need a small, efficient, and customizable scripting language for runtime execution, or you want to easily generate expression
132132
trees, XS is a solid choice.
@@ -169,7 +169,7 @@ Example Extensions:
169169

170170
#### **Debugging**:
171171

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.
173173
This feature automates a process that is laborious when using manual expression trees.
174174

175175
```

docs/site/language/type-system.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ nav_order: 19
2525
## **Type Promotion Rules**
2626

2727
1. Arithmetic operations promote types:
28-
`int` `float` `double` `decimal`.
28+
`int` -> `float` -> `double` -> `decimal`.
2929
2. Null-coalescing (`??`) resolves to the type of the non-null operand.
3030
3. Conditional expressions (`if-else`) return the common compatible type.

docs/site/language/variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
layout: default
33
title: Variables
44
parent: Language

0 commit comments

Comments
 (0)