AdaCore / AdaCore/learn

Interactive Console Input (Learn.adacore.com) for Ada Get() not working

Open
#633 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement website infrastructure
Dominant language
Ada
Stars
117
Forks
49
Avg merge
44m
Merged PRs (30d)
8

Description

Hello Everybody,

My students raised this issue with me.
The online tutorial at learn.adacore.com under imperative programming and other section that make use of Get() e.g Get(N) under the if statement are not working as expected. Please see below screenshot:
image

If you hit the Run button, we only get the following:
Console Output: $ gprbuild -q -P main.gpr Build completed successfully.
No input box to enter a value.
Please help!

On ==> https://www.jdoodle.com/execute-ada-online/
We could run same code with console input interactively as shown below:
image

And also on tryitonline.com ( https://tio.run/#ada-gnat ) as shown below:
image

Many thanks for all your efforts!

God blesses!!!

Best regards,
Sanyaade

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.

Research direction

Reproduce the missing-input behavior in the imperative programming sections of learn.adacore.com by running the examples that use Get() or Get(N). Start from the Run button and the generated main.gpr invocation; done means console programs can accept interactive input and the expected value reaches Get().

Written by the indexing model from the issue text.

Assessment

Domain
web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.