Email or username:

Password:

Forgot your password?
5 comments
Alexey Yerin

More crimes against Hare: @​foreach loop similar to range loops in Java or C++

Wolf480pl

@yyp I looked at the example in readme and the macro definitions look a bit verbose. Do you think it'd be possible to make them look sth like

@ annotate("@pi"){
// gen_pi body
}

Without the need to register them explicitly?

Alexey Yerin

@wolf480pl This is possible, but it would require to run some generator that handles @​annotate on generators themselves, which I'd like to avoid.

Wolf480pl

@yyp I was hoping you'd run generators written in annotate through generators written in annotate...

Wolf480pl

@yyp though I guess thay'd require committing the generated source in version control so it's not as clean as other cases of self-hosted things

Go Up