Related articles |
---|
Announcing Ox release 1.7.1 thomas.evans.shields@gmail.com (Tom Shields) (2020-02-16) |
From: | Tom Shields <thomas.evans.shields@gmail.com> |
Newsgroups: | comp.compilers |
Date: | Sun, 16 Feb 2020 15:15:48 -0600 |
Organization: | Compilers Central |
Injection-Info: | gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="40916"; mail-complaints-to="abuse@iecc.com" |
Keywords: | yacc, available |
Posted-Date: | 17 Feb 2020 02:18:48 EST |
Ox version 1.7.1 is now available on SourceForge
(sourceforge.net/projects/ox-attribute-grammar-compiler/).
Ox generalizes the function of Yacc in the way that an attribute
grammar generalizes a context-free grammar. Ordinary Yacc and Lex
specifications may be augmented with definitions of synthesized and
inherited attributes written in C syntax. Ox checks these
specifications for consistency and completeness, and generates from
them a program that builds and decorates attributed parse trees.
The user may specify postdecoration traversals for easy ordering of
side effects, such as code generation. Ox handles the tedious and
error-prone details of writing code for parse-tree management, so
its use eases problems of security and maintainability associated
with that aspect of translator development.
Ox NEWS
* Noteworthy changes in release 1.7.1 (15 February 2020)
** Enhancements
MinGW-w64 is now a supported host & target environment for Ox. The port was
developed using the MinGW-w64 toolchain under Msys2.
** Internals
A few standard library functions not supported in the MinGW-w64 libraries are
replaced to enable the port, but the majority of the missing functionality is
provided by modules imported from the GNUlib package.
** Test suite
The MinGW-w64 implementation of the `printf' facility differs in the default
number of exponent digits printed (3) for output conversion format "%e" from
other supported Ox build environments (2). As no option is apparently
available to control this default, special expected output files are included
in the distribution for test cases that use the "%e" output format.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.