-
-
Notifications
You must be signed in to change notification settings - Fork 676
Description
Hi!
I would like to improve AssemblyScript adoption by creating tools/integrations around it. To make it easier for me and other developers, I have a proposition for improving an API.
Currently, asc.js
is one big file for everything. My proposition is to split it into 2 components - Compiler Frontend and CLI. The architecture would be like this:
The Compiler Frontend component would expose high-level API to build AssemblyScript projects (it would work with the WASM version of AssemblyScript OOTB). The API would be similar to TypeScript Compiler API to reduce the friction.
The CLI component would handle all CLI commands including building projects using Compiler Frontend. There would be no breaking change on the CLI interface.
@dcodeIO Would you be interested in such a contribution from my side?