3 ms·
Really cool but shouldn't this actually be a library rather than a programming language?
by dom96 4y ago
Really cool but shouldn't this actually be a library rather than a programming language?
- detaro 4y agoGiven the authors top comment here the answer to that is a very clear "no".
- dom96 4y agoWhat top comment? The one in this submission? it doesn't explain at all why this needs to be a programming language
- detaro 4y agoHow would you learn to write an optimizing compiler by writing a library?
- dom96 4y agoJust because the author wanted to write an optimising compiler doesn't change the fact that this might be better served as a library. The author could have written an optimising compiler for a language with a purpose that couldn't be served by a library.
- eru 4y agoYou could maybe turn this into an embedded domain specific language, if your host language is powerful enough. But seeing that you want to be spitting out optimized 6502 machine code, it's not really useful to do this as a library for most host languages.
- dom96 4y agoThat's fair