Acton, MA, July 21, 2006 --(PR.com
)-- MacroExpressions is pleased to announce the release of Unimal 2.0a for Win32 and Linux platforms.
Unimal is an advanced language-independent macro processor (preprocessor); it helps programmers improve software quality and development process, helps improve code maintainability and helps optimize memory usage in a highly maintainable way.
This release augments Unimal 2.0 with additional functionality based on users’ feature requests. Version 2.0a is backward-compatible with version 2.0.
The new features include:
Special macro parameters
uErrorFormat – now the user can choose the formatting of error messages by setting the string value of this macro parameter. See the manual for details.
uAutoLineOut – the string value of this macro parameter is the name of the current output file, the numeric value is the line number. Unimal maintains uAutoLineOut automatically.
uAutoLine – the string value of this macro parameter is the name of the current input file, the numeric value is the input line number. Unimal maintains uAutoLine automatically. uAutoLine can be used to compute the output file name based on your naming conventions. uAutoLine and/or uAutoLineOut can be used to emit line and file information (as #line directives in C-like languages) to improve integration with your IDE and code browsers.
The macro uAutoLine, if defined, is expanded (without arguments) automatically before each target language line that does not immediately follow another target language line. This feature helps automate emitting line/file information but may also have other uses.
New argument passing syntax
Within a macro, a range of actual arguments can be passed at once in a comma-separated arguments list (such as a string expression or a nested macro); the new syntax is [x : y] where x and y are numeric expressions.
New command line switches
-p – if this switch is specified, the file name in uAutoLine, uAutoLineOut and in error messages is a fully qualified pathname. (By default, it is exactly as it appeared to Unimal.)
-D – on Windows platforms, dependencies are output in Unix-style path format (/foo/bar instead of C:foobar). This is to assist cross-development between Windows and Linux with isomorphic project directories structures. The –d option works as before, with native pathname format.
MacroExpressions is a sole proprietorship dedicated to developing original software tools. It is located in Acton, MA.