Skip to main content
Code Golf

Return to Answer

Commonmark migration
Source Link

#500 rep for a shorter payload capable V quine

500 rep for a shorter payload capable V quine

Currently in V, there are two important quines:

2i2i

is the shortest known quine, but not modifiable. And

ñéÑ~"qpÿ

is the shortest known trivially modifiable quine. This is because

ñéÑ~"qp<CODE>ÿ

pretty much anything you want can go in the place of CODE, and it will still be a valid quine. You can see this on these answers:

Although these used a former version of the extensible quine, namely:

ñi<C-v>241<esc>"qpÿ

Either one could be easily modified to use this newer quine. Another good example is filling CODE with 'l's should always work. I will award this bounty to the first user to find a shorter extensible quine. For the purpose of this bounty, extensible means that any code you want to add to it will be recorded into some register and then pasted later, which is how the current solutions work (into register 'q' FWIW).

For completeness sake, I have found several 8-byte solutions:

ñéÑ~"qpÿ
ñéÑ~"qpx
ñéÑ~"qðÿ
ñéÑ~"qðx
ñ"qpÁÑ~x
ñ"qpÁÑ~ÿ

And many more trivial modifications that aren't worth posting. If you'd like more explanation on any of these, or want more examples, feel free to ping me in TNB or Vim-Golf.

#500 rep for a shorter payload capable V quine

Currently in V, there are two important quines:

2i2i

is the shortest known quine, but not modifiable. And

ñéÑ~"qpÿ

is the shortest known trivially modifiable quine. This is because

ñéÑ~"qp<CODE>ÿ

pretty much anything you want can go in the place of CODE, and it will still be a valid quine. You can see this on these answers:

Although these used a former version of the extensible quine, namely:

ñi<C-v>241<esc>"qpÿ

Either one could be easily modified to use this newer quine. Another good example is filling CODE with 'l's should always work. I will award this bounty to the first user to find a shorter extensible quine. For the purpose of this bounty, extensible means that any code you want to add to it will be recorded into some register and then pasted later, which is how the current solutions work (into register 'q' FWIW).

For completeness sake, I have found several 8-byte solutions:

ñéÑ~"qpÿ
ñéÑ~"qpx
ñéÑ~"qðÿ
ñéÑ~"qðx
ñ"qpÁÑ~x
ñ"qpÁÑ~ÿ

And many more trivial modifications that aren't worth posting. If you'd like more explanation on any of these, or want more examples, feel free to ping me in TNB or Vim-Golf.

500 rep for a shorter payload capable V quine

Currently in V, there are two important quines:

2i2i

is the shortest known quine, but not modifiable. And

ñéÑ~"qpÿ

is the shortest known trivially modifiable quine. This is because

ñéÑ~"qp<CODE>ÿ

pretty much anything you want can go in the place of CODE, and it will still be a valid quine. You can see this on these answers:

Although these used a former version of the extensible quine, namely:

ñi<C-v>241<esc>"qpÿ

Either one could be easily modified to use this newer quine. Another good example is filling CODE with 'l's should always work. I will award this bounty to the first user to find a shorter extensible quine. For the purpose of this bounty, extensible means that any code you want to add to it will be recorded into some register and then pasted later, which is how the current solutions work (into register 'q' FWIW).

For completeness sake, I have found several 8-byte solutions:

ñéÑ~"qpÿ
ñéÑ~"qpx
ñéÑ~"qðÿ
ñéÑ~"qðx
ñ"qpÁÑ~x
ñ"qpÁÑ~ÿ

And many more trivial modifications that aren't worth posting. If you'd like more explanation on any of these, or want more examples, feel free to ping me in TNB or Vim-Golf.

Mod Removes Wiki by Dennis Mod
edited body
Source Link
DJMcMayhem
  • 60.1k
  • 1
  • 46
  • 94

#350#500 rep for a shorter payload capable V quine

Currently in V, there are two important quines:

2i2i

is the shortest known quine, but not modifiable. And

ñéÑ~"qpÿ

is the shortest known trivially modifiable quine. This is because

ñéÑ~"qp<CODE>ÿ

pretty much anything you want can go in the place of CODE, and it will still be a valid quine. You can see this on these answers:

Although these used a former version of the extensible quine, namely:

ñi<C-v>241<esc>"qpÿ

Either one could be easily modified to use this newer quine. Another good example is filling CODE with 'l's should always work. I will award this bounty to the first user to find a shorter extensible quine. For the purpose of this bounty, extensible means that any code you want to add to it will be recorded into some register and then pasted later, which is how the current solutions work (into register 'q' FWIW).

For completeness sake, I have found several 8-byte solutions:

ñéÑ~"qpÿ
ñéÑ~"qpx
ñéÑ~"qðÿ
ñéÑ~"qðx
ñ"qpÁÑ~x
ñ"qpÁÑ~ÿ

And many more trivial modifications that aren't worth posting. If you'd like more explanation on any of these, or want more examples, feel free to ping me in TNB or Vim-Golf.

#350 rep for a shorter payload capable V quine

Currently in V, there are two important quines:

2i2i

is the shortest known quine, but not modifiable. And

ñéÑ~"qpÿ

is the shortest known trivially modifiable quine. This is because

ñéÑ~"qp<CODE>ÿ

pretty much anything you want can go in the place of CODE, and it will still be a valid quine. You can see this on these answers:

Although these used a former version of the extensible quine, namely:

ñi<C-v>241<esc>"qpÿ

Either one could be easily modified to use this newer quine. Another good example is filling CODE with 'l's should always work. I will award this bounty to the first user to find a shorter extensible quine. For the purpose of this bounty, extensible means that any code you want to add to it will be recorded into some register and then pasted later, which is how the current solutions work (into register 'q' FWIW).

