Skip to content

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

@DannyWeitekamp

Description

@DannyWeitekamp

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions