Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wish that logic programming languages (and especially the one used in that article) had more friendly syntax. Even just replacing ":-" with "<-" would be nice...


Actually, Prolog uses "-->" for to define grammars[1] for parsing. Not confusing at all! :)

(actually, parsing is one of the things i really love about Prolog. Writing a simple grammars is much easier and much more pleasurable than using things like regular expressions. The fact that it's far more powerful and readable is just a bonus. )

[1] https://en.wikipedia.org/wiki/Definite_clause_grammar




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

Search: