src/HOL/Library/Code_Prolog.thy
author wenzelm
Sat Nov 04 15:24:40 2017 +0100 (21 months ago)
changeset 67003 49850a679c2c
parent 60500 903bb1495239
child 69593 3dda49e08b9d
permissions -rw-r--r--
more robust sorted_entries;
bulwahn@38117
     1
(*  Title:      HOL/Library/Code_Prolog.thy
bulwahn@38117
     2
    Author:     Lukas Bulwahn, TUM 2010
bulwahn@38117
     3
*)
bulwahn@38117
     4
wenzelm@60500
     5
section \<open>Code generation of prolog programs\<close>
bulwahn@38117
     6
bulwahn@38117
     7
theory Code_Prolog
bulwahn@38117
     8
imports Main
wenzelm@55447
     9
keywords "values_prolog" :: diag
bulwahn@38117
    10
begin
bulwahn@38117
    11
wenzelm@48891
    12
ML_file "~~/src/HOL/Tools/Predicate_Compile/code_prolog.ML"
wenzelm@48891
    13
wenzelm@60500
    14
section \<open>Setup for Numerals\<close>
bulwahn@38731
    15
wenzelm@60500
    16
setup \<open>Predicate_Compile_Data.ignore_consts [@{const_name numeral}]\<close>
huffman@47108
    17
wenzelm@60500
    18
setup \<open>Predicate_Compile_Data.keep_functions [@{const_name numeral}]\<close>
bulwahn@38731
    19
bulwahn@38117
    20
end