? :
give me 5
, :
give("me", 5)
give "me", 5 //equivalent "DSL" notation
give("you", 7)
give "you", 7 //equivalent "DSL" notation
//or...
def me= "Mickey", you= "Donald"
give(me, 5)
give me, 5 //equivalent "DSL" notation
give(you, 7)
give you, 7 //equivalent "DSL" notation
If it never changes me, semantics are closest to:
giveMe(5)
giveMe 5 //equivalent "DSL" notation
You wrote: “I have to be closing” and “I want my rules to work without parentheses,” starting with syntax restrictions. Always start with semantic requirements :-)
source
share