Closed fkolar closed 5 years ago
Lexer, AST tree Done, now implementing a parser that is able to put everything together.
860860db2194e1edc3c7def9bfc787d165faab69 introduce runtime support for OSS as well as extends this for support of decorators, which is built on top of OSS compiler.
I'm submitting a...
Current behavior
When you want run application and you define your rules you need to always run offline compiler that takes OSS and transform it into JS literal object so it can be read by rule engine. this is not really DX friendly as we cannot make any dynamic updates.
As part of the
OSS next stage
where we need to be able to registr rules on the fly from the backend server there needs to be compiler written in JSExpected behavior
Implement JS compiler that is able to process BNF grammer and read current rules. Once we have this it will allow us to also have Decorators.