Hacker News new | past | comments | ask | show | jobs | submit login

Pure Prolog can do backtracking and little else. It's a domain-specific language.

Long ago I wrote something in Turbo Prolog. The algorithm, for configuring minicomputers, was easy. The drop-down menus were hell.




As I was seeing another post, it seems like Prolog's advantage would be as an embedded DSL. So you can write the logic parts in Prolog, then switch to C++ or Java or whatever for the GUI.


You might find the following papers interesting.

[1] O. Kiselyov, K. Kameyama, Rethinking Prolog. http://okmij.org/ftp/kakuritu/rethinking.pdf

[2] E. Barrett, C. F. Bolz, L. Tratt, Unipycation: A Case Study in Cross-Language Tracing. https://soft-dev.org/pubs/pdf/barrett_bolz_tratt__unipycatio...




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

Search: