In terms of syntax, they are incompatible. At the very least, crystal require more whitespace than what the examples show.