doc-src/IsarRef/Thy/document/HOL_Specific.tex
changeset 37820 ffaca9167c16
parent 37749 c7e15d59c58d
child 38462 34d3de1254cd
equal deleted inserted replaced
37819:000049335247 37820:ffaca9167c16
  1012     \indexdef{HOL}{command}{code\_include}\hypertarget{command.HOL.code-include}{\hyperlink{command.HOL.code-include}{\mbox{\isa{\isacommand{code{\isacharunderscore}include}}}}} & : & \isa{{\isachardoublequote}theory\ {\isasymrightarrow}\ theory{\isachardoublequote}} \\
  1012     \indexdef{HOL}{command}{code\_include}\hypertarget{command.HOL.code-include}{\hyperlink{command.HOL.code-include}{\mbox{\isa{\isacommand{code{\isacharunderscore}include}}}}} & : & \isa{{\isachardoublequote}theory\ {\isasymrightarrow}\ theory{\isachardoublequote}} \\
  1013     \indexdef{HOL}{command}{code\_modulename}\hypertarget{command.HOL.code-modulename}{\hyperlink{command.HOL.code-modulename}{\mbox{\isa{\isacommand{code{\isacharunderscore}modulename}}}}} & : & \isa{{\isachardoublequote}theory\ {\isasymrightarrow}\ theory{\isachardoublequote}} \\
  1013     \indexdef{HOL}{command}{code\_modulename}\hypertarget{command.HOL.code-modulename}{\hyperlink{command.HOL.code-modulename}{\mbox{\isa{\isacommand{code{\isacharunderscore}modulename}}}}} & : & \isa{{\isachardoublequote}theory\ {\isasymrightarrow}\ theory{\isachardoublequote}} \\
  1014   \end{matharray}
  1014   \end{matharray}
  1015 
  1015 
  1016   \begin{rail}
  1016   \begin{rail}
  1017     'export\_code' ( constexpr + ) \\
  1017      'export\_code' ( constexpr + ) \\
  1018       ( ( 'in' target ( 'module\_name' string ) ? \\
  1018        ( ( 'in' target ( 'module\_name' string ) ? \\
  1019         'file' ( string | '-' ) ( '(' args ')' ) ?) + ) ?
  1019         ( 'file' ( string | '-' ) ) ? ( '(' args ')' ) ?) + ) ?
  1020     ;
  1020     ;
  1021 
  1021 
  1022     const: term
  1022     const: term
  1023     ;
  1023     ;
  1024 
  1024 
  1104   placed in this module.
  1104   placed in this module.
  1105 
  1105 
  1106   For \emph{SML} and \emph{OCaml}, the file specification refers to a
  1106   For \emph{SML} and \emph{OCaml}, the file specification refers to a
  1107   single file; for \emph{Haskell}, it refers to a whole directory,
  1107   single file; for \emph{Haskell}, it refers to a whole directory,
  1108   where code is generated in multiple files reflecting the module
  1108   where code is generated in multiple files reflecting the module
  1109   hierarchy.  The file specification ``\isa{{\isachardoublequote}{\isacharminus}{\isachardoublequote}}'' denotes standard
  1109   hierarchy.  Omitting the file specification denotes standard
  1110   output.
  1110   output.
  1111 
  1111 
  1112   Serializers take an optional list of arguments in parentheses.  For
  1112   Serializers take an optional list of arguments in parentheses.  For
  1113   \emph{SML} and \emph{OCaml}, ``\isa{no{\isacharunderscore}signatures}`` omits
  1113   \emph{SML} and \emph{OCaml}, ``\isa{no{\isacharunderscore}signatures}`` omits
  1114   explicit module signatures.
  1114   explicit module signatures.