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

provide * rendering #17

Open
kaisucode opened this issue Feb 8, 2021 · 0 comments
Open

provide * rendering #17

kaisucode opened this issue Feb 8, 2021 · 0 comments

Comments

@kaisucode
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant