Commit Graph
16 Commits
Author SHA1 Message Date
bcrevar-gorules 8ebc344603 fix: DecisionLoader and downcast trait (#414) 2025-11-21 12:49:21 +01:00
stefan-gorulesandIvan Miletic 922a262e98 feat: wasm support (#404)
* feat: wasm support

* add http callback

* streamline structs

* fix: wasm workflow

* fix: wasi path

* fix: wasm

* fix: wasm path

* fix: clang dev

* fix: libclang static

* fix: build

* fix: node

* fix: wasm

* fix: wasm wasi

* fix: npm dirs

* fix: node workflow

* fix: testing

* fix: test

* update version

* fix: targets

* fix: wasm fix

* fix: commit files

---------

Co-authored-by: Ivan Miletic <vnmiletic@gmail.com>
2025-11-13 12:36:59 +01:00
stefan-gorules 91509821be feat: refactor engine (#390)
* temp: refactor engine

* temp

* implement remaining nodes

* resolve snapshot tests

* improve decision graph implementation

* implement changes in bindings

* implement changes in bindings

* fix function impl gaps

* update cargo.toml

* fix issues with trace
2025-09-04 18:54:32 +02:00
stefan-gorulesandbojancrevar 80fe4021c2 feat: compact trace (#384)
* feat: compact trace

* align with changes

* add deserialization

* add tests and deserializer

* fix bindings

* first draft

* mock time; update snapshots

* fix

* Node.js test fix

* fix merge

* fix utc override

* fix cross-env

* fix workflow

* fix

---------

Co-authored-by: bojancrevar <bojan.crevar@gorules.io>
2025-08-25 12:33:07 +02:00
stefan-gorules 91598166ce feat: rc variable (#246)
* feat: rc variable

* feat: implement variable in engine

* add exports

* fix bindings and improve clone accuracy

* fix tests, fix bindings

* fix fmt

* improve code
2024-09-30 18:34:54 +02:00
stefan-gorules 12ca3f4951 feat: expose engine methods (#242) 2024-09-10 15:05:16 +02:00
stefan-gorules cc3d938b2f feat: function v2 (#212)
* feat: function v2

* expose evaluate

* remove async trait, add caching

* fix naming

* add reverse compatibility

* add http module

* update impl

* resolve issues with reqwest

* fix

* fix

* fix ssl

* remove unused deps

* fix: tests

* fix
2024-07-16 11:22:51 +02:00
stefan-gorules daecf901e6 feat: custom node (#138)
* feat: custom node

* add zen template, expose $nodes and $root

* add custom handler to go and nodejs

* add support for python, improve bindings, add error to zen template

* fix: correct binding exports for nodejs and python

* fix benchmark

* improve rust api, trim template in zen templates

* update cargo action

* update expression version

* compile action

* fix action format
2024-04-03 16:09:51 +02:00
stefan-gorules 5f423b7910 feat: zen expression rewrite (#107)
* temp: zen-expression rewrite

* rewrite standard parser

* stabilise parser, upgrade dependencies

* implement unary parser

* align builtin behavior

* fix tests and minor bugs

* refactor exports, update docs

* fix expression repl

* cleanup

* cleanup vm

* replace expression with expression-rewrite

* update d.ts file

* fix failing test
2023-12-12 08:50:25 +01:00
stefan-gorules fb2fb2e43e chore: move unit tests to integration tests; add more test cases; (#33)
* chore: move unit tests to integration tests; add more test cases;

* fix fmt errors
2023-05-03 01:09:53 +02:00
stefan-gorules 9dcb694c8c refactor: cleanup decision tree (#32)
* refactor: cleanup decision tree;

* remove unused error; add graph tests;

* add test and fix for depth limit
2023-05-02 18:07:06 +02:00
stefan-gorules d01908d743 fix: error propagation; (#20)
* fix: error propagation;

* disable unsupported miri test
2023-04-24 19:56:29 +02:00
stefan-gorules 80d5754c2c chore: add docs for engine crate; (#18) 2023-04-09 18:09:21 +02:00
stefan-gorules fe6d1bc47e refactor: flatten zen engine exports (#17)
* refactor: flatten zen-engine exports;

* fix: update bindings and readme

* fix fmt

* fix benchmark
2023-04-07 02:54:43 +02:00
stefan-gorules f00d61364a feat: add rust workflow; (#1)
* feat: add rust workflow;

* remove unsupported miri tests and tag ignored tests;
2023-03-29 22:57:29 +02:00
Team GoRules 768175994b Initial commit 2023-03-29 22:14:37 +02:00