src/Pure/Sessions.thy
author wenzelm
Fri, 04 Oct 2024 00:00:50 +0200
changeset 81110 08165a4e105d
parent 75986 27d98da31985
permissions -rw-r--r--
bundles for syntax modifications seen in AFP;

(*  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