bap-trivial-condition-form
Eliminates complex conditionals in branches
Description
Ensures that all branching conditions are either a variable or a constant. We call such representation a Trivial Condition Form (TCF). During the translation all complex condition expressions are hoisted into the assignemnt section of a block.
Install
copied = false, 2000)"
:class="{ 'border-gray-700': !copied, 'text-gray-100': !copied, 'focus:ring-orange-500': !copied, 'focus:border-orange-500': !copied, 'border-green-600': copied, 'text-green-600': copied, 'focus:ring-green-500': copied, 'focus:border-green-500': copied }">
- Published
- 26 Oct 2018
- Authors
- Maintainers
Sources
Dependencies
Reverse Dependencies
bap
= "1.5.0"