Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a translation module and write a nools translator class #1

Open
DannyWeitekamp opened this issue Apr 20, 2021 · 0 comments
Open
Labels
feature_request help wanted Extra attention is needed

Comments

@DannyWeitekamp
Copy link
Owner

Eventually should take in a CRE rule and output the text for a nools rule.

Intermediate Steps:

  1. Write code to translate from CRE facts to nools facts
  2. Write code to translate from CRE Conditions object to the when{} part of a nools rule
  3. Write code to translate from then part of CRE rule to then part of nools rule

Tips: Use pythons f"" style string to simplify construction of nools source

Note: If code can be abstracted so that there is a base module with code that could be reused for translation to other languages like Jess/CLIPs/experta/durable_rules/etc... that would be a plus.

@DannyWeitekamp DannyWeitekamp added help wanted Extra attention is needed feature_request labels Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature_request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant