In our program we use boo as macro system about 2 years. All works like a charm, but python syntax is weird for newcomers. As I know boo has white space agnostic (WSA) compiler with ruby like syntax: instead of
def Hello():
print 'Hello'
you can write:
def Hello(): #notice colon!!!
print 'Hello'
end
here is ideal :)
def Hello()
print 'Hello ruby'
end
- Is it safe to use?
- Can it be used with default syntax side by side?
- Can I covert a huge number of existing macros to WSA style?
- Can I add 'extra' colons via compiler step
I won't claim to know the answers to these questions, but it might help you to know that the Brail ViewEngine uses WSA Boo and it has a few macros (written in C# though). You might want to look into that code.