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

chore: wing playground #2

Merged
merged 3 commits into from
Jul 5, 2022
Merged

chore: wing playground #2

merged 3 commits into from
Jul 5, 2022

Conversation

eladb
Copy link
Contributor

@eladb eladb commented Jul 5, 2022

The playground allows compiling and running preflight wing code within an environment that contains the Wing SDK.

Bear in mind that the SDK is still not compatible with the compiler, which means that preflight code doesn't work (yet).

See README for details.

Misc:

  • Renamed the compiler to wingc.
  • Merged the compiler README into the main README.
  • Moved test.w to playground/examples.
  • Changed references to ./stdlib to @monadahq/wingsdk.

The playground allows compiling and running preflight wing code within an environment that contains the Wing SDK.

See README for details.

Misc:
* Renamed the compiler to `wingc`.
* Merged the compiler README into the main README.
* Moved `test.w` to `playground/examples`.
@eladb eladb changed the title chore: Introduce Wing playground chore: Wing playground Jul 5, 2022
@eladb eladb changed the title chore: Wing playground chore: wing playground Jul 5, 2022
@eladb
Copy link
Contributor Author

eladb commented Jul 5, 2022

@staycoolcall911 @yoav-steinberg the example is compiling!

Our current app.synth() simply prints the construct tree:

$ ./wingc example/test.w
App
  cloud.Bucket
  cloud.Queue
  cloud.Function


handler := cloud::Function(worker)

// TODO: we need to case-convert from underscore to camelCase as we call into JSII modules
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yoav-steinberg this is something to discuss.

@eladb eladb merged commit 853f50f into dev Jul 5, 2022
@eladb eladb deleted the eladb/playground branch July 5, 2022 18:43
Chriscbr pushed a commit that referenced this pull request Sep 22, 2022
staycoolcall911 pushed a commit that referenced this pull request Sep 29, 2022
Merge pull request #1 from monadahq/eladb/polycons
@eladb eladb mentioned this pull request Dec 13, 2022
eladcon added a commit that referenced this pull request Aug 20, 2023
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

Successfully merging this pull request may close these issues.

2 participants