Skip to content

provide * rendering #17

@kaisucode

Description

@kaisucode

While implementing provide * blocks, we noticed that for the prelude function of src/languages/pyret/pyret-lang/translate-parse-tree.js, the returned object is a JSON that (potentially) includes nodes,

{
    provide : provide,
    provideTypes : provideTypes,
    imports : makeListTr(kids)
}

instead of just returning a single object created from makeNode like most other functions. As of now, the implementation allows provide * to not break when written in the example code files or manually inputted, but the actual rendering of the statement itself still remains an issue.

Note: This is likely a misunderstanding on our end of how the parse tree works, and/or a feature of the parse tree that was not yet completed, instead of being a bug in the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions