|
|
|
|
|
by OskarS
3434 days ago
|
|
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 |
|