Calc Block Compiler Page (Version 0.6, use unoptimized results)

 This is the Calc Block Compiler page. The Calc Block Compiler(CBC) will take your input file, formatted largely as a C-style function, and turn it into a script for the iccdrvr that will configure the STEPs and inputs for your Calc Block. You can paste your input into the form below, then hit the Submit button. The compiled results will then appear in your browser. You should copy that text and put it into a file that you send through the iccdrvr.  There is an optimizer now on the back end of the compiler. The #pragma BLKTYPE (CALCA) statement turns it on. You can try it without the optimizer by commenting that line out of the sample. I have not really tried the optimizer much, I just wanted to see if I could make it work at all.

You can compile the sample file that is in the form just to see the output. There is also a much larger sample that explains the syntax of the input to the compiler better.

At this stage, I feel pretty confident about unoptimized results. There are no known bugs with the code generation. Feel free to try your input on it, and e-mail your findings (good or bad) to me. You can find the bug list here. You can now see the description of the CBC grammar. Download a PDF file or a zip file that shows the grammar. The zip file contains postscript and JPEG files of the grammar. When you are looking at the grammar, start at the box labelled "input".

Who are you: What is your favorite cartoon:

Enter your Calc Block Source Code here: