flintrocks / flint

The Flint Programming Language for Smart Contracts
MIT License
2 stars 0 forks source link

Expose an API for compiling Flint programs #46

Closed ethanluoyc closed 6 years ago

ethanluoyc commented 6 years ago

We probably need some API like compile(path) -> [Diagnostic]. This can be used by flintc. Moreover, this would be a good way to setup the compiler for the lsp services.

nvgrw commented 6 years ago

Is this an API on the server or on the VSCode plugin?

ethanluoyc commented 6 years ago

Server.

On Oct 27, 2018, at 10:47 PM, Nik Vangerow notifications@github.com wrote:

Is this an API on the server or on the VSCode plugin?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/flintrocks/flint/issues/46#issuecomment-433626886, or mute the thread https://github.com/notifications/unsubscribe-auth/AFwsuK_OXIbIZFZw5t-K-LKeF1ldOa9oks5upHIfgaJpZM4X9dpV.

nvgrw commented 6 years ago

Ah cool, just good to clarify since the signature looks kind of JavaScript-y