Zibing Zhang

Results 33 comments of Zibing Zhang

Just wanted to add that another use case (the one I'm looking for) would be when I have multiple sub directories that need building before deploying all together, e.g. a...

@odashi let me know what you think about this approach. Looking for a bit of early feedback before continuing.

> used internally only when we need to delegate the codegen logic to it I'm not sure if this is possible, due to the recursive nature of ASTs. If you...

> It should work as far as the subtree processing is completely delegated. Since both `NodeVisitor` and our `FunctionCodegen` are stateless and don't change the given AST, we can invoke...

That makes sense ty for explaining! The only issue I can maybe see down the line if `AlgorithmCodegen` decides that an expression should take one form but `FunctionCodegen` decides it...

`visit_comprehension` has to be in `ExpressionCodegen` for some reason (didn't really look into it), but it's an `ast.stmt`. Do you think it's possible to merge this early somehow (i.e. without...

> ExpressionCodegen should be separated into other pull request since this is an independent feature. Sounds good. Will tackle this within the next few days!

I'd also be nice to have keyboard shortcuts that accomplish this, which would solve the issue of designing a UI. For instance, I use gcal and use `n` and `p`...

List of methods in `math` that I think we should allow expansion for: - `exp(x)` -> $e^x$ - `exp2(x)` -> $2^x$ - `expm1(x)` -> $\exp(x) - 1$ - `log1p(x)` ->...

I'd agree with multiple code gen, targeting either Jupyter or algorithmic. I'd be interested in taking a look into algorithmic at some point.