Closed deemp closed 2 weeks ago
@deemp thanks for the report, here is a feedback:
I would recommend making the title more descriptive, such as "Error Converting EO Multiplication Table Example to PHI in README".
Please fix the bug report in order it to get resolved faster.
Analyzed with gpt-4
@deemp this snippet is no longer valid. @maxonfjvipon can you please suggest an updated one?
@yegor256 there's no way we can print a number to console because of sprintf
which does not work
@deemp valid example should look like this but srprintf
does not work for now
# Some comment here.
[] > app
malloc.for > @
2
[m]
while > @
m.as-int.lt 6 > [i] >>
[i] >>
seq > @
*
QQ.io.stdout
QQ.txt.sprintf
*
"%d x %d = %d\n"
m.as-int > num
num
num.times num
m.write
0
num.plus 1
@maxonfjvipon, thanks, it works.
@maxonfjvipon, @yegor256
Problem
I can't convert the multiplication table example to PHI.
https://github.com/objectionary/eo/blob/c66f07f9ce5ead0b95003a387d6390ba93aaf369/README.md?plain=1#L150-L168
Command
Error