Category talk:ALGOL 68: Difference between revisions

From Rosetta Code
Content added Content deleted
(Interactive programming: cheating considered harmful.)
 
mNo edit summary
Line 3: Line 3:
Genie has a debugging mode but as of Version 2.8 this is not powerful enough to elaborate more than a miniscule subset of A68.
Genie has a debugging mode but as of Version 2.8 this is not powerful enough to elaborate more than a miniscule subset of A68.
--[[User:Brnikat|Brnikat]] ([[User talk:Brnikat|talk]]) 17:12, 7 August 2015 (UTC)
--[[User:Brnikat|Brnikat]] ([[User talk:Brnikat|talk]]) 17:12, 7 August 2015 (UTC)

You could, of course, exclude Algol 68 from that task. But how long does it take to compile a small algol 68 program on a modern computer? It might be reasonable to build a shell script which takes a line of code, wraps it in a small program which prints the result, and then compiles and executes that (all of this in a loop)? If not, I think I would just exclude it for now. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 18:08, 7 August 2015 (UTC)

Revision as of 18:08, 7 August 2015

Although it's not obvious (to me) how to solve the Interactive Programming task purely within the bounds of any known (to me) implementations of Algol 68, one could in principle use Algol 68 Genie to implement an interface to http://www.tutorialspoint.com/execute_algol_online.php but doing so would constitute cheating IMAO.

Genie has a debugging mode but as of Version 2.8 this is not powerful enough to elaborate more than a miniscule subset of A68. --Brnikat (talk) 17:12, 7 August 2015 (UTC)

You could, of course, exclude Algol 68 from that task. But how long does it take to compile a small algol 68 program on a modern computer? It might be reasonable to build a shell script which takes a line of code, wraps it in a small program which prints the result, and then compiles and executes that (all of this in a loop)? If not, I think I would just exclude it for now. --Rdm (talk) 18:08, 7 August 2015 (UTC)