Mlog Labeler

Please enter unedited mlog code

Input


Output


what is labels?

Label is a jump destination, for example

set i 0 print "frog1" op add i i 1 jump 1 lessThan i 2 print "frog2" printflush message1
can be written as
set i 0 j1: print "frog1" op add i i 1 jump j1 lessThan i 2 print "frog2" printflush message1

it makes writing with text editor easier since you don't have to worry about jumps jumping to the wrong line when you add line(s) in between
it also makes it easier to read in its text form, with labels you dont have to count lines to figure out what line the jump instruction jumps to