https://github.com/nullswan/dr-quine
Discover self-reproduction programs
https://github.com/nullswan/dr-quine
Last synced: 10 months ago
JSON representation
Discover self-reproduction programs
- Host: GitHub
- URL: https://github.com/nullswan/dr-quine
- Owner: nullswan
- Created: 2022-02-18T18:39:18.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-22T08:04:17.000Z (over 4 years ago)
- Last Synced: 2025-01-09T08:48:42.990Z (over 1 year ago)
- Language: Assembly
- Homepage:
- Size: 2.53 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 like in C.
```
## Grace
###

## 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")