Skip to content

Experiment: Add language support for Kusanagi#14

Draft
rvanasa wants to merge 20 commits intomainfrom
ryan/kusanagi
Draft

Experiment: Add language support for Kusanagi#14
rvanasa wants to merge 20 commits intomainfrom
ryan/kusanagi

Conversation

@rvanasa
Copy link
Contributor

@rvanasa rvanasa commented Aug 9, 2022

Preliminary support for Kusanagi, a community-created Motoko dialect in the style of CoffeeScript.

Thanks to @DanielXMoore for this contribution to the IC ecosystem.

Kusanagi embed link preview

@netlify
Copy link

netlify bot commented Aug 9, 2022

Deploy Preview for embed-motoko ready!

Name Link
🔨 Latest commit c954bde
🔍 Latest deploy log https://app.netlify.com/sites/embed-motoko/deploys/635c6b85ab0865000d829d30
😎 Deploy Preview https://deploy-preview-14--embed-motoko.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@rvanasa rvanasa marked this pull request as draft August 9, 2022 03:32
@STRd6
Copy link

STRd6 commented Oct 27, 2022

You should be able to import {parse, generate} here: d7d880a#diff-c7e6e8b86f05d798f6f8a06e6fb95e76c9dcd644776d95b985a0b5b6a79d9134L2

@rvanasa
Copy link
Contributor Author

rvanasa commented Oct 28, 2022

You should be able to import {parse, generate} here

It looks like it would be necessary to re-export generate from the npm package, maybe somewhere in the CoffeeScript build process (since the package uses Hera as the entry point).

@STRd6
Copy link

STRd6 commented Oct 28, 2022

@rvanasa Oh, right! I forgot to publish the updated version. It should be exported in v0.8.9. Let me know if it works for you.

@rvanasa
Copy link
Contributor Author

rvanasa commented Oct 28, 2022

Looks like the compiled npm package is now trying to require ./generate, but it doesn't exist.

I'm guessing that there just needs to be another esbuild entry point to transpile this file to JS. Does that sound right?

@STRd6
Copy link

STRd6 commented Oct 28, 2022

Try v0.8.10. I think I published a busted build for 0.8.9

@rvanasa
Copy link
Contributor Author

rvanasa commented Oct 28, 2022

Works in 0.8.10!

@rvanasa rvanasa changed the title Add language support for Kusanagi Experiment: Add language support for Kusanagi Mar 26, 2024
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