HACKER Q&A
📣 capableweb

Easier to create C-like language in a Lisp-like language or vice-versa?


Easier to create C-like language in a Lisp-like language or vice-versa?


  👤 fjfaase Accepted Answer ✓
I would think it is easier to develop a Lisp-like language in C, because Lisp usually is executed by means of an interpretter, due to the dynamic behavior of Lisp where you can redefine functions on the fly. See https://github.com/rui314/minilisp as an example of many available implementations.

Because Lisp is primarily a functional language, it would be kind of hard to emulate C-like behavior.


👤 kazinator
"C-Like" and "Lisp-like" are not very well-defined terms. Some people see such categories as very broad, such that both Javascript and Awk are "C-Like", and Tcl is a "Lisp-like".

This is a problem, if you ask a question that inherently demands specifics.