Skip to content

Support for top-level await  #9

Description

@legraphista

Hi!
Awesome project!

I've taken the liberty to add support for await at the outer most scope.
I've also added some features here and there like

  • console.log/warn/error to use kernel.print
  • syntax error messages
  • use util.inspect to print returned nested objects

image

If this looks right to you, i can issue a PR with the changes 😀

Here's the diff: master...legraphista:master

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions