Scripty Prolog

This commit is contained in:
Arfon Smith
2014-09-05 13:00:19 -05:00
parent ebd41f1f20
commit 34218c5f58
2 changed files with 36 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env swipl
:- set_prolog_flag(verbose, silent).
:- use_module(dleak).
:- initialization
main, halt.
main :-
current_prolog_flag(argv, [File]),
dleak(File).