|
|
Changed, Enhanced, or Newly Deprecated Features |
Changed, Enhanced, or Newly Deprecated Features |
|
|
|
- Added 'peak.metamodels.ASDL', a metamodel for the Zephyr Abstract Syntax |
|
Description Language. ASDL is a convenient way to describe a domain model |
|
for an abstract syntax tree (AST), and the models generated with the new |
|
ASDL tool can be combined with concrete syntax to create a complete parsing |
|
solution for "mini languages", possibly including the Python language |
|
itself. (Future versions of the Python and Jython compilers are likely to |
|
use AST models based on ASDL, and in the current Python CVS sandbox there's |
|
already an ASDL model of Python's AST available.) |
|
|
|
- Enhanced 'fmtparse' and 'peak.model' to allow using types as syntax rules |
|
for parsing, including abstract types. An abstract type's syntax is the |
|
union (using 'fmtparse.Alternatives') of the syntaxes of its subclasses |
|
(as specified by 'mdl_subclassNames'). |
|
|
|
- Added 'IMainLoop.setExitCode()' and 'IMainLoop.childForked()' methods, to |
|
allow reactor-driven components to control the mainloop's exit code. |
|
|
- DEPRECATED 'peak.util.signal_stack'. Instead, bind to a |
- DEPRECATED 'peak.util.signal_stack'. Instead, bind to a |
'running.ISignalManager' and use its 'addHandler()/removeHandler()' methods. |
'running.ISignalManager' and use its 'addHandler()/removeHandler()' methods. |
This has the same effect as 'pushSignals()' and 'popSignals()', except that |
This has the same effect as 'pushSignals()' and 'popSignals()', except that |