SciML / RuntimeGeneratedFunctions.jl

Functions generated at runtime without world-age issues or overhead
https://docs.sciml.ai/RuntimeGeneratedFunctions/stable/
MIT License
100 stars 14 forks source link

Manually copy docs for `@RuntimeGeneratedFunction` #58

Closed topolarity closed 1 year ago

topolarity commented 1 year ago

This works around https://github.com/JuliaLang/julia/issues/48390 which is fixed for latest Julia releases, but is not available on 1.8 or prior.

This allows RuntimeGeneratedFunctions.jl to be compiled into a sysimage with --strip-metadata enabled.

c42f commented 1 year ago

The following trick should also work, and would avoid the duplication:

https://github.com/JuliaLang/JuliaSyntax.jl/blob/bd19475bb616c8344d5212a64cc434ecdd1fb5e4/src/parser_api.jl#L143