Skip to content

thebrucecgit/ocaml-prolog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCaml Prolog Interpreter

This project is a simplified interpreter for the Prolog language, written in OCaml. Given a program and a query, the program uses OCaml effects to pause and return a solution, and resume the computation on user input.

Supports

  • Rules, facts, symbols
  • Lazy evaluation
  • Basic arithmetic operations
  • Lists
  • Cut operator (!)

Usage

dune exec ./frontend.exe [filename.pl]

About

Prolog interpreter written in OCaml

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages