An example using core.print.write-on-stdout_ to plot a simple graph to stdout.
Towards the end of the referenced STEP paper, there is some Smalltalk code to plot an FFT.
An initial translation to Toit using ChatGPT and Copilot was unsatisfactory, although the code ran, there were errors.
Using sketch.dev was much more productive.
It works directly with GitHub, isolating your work in a container.
sketch.dev not only works with the current Toit syntax, it installed the tooling within the constainer, produced a test suite and corrected bugs.
You can see the development session here. This session ended prematurely owing to an authentication issue. You can see a successful session, when sketch.dev was used to migrate an API change in a fuzzy logic library.
You can then see what happened when ChatGPT reviewed the test suite and then checked the numerical values used in the suite. I understand the precedence rules in Toit, "The mathematical operators all have higher precedence than calls", to mean the parentheses are not required in Suggestions / Minor Fixes 1.