News for hackers. Stuff that matters.
Re:So You Want to Write Your Own Language (2014) by TeMPOraL on Friday May 19, 2017 @06:50PM (#14379913)
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.
Re:So You Want to Write Your Own Language (2014) by dozzie on Saturday May 20, 2017 @06:25AM (#14381718)
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?
Re:So You Want to Write Your Own Language (2014) by shakna on Saturday May 20, 2017 @09:05AM (#14382190)
Yes, with reader macros. So far that you can have C[0], as you know it.

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

Re:So You Want to Write Your Own Language (2014) by TeMPOraL on Saturday May 20, 2017 @07:26AM (#14381901)
With reader macros, yes you can.