added 18 characters in body
Source Link
user85052
user85052

H

(The question only said "languages", so a language like H should be fine.)

H programs contain almost nothing but inputs, outputs, and variable initialization. However, it is still very powerful for writing programs. This is a trivial one-line cat program:

# This is a one-line cat program, which copies its input to its output.
input("Input a line:";a);
print(a);

A valid answer (like the one above) can only interact with users from the standard I/O; i.e. it cannot even create functionsthere is no way to break that rule of interaction.

Example:

#This is valid
print(-2+4);

Try this in an H implementation, and this might astonish you.

Implementation

There are implementations for H in this website. Mentioning all of them is quite trivial.

H

(The question only said "languages", so a language like H should be fine.)

H programs contain almost nothing but inputs, outputs, and variable initialization. However, it is still very powerful for writing programs. This is a trivial one-line cat program:

# This is a one-line cat program, which copies its input to its output.
input("Input a line:";a);
print(a);

A valid answer (like the one above) can only interact with users from the standard I/O; i.e. it cannot even create functions.

Example:

#This is valid
print(-2+4);

Try this in an H implementation, and this might astonish you.

Implementation

There are implementations for H in this website. Mentioning all of them is quite trivial.

H

(The question only said "languages", so a language like H should be fine.)

H programs contain almost nothing but inputs, outputs, and variable initialization. However, it is still very powerful for writing programs. This is a trivial one-line cat program:

# This is a one-line cat program, which copies its input to its output.
input("Input a line:";a);
print(a);

A valid answer (like the one above) can only interact with users from the standard I/O; i.e. there is no way to break that rule of interaction.

Example:

#This is valid
print(-2+4);

Try this in an H implementation, and this might astonish you.

Implementation

There are implementations for H in this website. Mentioning all of them is quite trivial.

Source Link
user85052
user85052

H

(The question only said "languages", so a language like H should be fine.)

H programs contain almost nothing but inputs, outputs, and variable initialization. However, it is still very powerful for writing programs. This is a trivial one-line cat program:

# This is a one-line cat program, which copies its input to its output.
input("Input a line:";a);
print(a);

A valid answer (like the one above) can only interact with users from the standard I/O; i.e. it cannot even create functions.

Example:

#This is valid
print(-2+4);

Try this in an H implementation, and this might astonish you.

Implementation

There are implementations for H in this website. Mentioning all of them is quite trivial.

Post Made Community Wiki by user85052