Learn Rule Cascade
A short lesson for every feature of the rule language, then your language and the whole process. Every example runs in your browser.
This course teaches Rule Cascade one feature at a time. Each lesson is short. It says what the feature is, shows the syntax, runs one small example and ends with an exercise.
How a lesson works
- Read the explanation and the syntax.
- Look at the example: a complete ruleset, a request, and the result. The result on the page is what the engine answered when this site was built. Nobody typed it in.
- Try it Yourself opens the same ruleset and request in the playground. Change something and evaluate again.
- Do the exercise. Use the hint if you are stuck. "Show answer" reveals a solution you can also open in the playground.
Every example and every answer is a real ruleset with golden tests. The site build runs each one through the TypeScript engine, and fails if any answer differs from what its tests expect.
Where to start
New to Rule Cascade? Start with Your first rule in 2 minutes, then follow the Next links at the bottom of each page. They lead through the whole course.
Already writing rules? Jump to a group below. When you are ready to run rules in an application, go to Use it in your language and The process, end to end.
Lessons
Your progress: 0 of 64 lessons done
Saved in this browser only.