]> Repositorios git - scryer-prolog.git/commitdiff
Docs for run_binary()
authorbakaq <[email protected]>
Mon, 30 Sep 2024 02:22:51 +0000 (23:22 -0300)
committerbakaq <[email protected]>
Sun, 8 Dec 2024 23:18:06 +0000 (20:18 -0300)
src/lib.rs

index 2a736a1ea8cf1f757eb0baec15696a5b01e91ee8..61f98dd9d06e2883101b05f2d898380e7e209524 100644 (file)
@@ -61,6 +61,7 @@ pub fn eval_code(s: &str) -> String {
     String::from_utf8_lossy(&bytes).to_string()
 }
 
+/// The entry point for the Scryer Prolog CLI.
 pub fn run_binary() -> std::process::ExitCode {
     use crate::atom_table::Atom;
     use crate::machine::{Machine, INTERRUPT};