[ prog / sol / mona ]

prog


Which non-Lisp language has reader macros?

1 2021-10-14 14:23

Are there any non-Lisp programming languages that have reader macros?

2 2021-10-14 14:34

OCaml has camlp, C has its preproccessor, I think Ruby also has something similar.

3 2021-10-14 14:49

Dylan is the closest thing to a Lisp with ALGOL syntax if that's what you're looking for.

4 2021-10-14 17:12

C++ has user-defined literals: https://en.cppreference.com/w/cpp/language/user_literal

5 2022-04-14 03:26 *

I think Forth has reader macros.

6


VIP:

do not edit these