AdaCore / AdaCore/learn

Add option to display the output of the compiler and the application statically

Open
#107 2 comments 0 reactions 1 assignee View on GitHub

@gusthoff is already working on this.

Since Jun 24, 2022.

  • #507 by @gusthoff — merged
enhancement website infrastructure
Dominant language
Ada
Stars
117
Forks
49
Avg merge
44m
Merged PRs (30d)
8

Description

Some source-code examples don't have a "run" button. In those cases, we could still display the output of the compiler and the application statically (i.e., embedded in the HTML page). A "run" button still wouldn't be available in those cases. However, the reader would be able to see the expected output.

One way of implementing this feature could be by (automatically) running the examples on server side and storing the output on a file (on server-side). When the page is accessed on the website, the web-server would merge this output to the remaining HTML code.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.