flix / flix

The Flix Programming Language
https://flix.dev/
Other
2.11k stars 149 forks source link

Self Hosting #1722

Closed sirinath closed 2 years ago

sirinath commented 3 years ago

At least by version 1.0 please target 100% self hosting.

magnus-madsen commented 3 years ago

What do you mean by self-hosting? Do you mean that the generated code should depend on the compiler- because we are slowly working on that.

sirinath commented 3 years ago

This is:

Also it might be worth while perusing Homoiconicity with syntactic meta programming defining the language and compilation done with term/graph rewriting. Non Lisp/Scheme language like Julia has Homoiconicity.

The applications of the above is:

To get the above benefits you would need:

These can be used by the language users also, e.g. parses can be used for parsing data files, protocols, etc. and parallelisation library can be used to parallelise programs and staging can be used for compile time reduction.

magnus-madsen commented 2 years ago

We will probably rewrite Flix in Flix at some point, but it is not a priority right now.