New Preferred Programming Language Requests

In this forum members can discuss topics about specific programming languages.
StuartBruff
Posts: 2
Joined: Thu Dec 13, 2012 6:47 pm

Re: New Preferred Programming Language Requests - Mathcad

Post by StuartBruff »

Hello,

Could you please add Mathcad to the Preferred Programming Languages for Project Euler?

The main snag with Mathcad from a programming language example point-of-view is that it is largely graphical in nature. A Mathcad worksheet contains both the 'source code' and the primary output (ie, it acts as stdin and stdout) on which all results can be displayed (eg, scalars, strings, vectors, matrices, plots and symbolic expressions).

Both text and expressions are contained in 'regions' that may be placed in reasonably arbitrary locations on a worksheet, with expression sequencing being dictated by the relative positions of regions (they execute raster-wise from top-left to bottom-right) This makes it difficult to give a true representation of what appears on a Mathcad worksheet, though it can often be worked around for standard programming tasks.

There are 3 main forms of the language: Mathcad 15 (the last in the line of Mathsoft variants), PTC Mathcad Prime, and PTC Mathcad Express (a free, reduced-feature version of PTC Mathcad Prime - from an Euler perspective, the major limitation being the lack of programming (there is, however, an 'if' function)).

Website: https://www.mathcad.com/en/
Community: https://community.ptc.com/t5/PTC-Mathca ... PTCMathcad
Wikipedia: https://en.wikipedia.org/wiki/Mathcad

Thank you,

Kind Regards,

Stuart
karnak
Posts: 2
Joined: Thu Feb 11, 2021 10:49 am

Re: New Preferred Programming Language Requests

Post by karnak »

It would be nice to have newLISP in the list.
Here some site:
http://www.newlisp.org/ (official)
https://en.wikipedia.org/wiki/NewLISP
And it is in the list here:
https://en.wikipedia.org/wiki/List_of_p ... _languages
The code for the first 20 problems:
[edit]Link removed because it provided a subsequent link to another website notorious for spoiling Project Euler problems[/edit]

Thank you

karnak
User avatar
euler
Administrator
Posts: 3634
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: New Preferred Programming Language Requests

Post by euler »

I've added it to the drop-down list. 8-)
Image
impudens simia et macrologus profundus fabulae
User avatar
euler
Administrator
Posts: 3634
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: New Preferred Programming Language Requests

Post by euler »

@karnak: I have just noticed the last link you posted and I would like to draw your attention to our reasonable requirements for anyone wishing to publish solutions to Project Euler problems on other sites. Firstly it is limited to the first 100 problems and, whereas we have provided permission for solutions to the first 100 problems to be freely discussed elsewhere, we require that it be part of a valuable discussion. Allowing members to simply copy-and-paste code, without engaging the reader in the thinking behind the methods, does not support the sentiments of our request.

Although many of the first twenty problems do not require extensive dialogue, the code comments on that page explicitly provide a link to a website that simply publishes solutions to Project Euler problems without reservation and expressly against our wishes. I don't know if you have any control over the website: http://www.newlisp.org/ ? If you do, then I would ask you to make those solutions part of a more considered discussion and ensure that you do not provide any links to other websites that would spoil problems.

In the meantime, I have removed the link and I hope you understand and support that decision.
Image
impudens simia et macrologus profundus fabulae
Yoratoni
Posts: 2
Joined: Fri Feb 12, 2021 10:04 am

Re: New Preferred Programming Language Requests

Post by Yoratoni »

Hi ! It would be nice to have GML in the list, i'm maybe the only one to use it 8-) , it's the Game Maker Language, here's the link
https://docs2.yoyogames.com/source/_bui ... index.html (official)
Shlomy_parametric
Posts: 2
Joined: Wed Mar 17, 2021 10:01 am

Re: New Preferred Programming Language Requests

Post by Shlomy_parametric »

Hi. I use Grasshopper software to solve the problems, it is not in the list of languages ​​and I would be happy if it could be added. I solved a lot of math problems with it and now I have found out about this amazing project. Thank you.
I am attaching the solution to the first problem using the software.
Of course, the language is in the link you posted
https://en.wikipedia.org/wiki/List_of_p ... _languages
Attachments
01.png
01.png (84.84 KiB) Viewed 1818 times
User avatar
euler
Administrator
Posts: 3634
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: New Preferred Programming Language Requests

Post by euler »

What a fascinating looking language!

It has now been added to the list.
Image
impudens simia et macrologus profundus fabulae
User avatar
euler
Administrator
Posts: 3634
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: New Preferred Programming Language Requests

Post by euler »

Yoratoni wrote: Fri Feb 12, 2021 10:08 am Hi ! It would be nice to have GML in the list, i'm maybe the only one to use it 8-) , it's the Game Maker Language, here's the link
https://docs2.yoyogames.com/source/_bui ... index.html (official)
For a language to be added it needs to appear on this page:
https://en.wikipedia.org/wiki/List_of_p ... _languages

The reason is because there are so many languages that exist, the team cannot know if the language is an officially recognised language in its own right or it's a variation of a more general programming language. We have to trust the Wiki curators of that page to provide some authority on the matter. As it happens there is an entry for Game Maker Language (at the link above) and it goes to this page:
https://en.wikipedia.org/wiki/GameMaker ... r_Language
The actual language seems to be referred to as "GameMaker". Is that the proper designation? Keep in mind we have a catch-all for languages like BASIC, even though there are probably more variations of that language than any other, so we wouldn't want to include all the iterations of GameMaker, like Animo and GameMaker Studio 2.
Image
impudens simia et macrologus profundus fabulae
Yoratoni
Posts: 2
Joined: Fri Feb 12, 2021 10:04 am

Re: New Preferred Programming Language Requests

Post by Yoratoni »

euler wrote: Mon Mar 22, 2021 5:35 pm
Yoratoni wrote: Fri Feb 12, 2021 10:08 am Hi ! It would be nice to have GML in the list, i'm maybe the only one to use it 8-) , it's the Game Maker Language, here's the link
https://docs2.yoyogames.com/source/_bui ... index.html (official)
For a language to be added it needs to appear on this page:
https://en.wikipedia.org/wiki/List_of_p ... _languages

The reason is because there are so many languages that exist, the team cannot know if the language is an officially recognised language in its own right or it's a variation of a more general programming language. We have to trust the Wiki curators of that page to provide some authority on the matter. As it happens there is an entry for Game Maker Language (at the link above) and it goes to this page:
https://en.wikipedia.org/wiki/GameMaker ... r_Language
The actual language seems to be referred to as "GameMaker". Is that the proper designation? Keep in mind we have a catch-all for languages like BASIC, even though there are probably more variations of that language than any other, so we wouldn't want to include all the iterations of GameMaker, like Animo and GameMaker Studio 2.
The software that uses the Game Maker Language is called Game Maker, this language has been specially created for Game Maker, the proper designation can be "GML" or "Game Maker Language"
User avatar
euler
Administrator
Posts: 3634
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: New Preferred Programming Language Requests

Post by euler »

Thanks, Yoratoni. I've added "Game Maker Language" to the language list.
Image
impudens simia et macrologus profundus fabulae
Post Reply