strictly-lang / compiler

strictly is a declarative programming language for interactive web-components
MIT License
11 stars 0 forks source link

Extendability of the compiler #61

Open plusgut opened 3 years ago

plusgut commented 3 years ago

Is your feature request related to a problem? Please describe. As a library-developer i would like to have the possibility to interop with javascript, to enable all kinds of features for application-developers

Describe the solution you'd like Giving the compiler cli-flags with paths to lua scripts

Describe alternatives you've considered Another option would have been to do extendability through haskell, but that would have meant that the application-developer needs to compile the compiler themselfes

Additional context Interop to browser functionality is needed for giving application developers the option to have routers, localization, intersection-observer, ... All of the mentioned usecases(and many more) shouldn't be covered by the compiler itself but through plugins.

plusgut commented 2 years ago

To enable extend ability, streaming api needs to be implemented https://github.com/strictly-lang/compiler/pull/91