demergent-labs/cdk_framework

Refactor

Closed this issue · 1 comments

Global Principles

  • Implement this high level overview
    • 1) Global pass to get all of the canister method, external canisters, etc ast nodes,
    • 2) Call to_act on each of them that will return Results,
  • #27
  • Clean up actable trait
    • Give it a better name
    • Make it applicable for more than just DataType
    • Just get rid of it

Thoughts on having an intermediate step

  • Intermediate representation that is X_Ast_Node has:
    • a name,
    • an ast node and implements
    • a number of methods, such as to_act and get_dependent_types. This trait will be for all ast nodes that will guide you through how to implement any new high level things.
  • Don't do an intermediate step
  • Move all check marks into first comment