Closed Naereen closed 4 years ago
Thanks for the suggestion. It's a nice implementation.
Please correct me if I misunderstand, but it's implemented as 3 files (prolog.ml, lib.ml, and resolution.ml) instead of a single file.
If you find another single-file implementation of Prolog, or any other language, let me know.
Hi, oh you're right.
I forked my own code and moved the source in one unique file, it works exactly the same:
https://github.com/Naereen/Tiny-Prolog-in-OCaml-OneFile
(check in https://github.com/Naereen/Tiny-Prolog-in-OCaml-OneFile/tree/master/prolog : only prolog.ml
)
Can I submit a second PR please?
I'd be happy to accept your 1-file Prolog in OCaml. Submit away!
Thanks! I opened another PR, see #18 !
Proposal to add one mention: https://github.com/Naereen/Tiny-Prolog-in-OCaml