Skip to content

Refactor AST nodes into symtable for library classes/functions #106

Open

Description

@lam2mo

@MrBartWolf will post more details here.

Activity

  1. MrBartWolf commented on May 6, 2020

    @MrBartWolf
    Contributor

    ASTClass.nameClassMap is a static structure holding the signatures for each class. It is used for testing to make sure classes are being created correctly, and checks that new classes don't share a name with library classes. This should really be done with symbol tables so that a static structure doesn't need to be cleared between compilations. ASTClassBlock.nameAttributeMap is pretty much the exact same thing with attributes. Variable names should be checked with symbol tables, not static data structures.

  2. lam2mo commented on May 6, 2020

    @lam2mo
    MemberAuthor

    Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions