3 ms·
Erlang was first implemented in Prolog, evolving from an embedded Prolog DSL. Fascinating paper at http://www.erlang.se/publications/prac_appl_prolog.ps http://
by tom_mellior 9y ago
Erlang was first implemented in Prolog, evolving from an embedded Prolog DSL. Fascinating paper at http://www.erlang.se/publications/prac_appl_prolog.ps http://www.erlang.se/publications/prac_appl_prolog.ps
It does therefore have a syntax heavily influenced by Prolog.
But that doesn't mean that Prolog was the only incluence. The Erlang case expression for pattern matching doesn't really correspond to anything in Prolog, it does look more similar to ML-family languages. The multi-branch if expression looks like a Lisp cond form and again not that much like Prolog.