Skip to content

Code Generation v2 #9

@thehydroimpulse

Description

@thehydroimpulse

Now using procedural macros, here's the working list:

Code Generation

  • Namespace pub mod $x {}
    • pub visibility.
  • Enums
    • pub visibility.
    • Generate each variant.
    • enum { FOO = 123 }.
  • Structs
    • pub visibility.
    • Generate each variant.
    • Proper type mapping with generic support.
    • Attribute support (optional/required)
    • Implement the Serialize trait
  • Typedefs => type $X = $Y
  • Constants

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions