Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I did a MAL implementation too, and am currently working on an LLVM compiler, but dear god I'd never frame it as "spent x years learning to make a compiler".

MAL is easy, and straightforward - I'm not saying this to devalue your work (great job!) but to point out that the language is by design simple to implement and doesn't require any prior knowledge of how an interpreter works. People who want to write their own implementation should try that right now, and definitely not be scared off by "I spent 10 years working on this". Turning that interpeter into a compiler is an extra step on top.



> People who want to write their own implementation should try that right now, and definitely not be scared off by "I spent 10 years working on this".

Certainly, but the problem with implementing languages is the HUGE cliff on complexity after your first "calculator" or lisp.

You can make a simple interpreter in hours, even minutes. Then, suddenly, you get AMBITIOUS.

That is what take years!

P.D: I'm also in the hunt for a relational language (http://tablam.org), and I now in the what, 3 years of it? (Whoa! I search for my old mentions of it and the first I found is from 2013! https://www.clubdelphi.com/foros/showthread.php?t=84835&high...)...


"Become a spiritual attempt at the dbase/foxpro family of database-oriented languages, in the sense manipulate data(bases) is natural and integrated"

This is a personal dream for me as well. The commenters in this thread (@gavinpc, @vidarh) will also agree with you: https://news.ycombinator.com/item?id=18634555


How I miss that thread?

Anyway, if you wanna join the dream, I will not complain ;)


Well it says they didn't discover MAL until 2018 after they'd been working on creating compilers for quite a few years. So yes their implementation of MAL wasn't 10 years long. And they also wrote an interpreter in Rust and then a compiler in C in the time after discovering MAL. Safe to say the MAL portion takes quite a bit less than 10 years.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: