| author | haftmann | 
| Sun, 17 Jun 2012 20:38:12 +0200 | |
| changeset 48106 | 22994525d0d4 | 
| parent 47108 | 2a1953f0d20d | 
| child 48891 | c0eafbd55de3 | 
| permissions | -rw-r--r-- | 
| 38117 | 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 | ||
| 38731 
2c8a595af43e
invocation of values for prolog execution does not require invocation of code_pred anymore
 bulwahn parents: 
38117diff
changeset | 12 | section {* Setup for Numerals *}
 | 
| 
2c8a595af43e
invocation of values for prolog execution does not require invocation of code_pred anymore
 bulwahn parents: 
38117diff
changeset | 13 | |
| 47108 
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
 huffman parents: 
38731diff
changeset | 14 | setup {* Predicate_Compile_Data.ignore_consts
 | 
| 
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
 huffman parents: 
38731diff
changeset | 15 |   [@{const_name numeral}, @{const_name neg_numeral}] *}
 | 
| 
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
 huffman parents: 
38731diff
changeset | 16 | |
| 
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
 huffman parents: 
38731diff
changeset | 17 | setup {* Predicate_Compile_Data.keep_functions
 | 
| 
2a1953f0d20d
merged fork with new numeral representation (see NEWS)
 huffman parents: 
38731diff
changeset | 18 |   [@{const_name numeral}, @{const_name neg_numeral}] *}
 | 
| 38731 
2c8a595af43e
invocation of values for prolog execution does not require invocation of code_pred anymore
 bulwahn parents: 
38117diff
changeset | 19 | |
| 38117 | 20 | end |