src/HOL/Library/Code_Prolog.thy
author huffman
Sun Mar 25 20:15:39 2012 +0200 (2012-03-25)
changeset 47108 2a1953f0d20d
parent 38731 2c8a595af43e
child 48891 c0eafbd55de3
permissions -rw-r--r--
merged fork with new numeral representation (see NEWS)
     1 (*  Title:      HOL/Library/Code_Prolog.thy
     2     Author:     Lukas Bulwahn, TUM 2010
     3 *)
     4 
     5 header {* Code generation of prolog programs *}
     6 
     7 theory Code_Prolog
     8 imports Main
     9 uses "~~/src/HOL/Tools/Predicate_Compile/code_prolog.ML"
    10 begin
    11 
    12 section {* Setup for Numerals *}
    13 
    14 setup {* Predicate_Compile_Data.ignore_consts
    15   [@{const_name numeral}, @{const_name neg_numeral}] *}
    16 
    17 setup {* Predicate_Compile_Data.keep_functions
    18   [@{const_name numeral}, @{const_name neg_numeral}] *}
    19 
    20 end