[Coco] CMOC C-like compiler now supports float under Color Basic

Pierre Sarrazin sarrazip at sarrazip.com
Sat Aug 12 21:29:36 EDT 2017


Hi folks,

I have just published version 0.1.40 of CMOC, my C-like cross-compiler
for the CoCo's Disk Basic environment.

This version adds support for the float type, i.e., floating-point
arithmetic, when targeting the Color Basic environment. (The utility
routines invoked by the compiler call several Color Basic routines.)

I have rewritten my FuncPlot demo to make it use the float type. This
demo lets the user type in a math function (like sin(x)/x) and plots
it in a PMODE 4 screen.

As the float support is brand new, users should expect bugs. Reports
of such bugs should be sent to me.

CMOC and FuncPlot are available at the CMOC Home Page:

    http://sarrazip.com/dev/cmoc.html

-- 
Pierre Sarrazin <sarrazip @ sarrazip . com>


More information about the Coco mailing list