For completeness sake, I have found several 8-byte solutions:

ñéÑ~"qpÿ
ñéÑ~"qpx
ñéÑ~"qðÿ
ñéÑ~"qðx
ñ"qpÁÑ~x
ñ"qpÁÑ~ÿ

And many more trivial modifications that aren't worth posting. If you'd like more explanation on any of these, or want more examples, feel free to ping me in TNB or Vim-Golf.

#500 rep for a shorter payload capable V quine

Currently in V, there are two important quines:

2i2i

is the shortest known quine, but not modifiable. And

ñéÑ~"qpÿ

is the shortest known trivially modifiable quine. This is because

ñéÑ~"qp<CODE>ÿ

pretty much anything you want can go in the place of CODE, and it will still be a valid quine. You can see this on these answers:

Although these used a former version of the extensible quine, namely:

ñi<C-v>241<esc>"qpÿ

Either one could be easily modified to use this newer quine. Another good example is filling CODE with 'l's should always work. I will award this bounty to the first user to find a shorter extensible quine. For the purpose of this bounty, extensible means that any code you want to add to it will be recorded into some register and then pasted later, which is how the current solutions work (into register 'q' FWIW).

For completeness sake, I have found several 8-byte solutions:

ñéÑ~"qpÿ
ñéÑ~"qpx
ñéÑ~"qðÿ
ñéÑ~"qðx
ñ"qpÁÑ~x
ñ"qpÁÑ~ÿ

And many more trivial modifications that aren't worth posting. If you'd like more explanation on any of these, or want more examples, feel free to ping me in TNB or Vim-Golf.

replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

#350 rep for a shorter payload capable V quine

Currently in V, there are two important quines:

2i2i

is the shortest known quine, but not modifiable. And

ñéÑ~"qpÿ

is the shortest known trivially modifiable quine. This is because

ñéÑ~"qp<CODE>ÿ

pretty much anything you want can go in the place of CODE, and it will still be a valid quine. You can see this on these answers:

Although these used a former version of the extensible quine, namely:

ñi<C-v>241<esc>"qpÿ

Either one could be easily modified to use this newer quine. Another good example is filling CODE with 'l's should always work. I will award this bounty to the first user to find a shorter extensible quine. For the purpose of this bounty, extensible means that any code you want to add to it will be recorded into some register and then pasted later, which is how the current solutions work (into register 'q' FWIW).

For completeness sake, I have found several 8-byte solutions:

ñéÑ~"qpÿ
ñéÑ~"qpx
ñéÑ~"qðÿ
ñéÑ~"qðx
ñ"qpÁÑ~x
ñ"qpÁÑ~ÿ

And many more trivial modifications that aren't worth posting. If you'd like more explanation on any of these, or want more examples, feel free to ping me in TNB or Vim-Golf.

#350 rep for a shorter payload capable V quine

Currently in V, there are two important quines:

2i2i

is the shortest known quine, but not modifiable. And

ñéÑ~"qpÿ

is the shortest known trivially modifiable quine. This is because

ñéÑ~"qp<CODE>ÿ

pretty much anything you want can go in the place of CODE, and it will still be a valid quine. You can see this on these answers:

Although these used a former version of the extensible quine, namely:

ñi<C-v>241<esc>"qpÿ

Either one could be easily modified to use this newer quine. Another good example is filling CODE with 'l's should always work. I will award this bounty to the first user to find a shorter extensible quine. For the purpose of this bounty, extensible means that any code you want to add to it will be recorded into some register and then pasted later, which is how the current solutions work (into register 'q' FWIW).

For completeness sake, I have found several 8-byte solutions:

ñéÑ~"qpÿ
ñéÑ~"qpx
ñéÑ~"qðÿ
ñéÑ~"qðx
ñ"qpÁÑ~x
ñ"qpÁÑ~ÿ

And many more trivial modifications that aren't worth posting. If you'd like more explanation on any of these, or want more examples, feel free to ping me in TNB or Vim-Golf.

#350 rep for a shorter payload capable V quine

Currently in V, there are two important quines:

2i2i

is the shortest known quine, but not modifiable. And

ñéÑ~"qpÿ

is the shortest known trivially modifiable quine. This is because

ñéÑ~"qp<CODE>ÿ

pretty much anything you want can go in the place of CODE, and it will still be a valid quine. You can see this on these answers:

Although these used a former version of the extensible quine, namely:

ñi<C-v>241<esc>"qpÿ

Either one could be easily modified to use this newer quine. Another good example is filling CODE with 'l's should always work. I will award this bounty to the first user to find a shorter extensible quine. For the purpose of this bounty, extensible means that any code you want to add to it will be recorded into some register and then pasted later, which is how the current solutions work (into register 'q' FWIW).

For completeness sake, I have found several 8-byte solutions:

ñéÑ~"qpÿ
ñéÑ~"qpx
ñéÑ~"qðÿ
ñéÑ~"qðx
ñ"qpÁÑ~x
ñ"qpÁÑ~ÿ

And many more trivial modifications that aren't worth posting. If you'd like more explanation on any of these, or want more examples, feel free to ping me in TNB or Vim-Golf.

deleted 36 characters in body
Source Link
DJMcMayhem
  • 60.1k
  • 1
  • 46
  • 94
Loading
Source Link
DJMcMayhem
  • 60.1k
  • 1
  • 46
  • 94
Loading
Post Made Community Wiki by DJMcMayhem

AltStyle によって変換されたページ (->オリジナル) /