Data update
This commit is contained in:
parent
8e4e15fa56
commit
72eb4943cb
1853 changed files with 35514 additions and 9441 deletions
|
|
@ -1,11 +1,11 @@
|
|||
; const char str[14] = "Hello World!\00"
|
||||
@.str = private unnamed_addr constant [14 x i8] c"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))
|
||||
call i32 @puts( i8* getelementptr ([14 x i8], [14 x i8]* @str, i32 0,i32 0))
|
||||
ret i32 0
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
Print "Hello World!" \\ printing on columns, in various ways defined by last $() for specific layer
|
||||
Print $(4),"Hello World!" \\ proportional printing using columns, expanded to a number of columns as the length of string indicates.
|
||||
Report "Hello World!" \\ proportional printing with word wrap, for text, can apply justification and rendering a range of text lines
|
||||
module HelloWorld {
|
||||
print "Hello World!"
|
||||
}
|
||||
HelloWorld
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
'Hello_world! s:put
|
||||
'Hello_world! s:put nl
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
!yamlscript/v0
|
||||
!YS-v0
|
||||
|
||||
say: "Hello, world!"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
const std = @import("std");
|
||||
|
||||
pub fn main() std.fs.File.WriteError!void {
|
||||
pub fn main() !void {
|
||||
const stdout = std.io.getStdOut();
|
||||
|
||||
try stdout.writeAll("Hello world!\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue