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
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.