JuliaStaging / JuliaStaging/GeneralizedGenerated.jl

AST compressing

Open
#47 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Julia
Stars
89
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Generated functions(**EDIT**: in GG) encode the programs into types, in this way the world age problem got solved.

However, the encoded types finally become too large and crash the compiler: https://github.com/thautwarm/GeneralizedGenerated.jl/issues/46

An alternative solution is reducing the encoded types but keeping the information.

So far no idea of this approach but just now chatting with some one inspired me and I now thought this deserves some research.

A straightforwaed idea is constructing a bi mapping from a Julia AST to a flatten byte sequence, and the latter can be used as a value type.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.