Discuss Scratch

CodeLegend
Scratcher
500+ posts

[ATC#5] Codegolfing to the Extreme!

IcyCoder wrote:

A demo of my language:

It is called repeat after me!

 =

Space is ask
= prints
That's a cat program, which may or may not be one of the Easy Challenges…
PullJosh
Scratcher
1000+ posts

[ATC#5] Codegolfing to the Extreme!

CodeLegend wrote:

PullJosh wrote:

CodeLegend wrote:

To anyone who wants to try what gtoal explained, remember that you can only use the 95 listed characters in your language.
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.
I mean, it's somewhere in there…
I'm on a phone now so I'll wait until I get home to edit the first post.
Oh nvm I just forgot how to read…
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.
ilikelegos
Scratcher
100+ posts

[ATC#5] Codegolfing to the Extreme!

PullJosh wrote:

CodeLegend wrote:

PullJosh wrote:

CodeLegend wrote:

To anyone who wants to try what gtoal explained, remember that you can only use the 95 listed characters in your language.
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.
I mean, it's somewhere in there…
I'm on a phone now so I'll wait until I get home to edit the first post.
Oh nvm I just forgot how to read…
Oh… didn't see that. Oops.

Hi! I'm a computer science student who learned coding on Scratch!
jokebookservice1
Scratcher
1000+ posts

[ATC#5] Codegolfing to the Extreme!

CodeLegend wrote:

IcyCoder wrote:

A demo of my language:

It is called repeat after me!

 =

Space is ask
= prints
That's a cat program, which may or may not be one of the Easy Challenges…
Guess what my language does with an empty program..
CodeLegend
Scratcher
500+ posts

[ATC#5] Codegolfing to the Extreme!

ilikelegos wrote:

PullJosh wrote:

CodeLegend wrote:

PullJosh wrote:

CodeLegend wrote:

To anyone who wants to try what gtoal explained, remember that you can only use the 95 listed characters in your language.
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.
I mean, it's somewhere in there…
I'm on a phone now so I'll wait until I get home to edit the first post.
Oh nvm I just forgot how to read…
Oh… didn't see that. Oops.
Not either of your faults. I hid it too well
ilikelegos
Scratcher
100+ posts

[ATC#5] Codegolfing to the Extreme!

CodeLegend wrote:

ilikelegos wrote:

PullJosh wrote:

CodeLegend wrote:

PullJosh wrote:

CodeLegend wrote:

To anyone who wants to try what gtoal explained, remember that you can only use the 95 listed characters in your language.
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.
I mean, it's somewhere in there…
I'm on a phone now so I'll wait until I get home to edit the first post.
Oh nvm I just forgot how to read…
Oh… didn't see that. Oops.
Not either of your faults. I hid it too well
Yeah… I think (Unless I really suck at reading) yours sounds like it must handle, but is not limited to those 95 characters.

Hi! I'm a computer science student who learned coding on Scratch!
CodeLegend
Scratcher
500+ posts

[ATC#5] Codegolfing to the Extreme!

ilikelegos wrote:

CodeLegend wrote:

ilikelegos wrote:

PullJosh wrote:

CodeLegend wrote:

PullJosh wrote:

CodeLegend wrote:

To anyone who wants to try what gtoal explained, remember that you can only use the 95 listed characters in your language.
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.
I mean, it's somewhere in there…
I'm on a phone now so I'll wait until I get home to edit the first post.
Oh nvm I just forgot how to read…
Oh… didn't see that. Oops.
Not either of your faults. I hid it too well
Yeah… I think (Unless I really suck at reading) yours sounds like it must handle, but is not limited to those 95 characters.
The rule is somewhere before that, but it references that section.
PullJosh
Scratcher
1000+ posts

[ATC#5] Codegolfing to the Extreme!

jokebookservice1 wrote:

Guess what my language does with an empty program..
Is it ++++++++[>++++>+>+>->>+<-]>>.>—.+++++++..+++.>>.<-.<.+++.——.——–.>>+.>++.?
jokebookservice1
Scratcher
1000+ posts

[ATC#5] Codegolfing to the Extreme!

PullJosh wrote:

jokebookservice1 wrote:

Guess what my language does with an empty program..
Is it ++++++++[>++++>+>+>->>+<-]>>.>—.+++++++..+++.>>.<-.<.+++.——.——–.>>+.>++.?
That appears to be an infinite loop (so nothing). Probably what most languages would do, but not mine

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)!

 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
-stache-
Scratcher
500+ posts

[ATC#5] Codegolfing to the Extreme!

IcyCoder wrote:

must have a cool name. If your interpreter doesn't have a cool name, you'll be banned from all future ATCs.
I'm calling mine “StachyStack”


3x3 pb: 13.240
3x3 avg: ~21-26
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

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!

-stache- wrote:

IcyCoder wrote:

must have a cool name. If your interpreter doesn't have a cool name, you'll be banned from all future ATCs.
I'm calling mine “StachyStack”
I'm calling mine “Pull-allyourhairout”.
-stache-
Scratcher
500+ posts

[ATC#5] Codegolfing to the Extreme!

PullJosh wrote:

-stache- wrote:

IcyCoder wrote:

must have a cool name. If your interpreter doesn't have a cool name, you'll be banned from all future ATCs.
I'm calling mine “StachyStack”
I'm calling mine “Pull-allyourhairout”.


3x3 pb: 13.240
3x3 avg: ~21-26
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)!

Last edited by IcyCoder (July 22, 2016 21:06:40)


Because JS is the future (echos) future future futur futu fut fu f
-stache-
Scratcher
500+ posts

[ATC#5] Codegolfing to the Extreme!

IcyCoder wrote:

(potbelly for today)
…?


3x3 pb: 13.240
3x3 avg: ~21-26
IcyCoder
Scratcher
1000+ posts

[ATC#5] Codegolfing to the Extreme!

-stache- wrote:

IcyCoder wrote:

(potbelly for today)
…?
lol auto correct probably 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?

Powered by DjangoBB