Breaking up long lines of code


#1

Is there a way in ChaiScript to indicate that the line of logic continues on the next line?


#2

It depends - in some cases you can do it by signaling that there’s more to parse:

if (thing &&
    otherthing)
{
}

Might work when

if (thing
     && otherthing)
{
}

would not.

This is the same kind of issue that ruby and javascript and other optional ; languages suffer from.