This commit is contained in:
Ingy döt Net 2013-04-10 21:29:02 -07:00
parent 764da6cbbb
commit db842d013d
19005 changed files with 197040 additions and 7 deletions

View file

@ -0,0 +1,5 @@
<:47:x<:6F:=<:64:$=$$=$
<:62:x<:79:=<:65:$=$=$
<:2C:x<:20:=<:57:$=$=$
<:6F:x<:72:=<:6C:$=$=$
<:64:x<:21:=<:0D:$=$=$

View file

@ -0,0 +1,8 @@
{{selection|Short Circuit|Console Program Basics}}In this User Output task, the goal is to display the string "Goodbye, World!" [sic] on a text console.
'''See also'''
* [[Hello world/Graphical]]
* [[Hello world/Line Printer]]
* [[Hello world/Newline omission]]
* [[Hello world/Standard error]]
* [[Hello world/Web server]]

View file

@ -0,0 +1,2 @@
---
note: Basic language learning

View file

@ -0,0 +1,16 @@
{using native SVC (Supervisor Call) to write to system console}
LA 1,MSGAREA Point Register 1 to message area
SVC 35 Invoke SVC 35 (Write to Operator)
BR 14 Return
MSGAREA EQU * Message Area
DC AL2(19) Total area length = 19 (Prefix length:4 + Data Length:15)
DC XL2'00' 2 bytes binary of zeros
DC C'Goodbye, World!' Text to be written to system console
END
{using WTO Macro to generate SVC 35 and message area}
WTO 'Goodbye, World!'
BR 14 Return
END

View file

@ -0,0 +1 @@
echo Goodbye, World!

View file

@ -0,0 +1,22 @@
; goodbyeworld.s for C= 8-bit machines, ca65 assembler format.
; String printing limited to strings of 256 characters or less.
a_cr = $0d ; Carriage return.
bsout = $ffd2 ; KERNAL ROM, output a character to current device.
.code
ldx #0 ; Starting index 0 in X register.
printnext:
lda text,x ; Get character from string.
beq done ; If we read a 0 we're done.
jsr bsout ; Output character.
inx ; Increment index to next character.
bne printnext ; Repeat if index doesn't overflow to 0.
done:
rts ; Return from subroutine.
.rodata
text:
.byte "Goodbye, World!", a_cr, 0

View file

@ -0,0 +1,31 @@
.cr 6800
.tf gbye6800.obj,AP1
.lf gbye6800
;=====================================================;
; Goodbye, World! for the Motorola 6800 ;
; by barrym 2013-03-17 ;
;-----------------------------------------------------;
; Prints the message "Goodbye, World!" to an ascii ;
; terminal (console) connected to a 1970s vintage ;
; SWTPC 6800 system, which is the target device for ;
; this assembly. ;
; Many thanks to: ;
; swtpc.com for hosting Michael Holley's documents! ;
; sbprojects.com for a very nice assembler! ;
; swtpcemu.com for a very capable emulator! ;
; reg x is the string pointer ;
; reg a holds the ascii char to be output ;
;-----------------------------------------------------;
outeee = $e1d1 ROM: console putchar routine
.or $0f00
;-----------------------------------------------------;
main ldx #string Point to the string
bra puts and print it
outs jsr outeee Emit a as ascii
inx Advance the string pointer
puts ldaa ,x Load a string character
bne outs Print it if non-null
swi else return to the monitor
;=====================================================;
string .as "Goodbye, World!",#13,#10,#0
.en

View file

@ -0,0 +1,16 @@
DOSSEG
.MODEL TINY
.DATA
TXT DB "Goodbye, World!$"
.CODE
START:
MOV ax, @DATA
MOV ds, ax
MOV ah, 09h ; prepare output function
MOV dx, OFFSET TXT ; set offset
INT 21h ; output string TXT
MOV AX, 4C00h ; go back to DOS
INT 21h
END START

View file

@ -0,0 +1,2 @@
REPORT zgoodbyeworld.
WRITE 'Goodbye, World!'.

View file

@ -0,0 +1 @@
(cw "Goodbye, World!~%")

View file

@ -0,0 +1,3 @@
main: (
printf($"Goodbye, World!"l$)
)

View file

@ -0,0 +1 @@
implement main () = print "Goodbye, World!\n"

View file

@ -0,0 +1 @@
BEGIN{print "Goodbye, World!"}

View file

@ -0,0 +1,3 @@
END {
print "Goodbye, World!"
}

View file

@ -0,0 +1,4 @@
// {
print "Goodbye, World!"
exit
}

View file

@ -0,0 +1,3 @@
// {
print "Goodbye, World!"
}

View file

@ -0,0 +1 @@
//

View file

@ -0,0 +1 @@
trace("Goodbye, World!");

View file

@ -0,0 +1,5 @@
with Ada.Text_IO; use Ada.Text_IO;
procedure Main is
begin
Put_Line ("Goodbye, World!");
end Main;

View file

@ -0,0 +1 @@
o_text("GOODBYE, WORLD!\n");

View file

@ -0,0 +1,7 @@
integer
main(void)
{
o_text("GOODBYE, WORLD!\n");
return 0;
}

