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

> Blow's goal of making compilation describable within the language itself brings forward a huge set of features that other languages need a runtime or complex compiler to do. Things like code generation, reflection, metaprogramming, linting, and correctness validation could simply be packages you install with a package manager. If the language is kept at a minimal feature set and complexity with an advanced enough metaprogramming phase entire language features and abstractions can be implemented in this step.

I know you're not advocating for Lisp, but it kind of sounds like you are.



I love Lisp as much as the next neckbeard, but macros aren't unique to Lisp and they aren't the only kind of compile-time execution.

It's tough to come up with a better syntax than sexprs for writing macros in, that's clearly true. A number of recent languages have managed good-enough macros, Nim and Rust being two examples.


> good-enough macros, Nim

That's an understatement. Nim's macros and templates are one of its best features.




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

Search: