I am trying to give a link to an answer generated by Daniel Lichtblau. However, looking at his page he has so many answers that I could not find it and there is no search box to help. I know the name of the question he answered and I can even find the answer. However, I want the link to go to the...
@Szabolcs Since you are on OSX, would you mind testing something for me? I have a Heyex importer as you know, everything is find and it works for years. Now I decided to include it not as package in my $Path where you have to load it before you can use Import but to place it under
$UserBaseDirectory/SystemFiles/Formats
where it is included as valid Importer automatically.
Unfortunately, doing so screws with my front end and after importing a file, newly defined variables are no longer black and are not suggested by autocompletion.
Therefore, would you mind downloading this zip file and place its contents in the above mentioned folder?
Before today’s 3D printing technology allowed us to make objects of virtually any shape, humanity was limited in the kind and precision of shapes we could produce. Driven to overcome these limitations, we gradually invented a series of machines that could create ever-more-complicated types of shapes, culminating (just before the 3D printer) in machines like [...]
@Szabolcs Yes. The confusing part was that the importer code is loaded on the first call which was why I haven't seen my error. I thought it is something my algorithms do, not something that happens during loading
@Szabolcs Btw, do you see any reason, why it shouldn't be possible to compile something like this
vec[[1;;n]]=0
I mean, we have memset which can exactly be used for this and something like
@halirutan I have been busy, but I'm finally getting around to messing with the Wolfram Language Parser. I'm going to post something using LoadJavaClass,JavaNEW and the other Mathematica functiosn as a patch so people have I better idea how to get started with it. If you have a simple example it would be appreciated before I go ripping it apart.
@halirutan This might be to complicated but how do I walk the tree and convert it into JSON? If not then how do effectively just walk the tree? The goal is convert it into something other then the M Wolfram Language representation.
@William Then I can probably add/hack something later that shows you the details. Nevertheless, the IDEA API is large and probably very complex at the beginning.
@William It's most likely off topic here.
@William Why don't you use Mathematica itself to create the JSON representation?
I mean the Java parser is only there for situations where you don't have Mathematica and still need to parse stuff.
What is the easiest way to accomplish the following in a Mathematica clone or in any version of Lisp? Also it doesn't appear in any lisps have a similar replace function.
Replace[arg, f[{x_, "[", y__, "]"}] :> x[y]]
You are welcome to vote to close the same question has been asked at stackove...
How can I detect whether General::stop is on or off? Turning this message on or off has a special side effect which Quiet won't temporarily turn off. I want to turn off this side effect temporarily, then reset it.
I have a hack for detecting it, but it's ugly: Quiet[{1/0, 1/0, 1/0, 1/0}; MemberQ[$MessageList, HoldForm[General::stop]]]