Hello,
I've just put a new coco and make_processor_model on my web site,
http://users.erols.com/dnagle go to "Portability Project".
The new coco doesn't need a standard_types module to compile,
and I added a few things (in addition to removing the stuff
that was supported by stdtypes :-).
The new make_pm writes a standard_types module lacking
those items there solely to support coco, so it's a bit simpler.
New to coco are:
?? undefine :: symbol [, symbol]...
which allows a program to remove unwanted symbols from coco's list
(a symbol is an integer, logical, macro, or text name),
?? assertif( l-exp ) "assert-cond"
which combines the usual ??if ... ?? endif from around ?? assert,
?? copyif( l-exp ) name[(args)]
which combines the usual ??if ... ?? endif from around ?? copy.
I added a documentation file feature, which allows a program to
document itself from within its source file-
Place ?? docfile 'name' in the setfile to name a file to receive
the documentation, then
?? doc
Example: Function snafu( x) computes ...
?? end doc
within the source file will be diverted to the document file named
by the docfile directive. The results of all the doc ... end doc
sequences are concatenated in the document file.
I've also added
??ifdef
and
?? ifndef
Although I don't really like the spelling :-(
See the web pages for details. I ask that you go through
my home page, as it's the only page with a counter and I
like to know how much interest there is.
Please report any bugs, of course. :-)
--
Cheers!
Dan Nagle
Purple Sage Computing Solutions, Inc.
|