Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » [ATC#5] Codegolfing to the Extreme!
- CodeLegend
- Scratcher
500+ posts
[ATC#5] Codegolfing to the Extreme!
That's a cat program, which may or may not be one of the Easy Challenges… A demo of my language:
It is called repeat after me!=
Space is ask
= prints
- PullJosh
- Scratcher
1000+ posts
[ATC#5] Codegolfing to the Extreme!
Oh nvm I just forgot how to read…I mean, it's somewhere in there…Maybe that should be made more clear in the instructions. I was planning on creating a language which had one character for every instruction you could possibly need. To anyone who wants to try what gtoal explained, remember that you can only use the 95 listed characters in your language.
I'm on a phone now so I'll wait until I get home to edit the first post.
- jokebookservice1
- Scratcher
1000+ posts
[ATC#5] Codegolfing to the Extreme!
Yey! Since this isn't time based I'll sleep now (instead of pulling an all-nighter )
I hate it when JS goes “Missing closing bracket, it should have been right here: Char 16 Line 5” because WHY NOT JUST PRETEND IT IS THERE. So I am going to make all closing brackets optional.
I hate it when JS goes “Missing closing bracket, it should have been right here: Char 16 Line 5” because WHY NOT JUST PRETEND IT IS THERE. So I am going to make all closing brackets optional.
- ilikelegos
- Scratcher
100+ posts
[ATC#5] Codegolfing to the Extreme!
Oh… didn't see that. Oops.Oh nvm I just forgot how to read…I mean, it's somewhere in there…Maybe that should be made more clear in the instructions. I was planning on creating a language which had one character for every instruction you could possibly need. To anyone who wants to try what gtoal explained, remember that you can only use the 95 listed characters in your language.
I'm on a phone now so I'll wait until I get home to edit the first post.
Hi! I'm a computer science student who learned coding on Scratch!
- jokebookservice1
- Scratcher
1000+ posts
[ATC#5] Codegolfing to the Extreme!
Guess what my language does with an empty program..That's a cat program, which may or may not be one of the Easy Challenges… A demo of my language:
It is called repeat after me!=
Space is ask
= prints
- CodeLegend
- Scratcher
500+ posts
[ATC#5] Codegolfing to the Extreme!
Not either of your faults. I hid it too wellOh… didn't see that. Oops.Oh nvm I just forgot how to read…I mean, it's somewhere in there…Maybe that should be made more clear in the instructions. I was planning on creating a language which had one character for every instruction you could possibly need. To anyone who wants to try what gtoal explained, remember that you can only use the 95 listed characters in your language.
I'm on a phone now so I'll wait until I get home to edit the first post.
- ilikelegos
- Scratcher
100+ posts
[ATC#5] Codegolfing to the Extreme!
Yeah… I think (Unless I really suck at reading) yours sounds like it must handle, but is not limited to those 95 characters.Not either of your faults. I hid it too wellOh… didn't see that. Oops.Oh nvm I just forgot how to read…I mean, it's somewhere in there…Maybe that should be made more clear in the instructions. I was planning on creating a language which had one character for every instruction you could possibly need. To anyone who wants to try what gtoal explained, remember that you can only use the 95 listed characters in your language.
I'm on a phone now so I'll wait until I get home to edit the first post.
Hi! I'm a computer science student who learned coding on Scratch!
- CodeLegend
- Scratcher
500+ posts
[ATC#5] Codegolfing to the Extreme!
The rule is somewhere before that, but it references that section.Yeah… I think (Unless I really suck at reading) yours sounds like it must handle, but is not limited to those 95 characters.Not either of your faults. I hid it too wellOh… didn't see that. Oops.Oh nvm I just forgot how to read…I mean, it's somewhere in there…Maybe that should be made more clear in the instructions. I was planning on creating a language which had one character for every instruction you could possibly need. To anyone who wants to try what gtoal explained, remember that you can only use the 95 listed characters in your language.
I'm on a phone now so I'll wait until I get home to edit the first post.
- PullJosh
- Scratcher
1000+ posts
[ATC#5] Codegolfing to the Extreme!
Is it ++++++++[>++++>+>+>->>+<-]>>.>—.+++++++..+++.>>.<-.<.+++.——.——–.>>+.>++.? Guess what my language does with an empty program..
- jokebookservice1
- Scratcher
1000+ posts
[ATC#5] Codegolfing to the Extreme!
That appears to be an infinite loop (so nothing). Probably what most languages would do, but not mineIs it ++++++++[>++++>+>+>->>+<-]>>.>—.+++++++..+++.>>.<-.<.+++.——.——–.>>+.>++.? Guess what my language does with an empty program..
EDIT: Mine would print its output (A bit like the Linda compression algorithm in that respect
NOTE: The closing bracket was omitted because that is how my language works
Last edited by jokebookservice1 (July 22, 2016 20:44:01)
- IcyCoder
- Scratcher
1000+ posts
[ATC#5] Codegolfing to the Extreme!
Here is one of the challenge (just thought I would try it out)!
space asks for input
l puts the length in a var
* puts the var in tmp
= prints tmp
Returns the length of the string!
l*=
space asks for input
l puts the length in a var
* puts the var in tmp
= prints tmp
Returns the length of the string!
Last edited by IcyCoder (July 22, 2016 20:49:06)
Because JS is the future (echos) future future futur futu fut fu f
- IcyCoder
- Scratcher
1000+ posts
[ATC#5] Codegolfing to the Extreme!
must have a cool name. If your interpreter doesn't have a cool name, you'll be banned from all future ATCs.
Because JS is the future (echos) future future futur futu fut fu f
- TheMonsterOfTheDeep
- Scratcher
1000+ posts
[ATC#5] Codegolfing to the Extreme!
I've been designing a language. I don't know if it is great, but it's okay.
nvm is wrong
nvm is wrong
Last edited by TheMonsterOfTheDeep (July 22, 2016 20:59:20)
my latest extension: 2d vector math
- PullJosh
- Scratcher
1000+ posts
[ATC#5] Codegolfing to the Extreme!
I'm calling mine “Pull-allyourhairout”.I'm calling mine “StachyStack”must have a cool name. If your interpreter doesn't have a cool name, you'll be banned from all future ATCs.
- IcyCoder
- Scratcher
1000+ posts
[ATC#5] Codegolfing to the Extreme!
I am done (probably for today) these are the commands (subject to change) that work
=
Prints the text or numbers in tmp
<(number).
Removes the last few characters.
|
Sets tmp to var deletes tmp
*
sets var to tmp
>(string or number). or =
Sets tmp to string or number if you use . Prints string or number if you use =
Asks the user for input and adds it to tmp
l
sets var to length of tmp
}
joins tmp and var puts it in tmp
{
joins var and tmp puts it in tmp
That is it (for now)!
=
Prints the text or numbers in tmp
<(number).
Removes the last few characters.
|
Sets tmp to var deletes tmp
*
sets var to tmp
>(string or number). or =
Sets tmp to string or number if you use . Prints string or number if you use =
Asks the user for input and adds it to tmp
l
sets var to length of tmp
}
joins tmp and var puts it in tmp
{
joins var and tmp puts it in tmp
That is it (for now)!
Last edited by IcyCoder (July 22, 2016 21:06:40)
Because JS is the future (echos) future future futur futu fut fu f
- IcyCoder
- Scratcher
1000+ posts
[ATC#5] Codegolfing to the Extreme!
lol auto correct probably for today…? (potbelly for today)
Because JS is the future (echos) future future futur futu fut fu f
- PullJosh
- Scratcher
1000+ posts
[ATC#5] Codegolfing to the Extreme!
Do I get bonus points for a fancy-looking markdown documentation?
- Discussion Forums
- » Advanced Topics
- » [ATC#5] Codegolfing to the Extreme!