generated from InvoluteHell/Scoring
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'InvoluteHell:master' into master
- Loading branch information
Showing
6 changed files
with
85 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Whitespace Language | ||
|
||
## Introduction | ||
|
||
The language contains 3 different characters to represent the code: Space, Tab(\t), LF(\n). | ||
|
||
Different combinations of characters form a series of operands that let this language be Turing-complete. | ||
|
||
## Code | ||
|
||
```whitespace | ||
``` | ||
|
||
## Annotation | ||
|
||
```text | ||
!S, T, L corresponds to space, tab and LF respectively | ||
S S STSSTSSSL !push number +1001000('H') to stack | ||
TL SS !print the character at the top of stack: 'H' | ||
S S STTSSTSTL !push 'e' | ||
TL SS !print 'e' | ||
S S STTSTTSSL !push 'l' | ||
S LS !duplicate the top element of the stack | ||
S LS !stack: ['l','l','l'] | ||
TL SS !print 'l' | ||
TL SS !print 'l' | ||
S S STTSTTTTL !push 'o' | ||
S LS !stack: ['o','o','l'] | ||
TL SS !print 'o' | ||
S S STSTSTTTL !push 'W', stack: ['W','o','l'] | ||
TL SS !print 'W' | ||
TL SS !print 'o' | ||
S S STTTSSTSL !push 'r', stack: ['r','l'] | ||
TL SS !print 'r' | ||
TL SS !print 'l' | ||
S S STTSSTSSL !push 'd' | ||
TL SS !print 'd' | ||
LLL !program ends | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
``` | ||
Scoring files... | ||
File: c:\Users\konoha\Downloads\Scoring-master\Scoring-master\.github\main.c, Length: 57, Category: 24, Score: 1368 | ||
Best file: c:\Users\konoha\Downloads\Scoring-master\Scoring-master\.github\main.c, Length: 57, Category: 24, Score: 1368 | ||
``` | ||
|
||
超超玛丽的 o.O |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
main(){puts("\x48\x65\x6c\x6c\x6f\x57\x6f\x72\x6c\x64");} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
`<<<$'xx\x64 -\x72 -p'`<<<48656c6c6f576f726c64 |