Skip to content

Conversation

@ice6
Copy link

@ice6 ice6 commented Jan 2, 2026

No description provided.

ice6 added 6 commits January 2, 2026 11:01
- Created GoRules.Zen.Tests project for unit testing the Zen Rules Engine bindings.
- Implemented TemplateTests and UnaryExpressionTests to validate expression rendering and evaluation.
- Updated GoRules.Zen project to target .NET 10.0 and include necessary references.
- Added solution file for easier project management in Visual Studio.
- Enhanced README.md with detailed usage instructions and examples.
- Introduced USAGE.md for comprehensive integration guidance in .NET applications.
- Added build.sh script to automate the building of the Rust library and .NET bindings.
- Updated ZenEngine.cs to clarify default values for evaluation options.
- Introduced a dynamic pricing decision model with multiple adjustment factors based on market demand, time of day, competitor pricing, and customer segments.
- Implemented a real-time quotation decision model that calculates insurance premiums based on general liability, commercial property, and professional indemnity coverage.
- Each model includes input nodes, decision tables, and output nodes to facilitate complex pricing calculations.
@@ -0,0 +1,38 @@
# build-all-platforms.ps1
# Windows PowerShell 脚本 - 使用 cross 或原生工具链构建
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, can you remove non english language and translate it to english

Copy link
Author

@ice6 ice6 Jan 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deleted, the file is useless, just had a try for cross compiling, it does not work as smooth as GoLang, so moved to the github workflows build-native.yml

@@ -0,0 +1,36 @@
#!/bin/bash
# build-all-platforms.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above, english only

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above, deleted.

CopyToOutputDirectory="PreserveNewest"
Condition="Exists('runtimes/win-x64/native/zen_ffi.dll')" />

<!-- Linux x64 -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we able to add linux arm?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

windows arm64 and linux arm64 added. but I do not have real machine to test them, they should work.

target: x86_64-pc-windows-msvc
lib_name: zen_ffi.dll
runtime: win-x64
- os: ubuntu-latest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you be able to add unknown-linux arm?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, added. wish you guys a happy holiday!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, we have couple more days of holidays and we will soon be back - we will take a look as soon as we are back

@ivanmiletic
Copy link
Contributor

Hi, thank you for contribution! This is really valuable as our goal is to add dotNet as well!

Please note, most of the team is off due to holidays and we will take a look at this PR when we get back.

@ice6 ice6 marked this pull request as draft January 2, 2026 21:54
@ice6 ice6 marked this pull request as ready for review January 2, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants