Page 7 of 10

Re: New Preferred Programming Language Requests

Posted: Tue Jan 17, 2017 7:09 pm
by Oatworm
Much appreciated and thanks!

Re: New Preferred Programming Language Requests

Posted: Sat Jan 21, 2017 10:09 pm
by mscha
I realize that I'm not the first person to do so, but might Perl 6 please be added to the list of programming languages?

It really is a distinct language from Perl 5 (a.k.a. Perl). In many ways, it is extremely suited for Project Euler with built-in mathy stuff like is-prime(), combinations, permutations. So far I've solved p001-p122 with Perl 6 - many of those I have posted to the forum. (In one way it is a lot less suited: performance. But that should improve over time.)

Wikipedia: https://en.wikipedia.org/wiki/Perl_6
Wikipedia's list of programming languages, listing it as a separate language: https://en.wikipedia.org/wiki/List_of_p ... anguages#P
Homepage: https://perl6.org/

Re: New Preferred Programming Language Requests

Posted: Sat Jan 21, 2017 11:33 pm
by v6ph1
This request has been posted here at least two times before (the first one nearly 2 years ago):
https://projecteuler.chat/viewtopic.php ... rl6#p41986

The decision was not to differ between both:
https://projecteuler.chat/viewtopic.php ... rl6#p42004

Re: New Preferred Programming Language Requests

Posted: Fri Jul 14, 2017 4:52 am
by markusloew
I am new, and I started with problem 96. I have solved it in PL/I. Is it possible to add this language? It will allow me to adjust my profile. I intend to publish the source code. Everyone who is interested may install a System/370 emulation including it's OS (e.g. MVS 3.8j) on Linux, Windows, and even Darwin(MacOS). It will be discovering an other world for some ProjectEuler enthusiasts. 8-)

The language is to be found in https://en.wikipedia.org/wiki/PL/I

I am the owning admin of the YAHOO group https://groups.yahoo.com/neo/groups/PL1F-and-MVS38j

Re: New Preferred Programming Language Requests

Posted: Fri Jul 14, 2017 5:27 am
by markusloew
BTW
I found a very old post:

Re: New Language Request...

Post by tesneddon » Thu Jun 11, 2009 5:27 am
I would also like to request the addition of PL/I, please.

Regards, Tim.

Re: New Preferred Programming Language Requests

Posted: Sun Aug 20, 2017 10:11 am
by euler
Sorry for the slow replies.

@mscha: Until they rename it, Perl 6 is simply an evolution of Perl. In the same way that BASIC could refer to anything from Dartmouth BASIC, MS-DOS's QBASIC, right the way up to the current incarnation of VB. They are like chalk and cheese in many respects, but they all belong to the BASIC family.

@markusloew: I've added PL/I.

Re: New Preferred Programming Language Requests

Posted: Sun Oct 01, 2017 9:45 pm
by OpenGL
I am pretty surprised J isn't on the list.
my favorite language for code golfing and problem solving.

Re: New Preferred Programming Language Requests

Posted: Mon Oct 02, 2017 9:02 am
by hk
Choose APL/J/K.

Re: New Preferred Programming Language Requests

Posted: Tue Oct 03, 2017 12:47 pm
by hk
OpenGL:
Joined:Sun, 01 Oct 2017 21:41:33
Message above posted:Sun, 01 Oct 2017 21:45:05
Last active:Sun, 01 Oct 2017 21:45:06

Never heard of it anymore after that.

Please:
a) Look better before starting to post.
b) If you thought it necessary to post something here have the politeness of coming back within reasonable time.


Go happy code golfing in J.

Re: New Preferred Programming Language Requests

Posted: Wed Oct 04, 2017 10:58 am
by OpenGL
Sure thing, excuse my rudeness.
Thank you for your reply,
It's just that I saw that the last request was answered after a delay of month so I didn't expect an answer soon.
I did search but I just saw APL and didn't notice the slashes after it.
In any case,
why J and K aren't languages on their own?
I understand that they are designed on the basis of the same paradigm, however, all functional languages also are and they're separated (e.g Haskell and Racket aren't Haskell/Racket). Is there a reason for that?

Re: New Preferred Programming Language Requests

Posted: Wed Oct 04, 2017 11:41 am
by hk
That's a question I don't know the answer for.
It has been so for years and before I joined PE.
Perhaps it's the way APL, J and K use non-verbal elements in their syntax that has something to do with it.
Perhaps it has occurred to you that all dialects of C/C++ are also gathered together as are all dialects of Perl and all dialects of Basic.
Oh, by the way what's your user name on the main site?

Re: New Preferred Programming Language Requests

Posted: Wed Oct 04, 2017 7:14 pm
by OpenGL
I agree, they do posses a lot of syntactical similarities which are unique to them,
however, they are totally different feature-wise and their goals have shifted through the course of time*.
probably older versions possessed much more significant similarity which made it right to group all three together.
The others are different, C++ was originally just an extension to C, dialects of Perl and Basic are, well, dialects.
Also, following the pattern, Java and Kotlin should be grouped together too, same goes for C# which is basically Microsoft's variation of Java.
I believe the naming is just simply inconsistent, my suggestions is to separate those to keep the fans of each language more content :).

My user name is Xotheus, just started project Euler a few days ago and I've been trying to 1-line golf as much problems as possible with J.

*more on that https://stackoverflow.com/questions/388 ... j-versus-k

Re: New Preferred Programming Language Requests

Posted: Wed Oct 04, 2017 8:01 pm
by hk
I don't have the power to change anything.
However, I suggest keeping things as they are for reasons of simplicity.

Re: New Preferred Programming Language Requests

Posted: Fri Oct 06, 2017 11:26 pm
by euler
If we knew then what we knew now then we might have done a lot of things differently. As Hans said, they've been there like that for a long time and, like all the language preference choices, each of them have been grouped the way they are on the advise of those who used the languages at the time the request to add them was made. It's simply not wise to change them now. The members who previously chose them are not going to come back en-mass and update their preferences if we separate them, so we'd have skewed and confusing statistics. There is certainly no way for us to know who of that group actually use APL, J, or K. I hope that makes sense.

Errors/Warnings/Bugs

Posted: Sun Dec 03, 2017 8:59 pm
by adobnikar
Hello,
I am using Node.js (javascript) to solve the problems and I would love it if you added the option to pick javascript as my programming language in the profile settings.

Re: Errors/Warnings/Bugs

Posted: Sun Dec 03, 2017 9:38 pm
by traxex
You can pick ECMAScript, which is almost the same thing.

Javascript/Ecmascript

Posted: Mon Dec 04, 2017 3:45 pm
by adobnikar
Thank you :)

Re: New Preferred Programming Language Requests

Posted: Tue Dec 12, 2017 10:03 am
by jimfan
Hello all,

Quite a discussion.

As time goes by I find that choosing one language category (my choice: APL/J/K) cannot accurately describe the tool set I use.

As example, I just solved and re-solved problem 093 (arithmatic expression), using a basket of language / tool in pipeline. Here's how:

1. Prolog, generate permutation of digits and operators, combine to give RPN expressions |
2. dc, evaluate RPN expression |
3. gawk and grep, filter for positive integer results |
4. gawk again, obtain continuous integer streak

And don't forget the whole thing is glued by:

5. bash !

Hold on, APL is simply not on the list... Prolog is more natural for these backtracking stuff. And I feel clumsy to re-invent the wheels (RPN, grep, sort ... etc) all in Prolog. Thus resorting to other existing tools is quite a natural idea.

If using a hammer can solve PE question, I won't hesitate putting it on the list.

Imagine if admins have to keep up with such a tool list which could possibly be infinite :(

Jim

Re: New Preferred Programming Language Requests

Posted: Tue Dec 12, 2017 10:52 am
by hk
jimfan wrote: Tue Dec 12, 2017 10:03 am If using a hammer can solve PE question, I won't hesitate putting it on the list.
A hammer is a tool to bash your screen with when your computer is misbehaving.

Re: New Preferred Programming Language Requests

Posted: Fri Dec 22, 2017 12:47 pm
by euler
@jimfan: :lol:

I think that members need to keep in mind that Preferred Programming Language is exactly what it says. It is simply an opinion that reflects the language (or language group) that the members feel are best suited to solving Project Euler problems. It's a kind of "dessert island" language list: If you were only allowed to solve every problem with one language, then which one, in your opinion, would it be?