src/Pure/codegen.ML
changeset 37944 4b7afae88c57
parent 37198 3af985b10550
child 38329 16bb1e60204b
equal deleted inserted replaced
37943:3cbd7fa164b1 37944:4b7afae88c57
  1017   #> add_tycodegen "default" default_tycodegen
  1017   #> add_tycodegen "default" default_tycodegen
  1018   #> add_preprocessor unfold_preprocessor;
  1018   #> add_preprocessor unfold_preprocessor;
  1019 
  1019 
  1020 val _ =
  1020 val _ =
  1021   Outer_Syntax.command "code_library"
  1021   Outer_Syntax.command "code_library"
  1022     "generates code for terms (one structure for each theory)" Keyword.thy_decl
  1022     "generate code for terms (one structure for each theory)" Keyword.thy_decl
  1023     (parse_code true);
  1023     (parse_code true);
  1024 
  1024 
  1025 val _ =
  1025 val _ =
  1026   Outer_Syntax.command "code_module"
  1026   Outer_Syntax.command "code_module"
  1027     "generates code for terms (single structure, incremental)" Keyword.thy_decl
  1027     "generate code for terms (single structure, incremental)" Keyword.thy_decl
  1028     (parse_code false);
  1028     (parse_code false);
  1029 
  1029 
  1030 end;
  1030 end;