GeneralizedGenerated.jl icon indicating copy to clipboard operation
GeneralizedGenerated.jl copied to clipboard

A generalized version of Julia generated functions @generated to allow closures in generated functions and avoid the use of runtime eval or invokelatest.

Results 19 GeneralizedGenerated.jl issues
Sort by recently updated
recently updated
newest added

Steps to reproduce: ```julia # Results julia> using GeneralizedGenerated julia> methods(show) ⋮ [74] Error showing value of type Base.MethodList: ERROR: UndefVarError: Name not defined Stacktrace: [1] show(io::IOContext{IOBuffer}, #unused#:: SYSTEM (REPL):...

Hi, I've been able to get a little more detail on an issue I've been seeing in Soss and Tilde. As usual, it's entirely possible the bug may be in...

The Julia docs recommend that in some cases, variables can be type-annotated (LHS, not RHS). The section https://docs.julialang.org/en/v1/manual/performance-tips/#man-performance-captured says, > If captured variables are used in a performance-critical section of...

`_get_body` extracts the type encoding of the body of GG functions. ```julia julia> fun = mk_function(Main, :(function (x) x + 1 end)) function = (x;) -> begin begin (Main).:+(x, 1)...

Hi @thautwarm , In a new version of Soss, I'm trying to really nail down type stability. Using GG I was having lots of trouble getting constructions like ```julia For(n...

Hi, The README says, > GeneralizedGenerated.jl has issues about latency and extensive memory consumptions, and is sometimes likely to trigger segfault bugs when generated functions get enormous(#45, #59). This suggests...

So far caching GG's type encoding is unsafe when it comes to precompilation, as a result, several packages using GG need to consider some internal stuffs like implementing `__init__`. GG...

e.g., #63 is not covered yet.

Hey, the link to the documentation seems to be broken. Thanks, Felix Edit: Just realized, there is none :laughing:

good first issue

MWE causes error below. ```Julia using ModelingToolkit const MTK = ModelingToolkit params = MTK.@parameters begin t # AC side quantities ωb # Base Frequency # Grid impadance lg # Grid...