3 ms·
Some online books... require you to manually translate Prolog programs to Lisp forms that are no longer valid Prolog syntax. I thought Lisp was commonly used t
by sp332 8y ago
Some online books... require you to manually translate Prolog programs to Lisp forms that are no longer valid Prolog syntax.
I thought Lisp was commonly used to create domain-specific languages with different syntaxes. Wouldn't this be old hat for someone experienced with Lisp? (Asking because I don't have a lot of experience with Lisp.)
- sjatkins 8y agoThere is a small prolog implementation in the book "On Lisp" done in 200 lines of code or so.
- lispm 8y agoOften Prolog implementations in Lisp used a lisp-like syntax. They were not concerned with reading standard Prolog code. Several implementations support(ed) standard Edinburgh-Prolog syntax. For example the LispWorks implementation of Prolog supports both: http://www.lispworks.com/documentation/lw71/KW-W/html/kwprolog-w-135.htm#marker-869240 http://www.lispworks.com/documentation/lw71/KW-W/html/kwprol...