Skip to main content
18 events
when toggle format what by license comment
Oct 27, 2016 at 11:16 comment added LegionMammal978 @TùxCräftîñg That prints a leading >>.
Oct 27, 2016 at 11:15 comment added TuxCrafting Echo[13!] works
Mar 8, 2016 at 16:57 comment added LegionMammal978 @MichaelStern Give me a few minutes to test some things.
Mar 8, 2016 at 16:48 comment added Michael Stern @LegionMammal978 yessir
Mar 8, 2016 at 15:42 comment added LegionMammal978 @MichaelStern The repository can be found here.
Mar 8, 2016 at 14:03 comment added Michael Stern @LegionMammal978 I love that name, I was assuming "MMA" but yours is better. Don't try to bite off the whole spec in one go -- maybe Mthmtca 0.1 can have shortened command names plus automatic universal right parenthesis (both relatively easy to implement), and leave everything else for version 0.2.
Mar 8, 2016 at 5:10 comment added Michael Stern We should create a golfing version of Mathematica. With one- or two-byte abbreviated commands and the massive Wolfram Language command set, it would do well in many of these contests.
Dec 29, 2015 at 0:01 comment added LegionMammal978 @MarchHo See my comment on your answer.
Dec 29, 2015 at 0:00 comment added March Ho @MartinBüttner I was about to post in Meta, but someone beat me to it
Dec 28, 2015 at 23:59 comment added Martin Ender @MarchHo what LegionMammal said. You are still invoking the code from a notebook. Mathematica code can be run as an actual script without a notebook environment just like any other programming language.
Dec 28, 2015 at 23:56 comment added LegionMammal978 @MarchHo, try running MathematicaScript -script C:\test.txt.
Dec 28, 2015 at 23:34 comment added March Ho @MartinBüttner I just tested in Mathematica 10, Get["C:\\test.txt"] containing the string 15! prints the expected output. Did I misinterpret what you said?
Dec 28, 2015 at 23:11 comment added Martin Ender @MarchHo if you run 14! from a script file, it will not print anything. It only prints something when typed into a notebook, which is a REPL environment.
Dec 28, 2015 at 23:10 comment added March Ho @MartinBüttner I don't get your point. It manifestly does not "take 6 characters to print anything" for this question in Mathematica. I don't see where REPL environments come into play here.
Dec 28, 2015 at 23:01 comment added Martin Ender @MarchHo the fact that you got away with it in the past does not mean it's generally legitimate to assume a REPL environment. ;)
Dec 28, 2015 at 22:22 comment added March Ho Why do you want to use Print though? Raw operations are valid programs in Mathematica (answer)
Dec 28, 2015 at 16:07 history edited LegionMammal978 CC BY-SA 3.0
added 2 characters in body
Dec 28, 2015 at 15:38 history answered LegionMammal978 CC BY-SA 3.0