Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle type abstraction in codegen #42

Closed
brendanzab opened this issue Nov 23, 2017 · 0 comments
Closed

Handle type abstraction in codegen #42

brendanzab opened this issue Nov 23, 2017 · 0 comments

Comments

@brendanzab
Copy link
Member

For example:

Array(T) = struct {
    len: u32,
    data: [T; len],
}

Should create:

pub struct Array<T> {
    pub len: u32,
    pub data: Vec<T>,
}

in the generated Rust code.

@brendanzab brendanzab added this to Ready in Development Nov 27, 2017
@brendanzab brendanzab added this to the Allsorts MVP milestone Dec 8, 2017
@brendanzab brendanzab moved this from Ready to In Progress in Development Dec 11, 2017
Development automation moved this from In Progress to Done Dec 12, 2017
brendanzab added a commit that referenced this issue May 1, 2018
brendanzab added a commit that referenced this issue Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development
  
Done
Development

No branches or pull requests

1 participant