src/Pure/Sessions.thy
author wenzelm
Fri, 07 Jun 2024 23:53:31 +0200
changeset 80295 8a9588ffc133
parent 75986 27d98da31985
permissions -rw-r--r--
more accurate Thm_Name.T for PThm / Thm.name_derivation / Thm.derivation_name;

(*  Title:      Pure/Sessions.thy
    Author:     Makarius

PIDE markup for session ROOT.
*)

theory Sessions
  imports Pure
  keywords "chapter_definition" "session" :: thy_decl
    and "description" "directories" "options" "sessions" "theories"
      "document_theories" "document_files" "export_files" :: quasi_command
    and "global"
begin

ML \<open>
  Outer_Syntax.command \<^command_keyword>\<open>chapter_definition\<close> "PIDE markup for session ROOT"
    Sessions.chapter_definition_parser;

  Outer_Syntax.command \<^command_keyword>\<open>session\<close> "PIDE markup for session ROOT"
    Sessions.session_parser;
\<close>

end