View file

@ -0,0 +1 @@
printf("Goodbye, World\n");

View file

@ -0,0 +1 @@
Print('Goodbye, World!')

View file

@ -0,0 +1 @@
system.println("Goodbye, World!")

View file

@ -0,0 +1,3 @@
PROC main()
WriteF('Goodbye, World!\n')
ENDPROC

View file

@ -0,0 +1 @@
"Goodbye, World!"

View file

@ -0,0 +1 @@
log "Goodbye, World!"

View file

@ -0,0 +1 @@
PRINT "GOODBYE, WORLD!"

View file

@ -0,0 +1,2 @@
use std
print "Goodbye, World!"

View file

@ -0,0 +1 @@
write('Goodbye, World!');

View file

@ -0,0 +1,3 @@
DllCall("AllocConsole")
FileAppend, Goodbye`, World!, CONOUT$
FileReadLine, _, CONIN$, 1

View file

@ -0,0 +1,2 @@
DllCall("AttachConsole", "int", -1)
FileAppend, Goodbye`, World!, CONOUT$

View file

@ -0,0 +1 @@
SendInput Goodbye, World{!}

View file

@ -0,0 +1 @@
ConsoleWrite("Goodbye, World!" & @CRLF)

View file

@ -0,0 +1 @@
10 print "Goodbye, World!"

View file

@ -0,0 +1 @@
PRINT "Goodbye, World!"

View file

@ -0,0 +1 @@
PRINT "Goodbye, World!"

View file

@ -0,0 +1 @@
PRINT "Goodbye, World!"

View file

@ -0,0 +1,6 @@
GET "libhdr"
LET start() = VALOF
{ writef("Goodbye, World!")
RESULTIS 0
}

View file

@ -0,0 +1 @@
main: { "Goodbye, World!" << }

View file

@ -0,0 +1 @@
echo Goodbye, World!

View file

@ -0,0 +1,2 @@
setlocal enableDelayedExpansion
echo Goodbye, World^^^!

View file

@ -0,0 +1 @@
0"!dlroW ,eybdooG">:#,_@

View file

@ -0,0 +1,5 @@
# This will display a goodbye message on the terminal screen
.begin
display "Goodbye, World!"
return
# This is the end of the script.

View file

@ -0,0 +1 @@
print "Goodbye, World!"

View file

@ -0,0 +1,4 @@
#!/usr/bin/env bx
use b
Main:
say("Goodbye, World!")

View file

@ -0,0 +1 @@
put$"Goodbye, World!"

View file

@ -0,0 +1,59 @@
+++++ +++++ First cell 10 (its a counter and we will be "multiplying")
[
>+ 10 times 1 is 10
>+++ 10 times 3 is 30
>++++ etc etc
>+++++ ++
>+++++ +++
>+++++ ++++
>+++++ +++++
>+++++ ++++++
>+++++ +++++++
<<<<<<<<< - go back to counter and subtract 1
]
printing G
>>>> + .
o twice
>>>> + ..
d
< .
b
< +++++ +++ .
y
>>> + .
e
<< + .
COMMA
<<<< ++++ .
SPACE
< ++ .
W
>>> +++++ ++ .
o
>>> .
r
+++ .
l
< +++++ ++ .
d
----- --- .
!
<<<<< + .
CRLF
< +++ . --- .

View file

@ -0,0 +1,4 @@
++++++++++[>+>+++>++++>+++++++>++++++++>+++++++++>++
++++++++>+++++++++++>++++++++++++<<<<<<<<<-]>>>>+.>>>
>+..<.<++++++++.>>>+.<<+.<<<<++++.<++.>>>+++++++.>>>.+++.
<+++++++.--------.<<<<<+.<+++.---.

View file

@ -0,0 +1 @@
p "Goodbye, World!"

View file

@ -0,0 +1 @@
echo Goodbye, World!

View file

@ -0,0 +1 @@
"Goodbye, World!"sh

View file

@ -0,0 +1,5 @@
using namespace System;
int main()
{
Console::WriteLine("Goodbye, World!");
}

View file

@ -0,0 +1,6 @@
#include <iostream>
int main () {
std::cout << "Goodbye, World!" << std::endl;
return std::cout.bad();
}

View file

@ -0,0 +1,8 @@
#include <stdlib.h>
#include <stdio.h>
int main(void)
{
printf("Goodbye, World!\n");
return EXIT_SUCCESS;
}

View file

@ -0,0 +1,8 @@
#include <stdlib.h>
#include <stdio.h>
int main(void)
{
puts("Goodbye, World!");
return EXIT_SUCCESS;
}

View file

@ -0,0 +1 @@
Hello_world/Text

View file

@ -0,0 +1 @@
(printout t "Goodbye, World!" crlf)

View file

@ -0,0 +1 @@
message(STATUS "Goodbye, World!")

View file

@ -0,0 +1,4 @@
program-id. hello.
procedure division.
display "Goodbye, World!".
stop run.

View file

@ -0,0 +1 @@
"Goodbye, World!" writeln

View file

@ -0,0 +1 @@
print "Goodbye, World!";;

View file

