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

You're missing the point. Some programming languages (Lisp family in particular) allow you to build DSLs directly, with the tools the language itself provides.


And then, inside this "DSL" in Lisp, can you have a completely different language, with significant spaces and unmatched parentheses? Or is it just Lisp data structures that are then interpreted and you're pretending to use language other than Lisp because of its flexible data structures notation?


Yes, with reader macros. So far that you can have C[0], as you know it.

[0] http://pkgs.racket-lang.org/package/c


With reader macros, yes you can.




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

Search: