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

Brendan Donahe brendan at polylith.com
Sun Aug 13 13:29:37 EDT 2017


This is great news, Pierre.  I started playing with CMOC a bit last weekend
and, in particular, some of the Disk Basic compatible file operations.
They worked fine for me.  Having floating point is another great
improvement.

Thanks,
Brendan

On Sat, Aug 12, 2017 at 8:29 PM, Pierre Sarrazin <sarrazip at sarrazip.com>
wrote:

> 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>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list