Skip to content

Commit

Permalink
Fixed a bug in one example
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaumgarten committed May 22, 2021
1 parent 774d7ad commit 6601017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/yolol/unoptimized.yolol
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
myFavouriteVariable="hello world" // variable names are shortened
myFavouriteVariable+=:aglobal+anothervar // global variables are not renamed (for obvious reasons)
:x=(100*2+10/5)*10 // equations only containing constant values are evaluated at compile time
:answ=not :a and not :b and not :c and not :d
:answ=not not not :answ // boolean expressions are converted to shorter and equivalent expressions if possible
:answ=(not :a) and not :b and not :c and not :d
:answ=not (not (not :answ)) // boolean expressions are converted to shorter and equivalent expressions if possible

0 comments on commit 6601017

Please sign in to comment.