Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./docs
source: ./docs/site
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -403,4 +403,12 @@ FodyWeavers.xsd
CLAUDE.md


.nuget/
.nuget/
# Jekyll / GitHub Pages local build
_site/
.jekyll-cache/
.jekyll-metadata
.sass-cache/
vendor/
.bundle/
docs/site/Gemfile.lock
2 changes: 1 addition & 1 deletion Hyperbee.XS.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<File Path="LICENSE" />
<File Path="README.md" />
<File Path="version.json" />
<Project Path="docs/docs.shproj" />
<Project Path="docs/site/docs.shproj" />
</Folder>
<Folder Name="/Solution Items/.github/" />
<Folder Name="/Solution Items/.github/workflows/">
Expand Down
7 changes: 0 additions & 7 deletions docs/.todo.md

This file was deleted.

13 changes: 13 additions & 0 deletions docs/site/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
source "https://rubygems.org"

gem "jekyll", "~> 4.3"
gem "just-the-docs"

group :jekyll_plugins do
gem "jekyll-remote-theme"
gem "jekyll-include-cache"
gem "jekyll-seo-tag"
gem "jekyll-relative-links"
end

gem "webrick", "~> 1.8"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions docs/index.md → docs/site/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ performance improvements and enabling dynamic updates without application restar
complete C# programs. XS is a lightweight parsing engine optimized for expression tree generation and execution.

#### **Why Use XS Instead of Roslyn for Runtime Execution?**
- Enhances Expressions XS simplifies expression tree creation and management, enabling developers to focus on code, not AST syntax.
- Lower Overhead XS generates and executes expression trees directly, avoiding Roslyn's full compilation pipeline and reducing startup costs.
- Optimized for Dynamic Execution Ideal for rule engines, embedded scripting, and DSLs, where Roslyn's full compilation step is unnecessary.
- Expression Tree Native XS treats code as data, enabling runtime introspection, transformation, and optimization before execution.
- Extensible by Design XS allows custom language constructs, control flow features, and operators, making it an ideal fit for domain-specific scripting.
- Enhances Expressions - XS simplifies expression tree creation and management, enabling developers to focus on code, not AST syntax.
- Lower Overhead - XS generates and executes expression trees directly, avoiding Roslyn's full compilation pipeline and reducing startup costs.
- Optimized for Dynamic Execution - Ideal for rule engines, embedded scripting, and DSLs, where Roslyn's full compilation step is unnecessary.
- Expression Tree Native - XS treats code as data, enabling runtime introspection, transformation, and optimization before execution.
- Extensible by Design - XS allows custom language constructs, control flow features, and operators, making it an ideal fit for domain-specific scripting.

XS is **not a Roslyn replacement**it serves a different purpose: **fast, lightweight, and embeddable runtime execution
XS is **not a Roslyn replacement**--it serves a different purpose: **fast, lightweight, and embeddable runtime execution
without full compiler overhead**. If you need to compile and analyze full C# programs, Roslyn is the right tool. If
you need a small, efficient, and customizable scripting language for runtime execution, or you want to easily generate expression
trees, XS is a solid choice.
Expand Down Expand Up @@ -169,7 +169,7 @@ Example Extensions:

#### **Debugging**:

XS supports `debug();` statements and line level debugging, allowing users to create debug callbacks and set breakpoints. 
XS supports `debug();` statements and line level debugging, allowing users to create debug callbacks and set breakpoints.
This feature automates a process that is laborious when using manual expression trees.

```
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ nav_order: 19
## **Type Promotion Rules**

1. Arithmetic operations promote types:
`int` `float` `double` `decimal`.
`int` -> `float` -> `double` -> `decimal`.
2. Null-coalescing (`??`) resolves to the type of the non-null operand.
3. Conditional expressions (`if-else`) return the common compatible type.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
---
layout: default
title: Variables
parent: Language
Expand Down
File renamed without changes.
File renamed without changes.
Loading