From: bakaq Date: Mon, 30 Sep 2024 02:22:51 +0000 (-0300) Subject: Docs for run_binary() X-Git-Tag: v0.10.0~92^2~19 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=c13fc2d1b6f84addf517cc7bdc3af0aef8373370;p=scryer-prolog.git Docs for run_binary() --- diff --git a/src/lib.rs b/src/lib.rs index 2a736a1e..61f98dd9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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};