Module Astlib.Keyword

val is_keyword : string -> bool

Check if a string is an OCaml keyword.

val apply_keyword_edition : cli:string option -> unit -> unit

Processes any keywords= sections from the OCAMLPARAM environment variable and CLI option and initialises the compiler's lexer with the correct keyword set.