2016 Update

This commit is contained in:
Tina Müller 2016-12-05 22:15:40 +01:00
parent 948b86eafa
commit dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions

View file

@ -1,3 +1,5 @@
;Task:
Show how to specify and execute a short program in the language from a command shell, where the input to the command shell is only one line in length.
Avoid depending on the particular shell or operating system used as much as is reasonable; if the language has notable implementations which have different command argument syntax, or the systems those implementations run on have different styles of shells, it would be good to show multiple examples.
<br><br>

View file

@ -0,0 +1 @@
$ echo 'print "Hello "; var=99; ++var + 20 + 3' | bc

View file

@ -0,0 +1 @@
echo 'display "hello".' | cobc -xFj -frelax -

View file

@ -0,0 +1 @@
echo 'id division. program-id. hello. procedure division. display "hello".' | cobc -xFj -

View file

@ -1,5 +1,8 @@
from the MS Windows® command line (cmd.exe)
from the MS Window command line (cmd.exe)
echo do j=10 by 20 for 4;say right('hello',j);end | regina
echo do j=10 by 20 for 4; say right('hello',j); end | regina

View file

@ -0,0 +1 @@
$ echo 'fn main(){println!("Hello!")}' | rustc -;./rust_out

View file

@ -0,0 +1 @@
slsh -e 'print("Hello, World")'

View file

@ -0,0 +1 @@
slsh -e "print(\"Hello, World\")"