Skip to content

nullswan/dr-quine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dr-quine

Time:: ~10h ( Without any asm practice )

Final mark: .../125

Language State
Colleen
C
Go
ASM
Grace
C
Go
ASM
Sully
C
Go
ASM

Colleen

C

	printf specifications:

	%2$c -> print second argument as a character
	%position$type

	why:
		%s does not escape \t / \n which indents
				const char *source_code
		twice.

Go

	(fmt.)Printf is a bit different from C

	%[2]c
	%[argument_index]format

ASM

Arguments

	Arguments like in C.

Grace

std flib

Sully

Trick is to check if sully_5 has been generated in order to decrease integer.

However, we could have checked if the program name was equal to the Parent ("Sully")

About

Discover self-reproduction programs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors