Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-shorten code #40

Open
ArthaTi opened this issue Jan 12, 2018 · 7 comments
Open

Auto-shorten code #40

ArthaTi opened this issue Jan 12, 2018 · 7 comments

Comments

@ArthaTi
Copy link

ArthaTi commented Jan 12, 2018

I suggest, that there should be somewhere a button, which would automatically convert long sentences to Unicode shortcuts. It would help golfing faster and also prevent missing some opportunities to shorten the byte count.

@ETHproductions
Copy link
Owner

Thanks for the suggestion! An auto-golf button has been brought up before, and I would like to add it; however, as soon as I have time, I'm going to create a completely new interpreter, so I'll add the button then with all the other new features.

BTW, we have a list of ideas for the new interpreter here, if you'd like to take a look or add some of your own suggestions.

@ArthaTi
Copy link
Author

ArthaTi commented Jan 13, 2018

Good to know! The ideas for the new interpreter sound really nice. But I think you actually mean "interface", because that's 2 different things. Unless you want to rewrite the whole language...

I thought about adding some kind of shortcut for space, because that character actually takes a lot of space in most of my code, but for now I've got no idea how would that look like...

Well... I'll try thinking about some new functions for Japt in free time.

@ETHproductions
Copy link
Owner

Thanks, interface is indeed a better term for it. I do also happen to be creating a new interpreter for Japt v2.0 :-)

@PeterShaggyNoble
Copy link
Contributor

Personally speaking, I wouldn't be a fan of an "auto-golf" feature; it'd take some of the fun out of the game for me.

@ArthaTi
Copy link
Author

ArthaTi commented Jan 15, 2018

@PeterShaggyNoble as said, it would be a button, so you would still have the fun to replace stuff.

@ETHproductions
Copy link
Owner

@PeterShaggyNoble I was just thinking of something that adds in shortcuts wherever possible. Anything beyond that would be very tough to do automatically...

@PeterShaggyNoble
Copy link
Contributor

Much as I personally don't like it, this feature is available in the new interpreter currently in development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants