September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
|
|
@ -1,3 +1,5 @@
|
|||
HELLO CSECT
|
||||
USING HELLO,15
|
||||
LA 1,MSGAREA Point Register 1 to message area
|
||||
SVC 35 Invoke SVC 35 (Write to Operator)
|
||||
BR 14 Return
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
; String printing limited to strings of 256 characters or less.
|
||||
|
||||
a_cr = $0d ; Carriage return.
|
||||
bsout = $ffd2 ; C64 KERNAL ROM, output a character to current device.
|
||||
bsout = $ffd2 ; C64 KERNEL ROM, output a character to current device.
|
||||
; use $fded for Apple 2
|
||||
.code
|
||||
|
||||
|
|
|
|||
1
Task/Hello-world-Text/Arc/hello-world-text.arc
Normal file
1
Task/Hello-world-Text/Arc/hello-world-text.arc
Normal file
|
|
@ -0,0 +1 @@
|
|||
(prn "Hello world!")
|
||||
5
Task/Hello-world-Text/B/hello-world-text.b
Normal file
5
Task/Hello-world-Text/B/hello-world-text.b
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
main()
|
||||
{
|
||||
putstr("Hello world!*n");
|
||||
return(0);
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
10 print chr$(147);chr$(14);:REM 147=clear screen, 14=switch to lowercase mode
|
||||
20 print "Hello world!"
|
||||
30 end
|
||||
1
Task/Hello-world-Text/Dc/hello-world-text-2.dc
Normal file
1
Task/Hello-world-Text/Dc/hello-world-text-2.dc
Normal file
|
|
@ -0,0 +1 @@
|
|||
5735816763073014741799356604682 P
|
||||
4
Task/Hello-world-Text/Elena/hello-world-text.elena
Normal file
4
Task/Hello-world-Text/Elena/hello-world-text.elena
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
public program()
|
||||
{
|
||||
console.writeLine:"Hello world!"
|
||||
}
|
||||
|
|
@ -9,3 +9,27 @@ Hello world!
|
|||
NB. j pretty prints the train.
|
||||
Hello World!
|
||||
Hello World !
|
||||
|
||||
|
||||
NB. j is glorious, and you should know this!
|
||||
|
||||
i. 2 3 NB. an array of integers
|
||||
0 1 2
|
||||
3 4 5
|
||||
|
||||
verb_with_infinite_rank =: 'Hello world!'"_
|
||||
|
||||
verb_with_infinite_rank i. 2 3
|
||||
Hello world!
|
||||
|
||||
|
||||
verb_with_atomic_rank =: 'Hello world!'"0
|
||||
|
||||
verb_with_atomic_rank i. 2 3
|
||||
Hello world!
|
||||
Hello world!
|
||||
Hello world!
|
||||
|
||||
Hello world!
|
||||
Hello world!
|
||||
Hello world!
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
@str = internal constant [14 x i8] c"Hello, world!\00"
|
||||
declare i32 @puts(i8*)
|
||||
; const char str[14] = "Hello World!\00"
|
||||
@.str = private unnamed_addr constant [14 x i8] c"Hello, world!\00"
|
||||
|
||||
; declare extern `puts` method
|
||||
declare i32 @puts(i8*) nounwind
|
||||
|
||||
define i32 @main()
|
||||
{
|
||||
call i32 @puts( i8* getelementptr ([14 x i8]* @str, i32 0,i32 0))
|
||||
|
|
|
|||
1
Task/Hello-world-Text/Nickle/hello-world-text.nickle
Normal file
1
Task/Hello-world-Text/Nickle/hello-world-text.nickle
Normal file
|
|
@ -0,0 +1 @@
|
|||
printf("Hello world!\n")
|
||||
|
|
@ -1 +1 @@
|
|||
"Hello world!" println
|
||||
"Hello world!" .
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
#COMPILE EXE
|
||||
#COMPILER PBCC 6
|
||||
|
||||
FUNCTION PBMAIN () AS LONG
|
||||
CON.PRINT "Hello world!"
|
||||
CON.WAITKEY$
|
||||
END FUNCTION
|
||||
1
Task/Hello-world-Text/R/hello-world-text-2.r
Normal file
1
Task/Hello-world-Text/R/hello-world-text-2.r
Normal file
|
|
@ -0,0 +1 @@
|
|||
message("Hello world!")
|
||||
1
Task/Hello-world-Text/R/hello-world-text-3.r
Normal file
1
Task/Hello-world-Text/R/hello-world-text-3.r
Normal file
|
|
@ -0,0 +1 @@
|
|||
print("Hello world!")
|
||||
|
|
@ -1 +1 @@
|
|||
"Hello world!" puts
|
||||
'Hello_world! s:put
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
fn main () {
|
||||
fn main() {
|
||||
print!("Hello world!");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
fn main () {
|
||||
fn main() {
|
||||
println!("Hello world!");
|
||||
}
|
||||
|
|
|
|||
19
Task/Hello-world-Text/Visual-Basic/hello-world-text.vb
Normal file
19
Task/Hello-world-Text/Visual-Basic/hello-world-text.vb
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
Option Explicit
|
||||
|
||||
Private Declare Function AllocConsole Lib "kernel32.dll" () As Long
|
||||
Private Declare Function FreeConsole Lib "kernel32.dll" () As Long
|
||||
'needs a reference set to "Microsoft Scripting Runtime" (scrrun.dll)
|
||||
|
||||
Sub Main()
|
||||
Call AllocConsole
|
||||
Dim mFSO As Scripting.FileSystemObject
|
||||
Dim mStdIn As Scripting.TextStream
|
||||
Dim mStdOut As Scripting.TextStream
|
||||
Set mFSO = New Scripting.FileSystemObject
|
||||
Set mStdIn = mFSO.GetStandardStream(StdIn)
|
||||
Set mStdOut = mFSO.GetStandardStream(StdOut)
|
||||
mStdOut.Write "Hello world!" & vbNewLine
|
||||
mStdOut.Write "press enter to quit program."
|
||||
mStdIn.Read 1
|
||||
Call FreeConsole
|
||||
End Sub
|
||||
|
|
@ -0,0 +1 @@
|
|||
10 print "Hello world!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue