Skip to main content
added 11 characters in body
Source Link
Dennis
  • 210.6k
  • 41
  • 370
  • 825

ELVM-IR, 116 68 6666 65 bytes

load.data
.string"Hello, World!"load B,A
putc B
add A,1jne 0,A,13exit
.data
.string"Hello, World!"

Thanks to @ASCII-only for golfing off 48 50 5051 bytes!

Try it online!Try it online!

Background

Running the above program with eli <file> interprets it, but elc -<target> <file> is where the real magic happens: it translates ELVM-IR source code to any of the supported backends!

Try it online!

The ELVM toolchain also supports compiling (a subset of) C and its standard library to ELVM-IR.

Try it online!

ELVM-IR, 116 68 66 bytes

load B,A
putc B
add A,1jne 0,A,13exit
.data
.string"Hello, World!"

Thanks to @ASCII-only for golfing off 48 50 bytes!

Try it online!

Background

Running the above program with eli <file> interprets it, but elc -<target> <file> is where the real magic happens: it translates ELVM-IR source code to any of the supported backends!

Try it online!

The ELVM toolchain also supports compiling (a subset of) C and its standard library to ELVM-IR.

Try it online!

ELVM-IR, 116 68 66 65 bytes

.data
.string"Hello, World!"load B,A
putc B
add A,1jne 0,A,13exit

Thanks to @ASCII-only for golfing off 48 50 51 bytes!

Try it online!

Background

Running the above program with eli <file> interprets it, but elc -<target> <file> is where the real magic happens: it translates ELVM-IR source code to any of the supported backends!

Try it online!

The ELVM toolchain also supports compiling (a subset of) C and its standard library to ELVM-IR.

Try it online!

added 7 characters in body
Source Link
Dennis
  • 210.6k
  • 41
  • 370
  • 825

ELVM-IR, 116 6868 66 bytes

load B,A
putc B
add A,1
jne1jne 0,A,13
exit13exit
.data
.string"Hello, World!"

Thanks to @ASCII-only for golfing off 48 4850 bytes!

Try it online!Try it online!

Background

Running the above program with eli <file> interprets it, but elc -<target> <file> is where the real magic happens: it translates ELVM-IR source code to any of the supported backends!

Try it online!

The ELVM toolchain also supports compiling (a subset of) C and its standard library to ELVM-IR.

Try it online!

ELVM-IR, 116 68 bytes

load B,A
putc B
add A,1
jne 0,A,13
exit
.data
.string"Hello, World!"

Thanks to @ASCII-only for golfing off 48 bytes!

Try it online!

Background

Running the above program with eli <file> interprets it, but elc -<target> <file> is where the real magic happens: it translates ELVM-IR source code to any of the supported backends!

Try it online!

The ELVM toolchain also supports compiling (a subset of) C and its standard library to ELVM-IR.

Try it online!

ELVM-IR, 116 68 66 bytes

load B,A
putc B
add A,1jne 0,A,13exit
.data
.string"Hello, World!"

Thanks to @ASCII-only for golfing off 48 50 bytes!

Try it online!

Background

Running the above program with eli <file> interprets it, but elc -<target> <file> is where the real magic happens: it translates ELVM-IR source code to any of the supported backends!

Try it online!

The ELVM toolchain also supports compiling (a subset of) C and its standard library to ELVM-IR.

Try it online!

added 24 characters in body
Source Link
Dennis
  • 210.6k
  • 41
  • 370
  • 825

ELVM-IR, 116116 68 bytes

putc 72
putc 101
putc 108
putc 108
putc 111
putc 44
putcload 32B,A
putc 87B
putcadd 111A,1
putcjne 1140,A,13
putc 108exit
putc 100.data
putc.string"Hello, 33
exitWorld!"

Try it online!Thanks to @ASCII-only for golfing off 48 bytes!

Try it online!

Background

Running the above program with eli <file> interprets it, but elc -<target> <file> is where the real magic happens: it translates ELVM-IR source code to any of the supported backends!

Try it online!Try it online!

The ELVM toolchain also supports compiling (a subset of) C and its standard library to ELVM-IR.

Try it online!

ELVM-IR, 116 bytes

putc 72
putc 101
putc 108
putc 108
putc 111
putc 44
putc 32
putc 87
putc 111
putc 114
putc 108
putc 100
putc 33
exit

Try it online!

Background

Running the above program with eli <file> interprets it, but elc -<target> <file> is where the real magic happens: it translates ELVM-IR source code to any of the supported backends!

Try it online!

The ELVM toolchain also supports compiling (a subset of) C and its standard library to ELVM-IR.

Try it online!

ELVM-IR, 116 68 bytes

load B,A
putc B
add A,1
jne 0,A,13
exit
.data
.string"Hello, World!"

Thanks to @ASCII-only for golfing off 48 bytes!

Try it online!

Background

Running the above program with eli <file> interprets it, but elc -<target> <file> is where the real magic happens: it translates ELVM-IR source code to any of the supported backends!

Try it online!

The ELVM toolchain also supports compiling (a subset of) C and its standard library to ELVM-IR.

Try it online!

added 386 characters in body
Source Link
Dennis
  • 210.6k
  • 41
  • 370
  • 825
Loading
Source Link
Dennis
  • 210.6k
  • 41
  • 370
  • 825
Loading