Normalize printed text

Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
Richie Bendall
2020-03-30 04:21:52 +13:00
parent 9cf0cd7a7b
commit ad16f6d78a
239 changed files with 248 additions and 252 deletions

2
i/IDL
View File

@@ -1,2 +1,2 @@
print, "Hello, world!"
print, "Hello World"
end

View File

@@ -1 +1 @@
(format (standard-output) "Hello, world!")
(format (standard-output) "Hello World")

View File

@@ -1 +1 @@
console.log "Hello, World!"
console.log "Hello World"

View File

@@ -1 +1 @@
"Hello, world!\n" print
"Hello World\n" print

View File

@@ -43,7 +43,7 @@
.entrypoint // this method is the entry point of the program
.maxstack 1 // the maximum amount of objects on the stack is 1.
ldstr "Hello, world!" // loads a string on the stack (it actually allocates it and puts the GC handle on the stack)
ldstr "Hello World" // loads a string on the stack (it actually allocates it and puts the GC handle on the stack)
call void [mscorlib]System.Console::WriteLine(string) // this should be straightforward enough
ret // even void methods need a return statement

View File

@@ -2,4 +2,4 @@
The world is a room.
When play begins, say "Hello, world."
When play begins, say "Hello World."

View File

@@ -1 +1 @@
Hello, world!
Hello World

View File

@@ -1 +1 @@
"Hello, World!" println
"Hello World" println

View File

@@ -1 +1 @@
"Hello, world!" @=10
"Hello World" @=10