@ -0,0 +1,36 @@
Goodbye World Souffle.
Ingredients.
71 g green beans
111 cups oil
98 g butter
121 ml yogurt
101 eggs
44 g wheat flour
32 zucchinis
119 ml water
114 g red salmon
108 g lard
100 g dijon mustard
33 potatoes
Method.
Put potatoes into the mixing bowl.
Put dijon mustard into the mixing bowl.
Put lard into the mixing bowl.
Put red salmon into the mixing bowl.
Put oil into the mixing bowl.
Put water into the mixing bowl.
Put zucchinis into the mixing bowl.
Put wheat flour into the mixing bowl.
Put eggs into the mixing bowl.
Put yogurt into the mixing bowl.
Put butter into the mixing bowl.
Put dijon mustard into the mixing bowl.
Put oil into the mixing bowl.
Put oil into the mixing bowl.
Put green beans into the mixing bowl.
Liquefy contents of the mixing bowl.
Pour contents of the mixing bowl into the baking dish.
Serves 1.

View file

@ -0,0 +1,3 @@
main() {
println("Goodbye, World!");
}

View file

@ -0,0 +1 @@
Start = "Goodbye, World!"

View file

@ -0,0 +1 @@
(println "Goodbye, World!")

View file

@ -0,0 +1,3 @@
class Hello
def main
print 'Goodbye, World!'

View file

@ -0,0 +1 @@
console.log "Goodbye, World!"

View file

@ -0,0 +1 @@
<cfoutput>Goodbye, World!</cfoutput>

View file

@ -0,0 +1 @@
(format t "Goodbye, World!~%")

View file

@ -0,0 +1,8 @@
MODULE Hello;
IMPORT Out;
PROCEDURE Do*;
BEGIN
Out.String("Goodbye, World!"); Out.Ln
END Do;
END Hello.

View file

@ -0,0 +1,2 @@
import crack.io cout;
cout `Goodbye, World!\n`;

View file

@ -0,0 +1,5 @@
import std.stdio;
void main() {
writeln("Goodbye, World!");
}

View file

@ -0,0 +1 @@
PrintLn('Goodbye, World!');

View file

@ -0,0 +1 @@
io.writeln( 'Goodbye, World!' )

View file

@ -0,0 +1,4 @@
main() {
var bye = 'Goodbye, World!';
print("$bye");
}

View file

@ -0,0 +1 @@
print "Goodbye, World!"

View file

@ -0,0 +1,5 @@
program ProjectGoodbye;
{$APPTYPE CONSOLE}
begin
WriteLn('Goodbye, World!');
end.

View file

@ -0,0 +1 @@
Console::WriteLine("Goodbye, World!")

View file

@ -0,0 +1,16 @@
//compile using the new dylan.NET v, 11.2.8.2 or later
//use mono to run the compiler
#refstdasm mscorlib.dll
import System
assembly helloworld exe
ver 1.2.0.0
class public auto ansi Module1
method public static void main()
Console::WriteLine("Goodbye, World!")
end method
end class

View file

@ -0,0 +1,3 @@
module: hello-world
format-out("%s\n", "Goodbye, World!");

View file

@ -0,0 +1,3 @@
println("Goodbye, World!")
stdout.println("Goodbye, World!")

View file

@ -0,0 +1,5 @@
program HelloWorld
function main()
SysLib.writeStdout("Goodbye, World!");
end
end

View file

@ -0,0 +1 @@
io.format("Goodbye, World!~n")

View file

@ -0,0 +1,4 @@
@public
run = fn () {
io.format("Goodbye, World!~n")
}

View file

@ -0,0 +1,10 @@
class
HELLO_WORLD
create
make
feature
make
do
print ("Goodbye, World!%N")
end
end

View file

@ -0,0 +1,2 @@
open console
writen "Goodbye, World!"

View file

@ -0,0 +1,4 @@
#symbol Program =
[
'program'output << "Goodbye, World!%n".
].

View file

@ -0,0 +1,5 @@
sys'vm'routines'dummy "Goodbye, World!" %write &nil 'program'output &wrapbatch[4]
%get &nil 'program'input &wrapbatch[2]
&cast[2]
&nil
^eval

View file

@ -0,0 +1 @@
"Goodbye, World!"?

View file

@ -0,0 +1 @@
(insert "Goodbye, World!")

View file

@ -0,0 +1 @@
io:format("Goodbye, World!~n").

View file

@ -0,0 +1 @@
puts(1,"Goodbye, World!\n")

View file

@ -0,0 +1,2 @@
"Goodbye, World!
"

View file

@ -0,0 +1 @@
"Goodbye, World!" print

View file

@ -0,0 +1 @@
> "Goodbye, World!"

View file

@ -0,0 +1,7 @@
class HelloText
{
public static Void main ()
{
echo ("Goodbye, World!")
}
}

View file

@ -0,0 +1 @@
print "Goodbye, World!";nl;

View file

@ -0,0 +1,2 @@
!v"Goodbye, World!"r!
>l?!;o

View file

@ -0,0 +1 @@
." Goodbye, World!"

Some files were not shown because too many files have changed in this diff Show more