Renamed "% mod %" to "wrap % around %"
This commit is contained in:
parent
1c6b660d6b
commit
bfe66a70e6
@ -76,7 +76,7 @@ compile [%var ^= %val] to code: "\(%var as lua) = \(%var as lua) ^ \(%val as lua
|
||||
compile [%var and= %val] to code: "\(%var as lua) = \(%var as lua) and\(%val as lua);"
|
||||
compile [%var or= %val] to code: "\(%var as lua) = \(%var as lua) or \(%val as lua);"
|
||||
compile [%var join= %val] to code: "\(%var as lua) = \(%var as lua) .. \(%val as lua);"
|
||||
compile [%var mod= %val] to code: "\(%var as lua) = \(%var as lua) % \(%val as lua);"
|
||||
compile [wrap %var around %val] to code: "\(%var as lua) = \(%var as lua) % \(%val as lua);"
|
||||
|
||||
# Math Operators
|
||||
compile [%x + %y] to: "(\(%x as lua) + \(%y as lua))"
|
||||
@ -84,7 +84,7 @@ compile [%x - %y] to: "(\(%x as lua) - \(%y as lua))"
|
||||
compile [%x * %y] to: "(\(%x as lua) * \(%y as lua))"
|
||||
compile [%x / %y] to: "(\(%x as lua) / \(%y as lua))"
|
||||
compile [%x ^ %y] to: "(\(%x as lua) ^ \(%y as lua))"
|
||||
compile [%x mod %y] to: "(\(%x as lua) % \(%y as lua))"
|
||||
compile [%x wrapped around %y, %x mod %y] to: "(\(%x as lua) % \(%y as lua))"
|
||||
|
||||
# Comparison Operators
|
||||
compile [%x < %y] to: "(\(%x as lua) < \(%y as lua))"
|
||||
|
Loading…
Reference in New Issue
Block a user