# HG changeset patch # User wenzelm # Date 1730028760 -3600 # Node ID 5ed639c16ce72e2cadecd80ca65562b91c5c6e10 # Parent 5e4a3237fc868c849af14f82954a26623b6cddc3 tuned; diff -r 5e4a3237fc86 -r 5ed639c16ce7 NEWS --- a/NEWS Sun Oct 27 12:23:48 2024 +0100 +++ b/NEWS Sun Oct 27 12:32:40 2024 +0100 @@ -32,15 +32,15 @@ hyperlinks work properly e.g. for "['a, 'b] \ 'c" or "\A; B\ \ C" in Pure, and "\x\A. B x" or "\x\A. B x" in HOL. -* Pattern matching of Ast constant "c" works for ("_constrain" "c" T) if +* Pattern matching of AST constant "c" works for ("_constrain" "c" T) if the type T encodes a position (from parsing) or if constraints are considered optional (for printing): the type is dropped in both cases. -Likewise, the printing of Asts wrt. mixfix syntax has been adapted to +Likewise, the printing of ASTs wrt. mixfix syntax has been adapted to accept "c" or ("_constrain" "c" T). * Parsing now supports type constrains for logical constants that carry mixfix syntax (as before for constants without notation). Rare -INCOMPATIBILITY for ML translation functions: need to cope with Asts +INCOMPATIBILITY for ML translation functions: need to cope with ASTs like ("_constrain" "c" T) or pre-terms Const ("_type_constraint_", _) $ Const ("c", _). Translation rules (command 'translations') usually work without changes, because pattern matching has become more liberal wrt. @@ -49,7 +49,7 @@ * Printing now supports type constraints for logical constants, with or without mixfix syntax. This is guarded by the configuration options "show_consts_markup" (default true) and "show_markup" (default true for -PIDE interaction). Ast translation rules (command 'translations') +PIDE interaction). AST translation rules (command 'translations') already work with extra type constraints, but the result omits the type of a matched constant. ML translation functions (command 'print_ast_translation') based on Ast.unfold_ast etc. work in the same