english icon indicating copy to clipboard operation
english copied to clipboard

Can the noodle library and the compiler be packaged to run on Try It Online?

Open Folds opened this issue 7 years ago • 0 comments

Try It Online is a free on-line service that hosts programming language interpreters. Users can run programs in sandboxes. This service is used by many members of the Programming Puzzles and Code Golf Stack Exchange community to verify that short programs work as expected, and experiment with programming languages.

As of June 2017, a programming language needs to satisfy the following requirements, in order to be eligible to be included in Try It Online:

  • Run from the command line, without human intervention
  • on the Fedora 25 distribution of Linux
  • without needing network access
  • without needing WINE (nor any other program that requires network access)

Currently, the compiler is part of the desktop application folder, and uses the noodle library folder. Most of the desktop application folder would not need to be included in a Try It Online package.

Currently, the compiler produces 32-bit x86 code for Windows. It uses Windows API calls to read from, and write to, the standard streams. In order to be useful in a command-line Linux environment, these Windows API calls would need to be changed to work on Linux. Many features that rely on other Windows API calls might need to be removed.

To the extent that the libraries are useful in a command-line Linux environment, they should be kept. Much of the point of Try It Online is to see what features are included in languages' standard libraries.

Folds avatar Jun 30 '17 19:06 Folds