Xiu-zhe (Roger) Luo
Xiu-zhe (Roger) Luo
FYI I think with GPUCompiler we can have a fully static subset and complain the not inferrable types now. But I'm not sure what would be a good practical use...
I guess one workaround could be print `Expr` to string then parse it back using `CSTParser` ? sounds evil but might work I guess.
You could reproduce this via this branch: https://github.com/QuantumBFS/YaoLang.jl/pull/25 using ```sh julia --project precompile.jl ``` in the project folder
Thanks! @MikeInnes by dataflow-based approach do you mean something like Mjolnir? Or should I PR this feature into Mjolnir instead of IRTools?
@MikeInnes I just rework this, should be ready for a review.
err... Not sure why this fails on 1.0
I think this is because the IR on 1.0 is different from later Julia versions due to different implementation of `@info`. So I mark that as broken. @MikeInnes any chance...
@MikeInnes bump
It seems this is due to this parser fail to recognize line breaks, removing the line breaks will work.
ah thanks! I didn't know there is `OnInit`!