-
|
Hello, I was wondering if there was any plan (not now obviously) to rewrite the transpiler in lisette itself? I'm not talking about doing it soon, but is there a future plan for it? I think I fell in love with lisette because it has some rust-like syntax rules, but it also doesn't include the unecessary (in most of my usecases) overkill manual memory management. it also allows the use of Go directly, which makes it really easy to write (or even rewrite) projects in it. so yeah, coming back to the original question, is this something that could happen? I would love to contribute and learn more about writing transpilers, and designing programming languages. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Glad you like it :) Self-hosting is not in the cards. By self-hosting the compiler we'd gain credibility and dogfooding benefits and we'd make it easier to contribute to, but we'd pay a performance penalty as we'd lose control over memory layout and allocations, and it'd be a vast quantity of time and effort which I'd rather spend on helping Lis users directly. I've found @mrnugget's books a really nice entrypoint into interpreters and compilers. Many folks have implemented his sample language in multiple languages, and for your purposes perhaps you'd find it fun and rewarding to do so in Lisette. |
Beta Was this translation helpful? Give feedback.
Glad you like it :)
Self-hosting is not in the cards. By self-hosting the compiler we'd gain credibility and dogfooding benefits and we'd make it easier to contribute to, but we'd pay a performance penalty as we'd lose control over memory layout and allocations, and it'd be a vast quantity of time and effort which I'd rather spend on helping Lis users directly.
I've found @mrnugget's books a really nice entrypoint into interpreters and compilers. Many folks have implemented his sample language in multiple languages, and for your purposes perhaps you'd find it fun and rewarding to do so in Lisette.