Commit Graph
40 Commits
Author SHA1 Message Date
stefan-gorules 31d1730f5a feat: decision transform attributes (#255) 2024-10-09 22:57:41 +02:00
stefan-gorules ec6004a6d4 fix: double borrow (#252) 2024-10-04 22:53:49 +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 3e7cdfcde1 feat: intellisense (#244)
* local: fault tolerant parser

* fix tests

* add intellisense

* fix minor issues

* improve support

* fix fmt

* fix

* fix: improve error messages

* improve error handling and ast

* fix lint

* fix tests

* exclude zen-nodejs from rust tests
2024-09-23 09:23:48 +02:00
stefan-gorules 12ca3f4951 feat: expose engine methods (#242) 2024-09-10 15:05:16 +02:00
stefan-gorules 512aeb65ba fix: switch node trace (#224) 2024-08-01 11:42:05 +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 6271d8ab1a feat: expression chain (#166)
* feat: expression chain

* fix implementation

* fix

* implement env update on expression execution

* fix error handling for serde

* rebase

* update deps

* add $ prefix for expression reference
2024-05-24 14:46:57 +02:00
stefan-gorules bfc8f94eaa fix: graph performance (#162)
* fix: graph performance

* fix switch clones
2024-05-17 11:46:41 +02:00
stefan-gorules 2d1bebab03 feat: improve switch performance (#159)
* fix: improve switch performance

* fix pipeline
2024-05-13 10:11:24 +02:00
stefan-gorules ebba323366 fix: rename templates crate (#140)
* fix: rename templates crate

* fix: update workflow
2024-04-03 16:45:22 +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 c281c55ef1 feat: replace v8 with quickjs (#119)
* feat: replace v8 with quickjs

* fix format; fix pipelines

* fix: workflow

* fix: remove incorrect target in node windows pipeline
2024-02-09 10:48:08 +01:00
Ivan Miletic 4a6b4334f2 fix: trim input before check (#113)
* fix: trim input before check

* fix: added tests
2024-01-31 01:27:39 +01: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 f3c56b7bdb fix: expose graph response (#104) 2023-11-30 16:10:56 +01:00
efcbe36c1f feat: switch node (#103)
* feat: switch node

* refactors

* add tests

* fix: change digraph to stable

* fix: test models

* fix: readme

* add aml test, disable miri for graph test due to v8

* Update README.md

* Update README.md

---------

Co-authored-by: Ivan Miletic <vnmiletic@gmail.com>
Co-authored-by: Ivan Miletic <60513195+ivanmiletic@users.noreply.github.com>
2023-11-30 13:00:34 +01:00
stefan-gorules ca568bcb4c fix: function data pass; (#80) 2023-08-30 15:39:09 +02:00
stefan-gorules f8dc07536f refactor: decision graph; move validation logic to core; (#78) 2023-08-29 15:38:49 +02:00
stefan-gorules a03978fbe7 feat: add bigjs to function node; (#77)
* feat: add bigjs to function node;

* fix test

* fix tests

* fix fmt
2023-08-28 17:21:31 +02:00
stefan-gorules 9277850855 fix: implement serializable errors; improve binding error transparency; (#62) 2023-07-27 21:27:14 +02:00
stefan-gorules 08131e5198 fix: improve trace data; (#57) 2023-07-27 09:29:30 +02:00
stefan-gorules 108b76868f feat: optional field for decision model; (#50)
* feat: optional field for decision model;

* fix formatting

* add parsing for newlines
2023-07-15 00:02:23 +02:00
stefan-gorules 35552170e0 improvement: expression error visibility; (#35) 2023-05-07 15:07:21 +02:00
stefan-gorules b713c964be feat: expression node; (#34)
* feat: expression node;

* add trace data; fix fmt

* small optimisation; add model test;

* fix hanging test

* fixes recursive nested json_map and adds test;
2023-05-07 11:51:31 +02: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 913bc1bb1c fix: decision table json ordering; (#30) 2023-04-30 16:28:12 +02:00
stefan-gorules 69a794785a feat: evaluation reference map trace; (#28)
* feat: evaluation reference map trace;

* fix: cargo fmt

* reduce performance penalty;
2023-04-26 22:27:30 +02:00
stefan-gorules 1e883cb810 fix: unary reference in string; (#27) 2023-04-26 22:26:14 +02:00
stefan-gorules 9f06d96bac refactor: remove exec result; (#25) 2023-04-25 21:13:18 +02:00
Ivan Miletic 062ee5df90 feat: crates restructure (#22) 2023-04-24 20:28:27 +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 e60083e0ba fix: error message typo (#19) 2023-04-15 20:30:39 +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 86d31d9a17 chore: update create readmes; (#16) 2023-04-07 01:51:11 +02:00
stefan-gorules 5ce223ab8f chore: rust docs; (#4)
* chore: rust docs;

* add filesystem loader example

* remove docs testing
2023-04-04 07:39:38 +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