Questions tagged [parsing]
Questions about built-in/custom parsers or parsing techniques.
15
questions with no upvoted or accepted answers
42
votes
0
answers
843
views
Front end goes wild with named slots
Bug introduced in 10 and fixed in 12.1
Assume the following simple expression
{#"Test"}&
Now go in front of the #...
17
votes
0
answers
267
views
Why does the FrontEnd lose matching of parentheses when we insert quotations?
Bug introduced in V10.0 and resolved in V11.3
(These are guesses. It is likely to have been resolved in an earlier version V11.X, but V11.3 is what I have access to.)
I am running Mathematica 10.0....
12
votes
0
answers
369
views
After editing a file Mathematica 10 interprets [...]^2 as [...(])^2
Bug introduced in 10.0 and persisting through 10.2 or later
This is a very weird bug and I don't really know how to reproduce it, so I'll just copy-paste the whole code
...
6
votes
0
answers
96
views
Infix non-ASCII operator needs a space to be parsed correctly in a script
Bug introduced in 9.0 or earlier and persisting through 11.1
First off:
...
3
votes
0
answers
187
views
Slight loss of precision when parsing JSON
Exporting to JSON is working well for me under 11.3. The issue present in previous versions seem to be solved:
...
3
votes
0
answers
205
views
SymbolicC/SymbolicCUDAFunction generating C/C++ parser?
I wish to do some program transformation and analysis.
Is there any package that generates SymbolicC expressions from C code?
In a sense I'm looking for the ...
2
votes
0
answers
646
views
Input subscripts in Wolfram Cloud
I would like to input "rendered" subscripts in Wolfram Cloud, without having to verbosely type Subscript[a, b]. The local notebook shortcut is ...
2
votes
0
answers
69
views
Confusing behavior for GrammarRules and GrammarApply
I have been experimenting with GrammarRules in an attempt to create a parser for text downloaded from the web. I have been using Interpreter to help understand the behavior of GrammarApply. Here is a ...
2
votes
0
answers
105
views
Where do the radicals end?
In an early iteration of this question on the Mathematics SE, the radicals weren't properly formatted, so they only had the √ symbol with no indication of which terms were supposed to be ...
1
vote
0
answers
38
views
Distinguishing function calls from multiplication when importing LaTeX via ToExpression and TeXForm
I'm trying to parse a LaTeX representation of a Desmos calculator (like this one) via Mathematica.
Desmos exposes a JSON representation of its calculators, including a LaTeX representation of ...
1
vote
0
answers
104
views
Scraping XML Paragraphs with URLs
I've been working on scraping an article from CNBC. The link is here
I want to scrape the main body, and the code I have so far is this:
...
0
votes
0
answers
111
views
Parsing of WL code
Upon opening a .wl file someone send me I noticed that about 20 seconds were spend parsing the file. Sometimes it spends less time doing so for much bigger files. Upon looking up the term "...
0
votes
0
answers
464
views
HTTP Status Code 403
I'm working with some scraping and have run into a bit of a problem. The website I am scraping is this: https://seekingalpha.com/symbol/CRM/stocktalks
I am essentially trying to scrape the "stock ...
0
votes
0
answers
777
views
How to prevent space trimming when importing HTML with ImportString?
I am importing a HTML-formatted string with
ImportString[string, "HTML"]
to properly parse all HTML-escaped characters like ...
0
votes
0
answers
65
views
parsed matrix not deleting elements in adjusted matrix
I have a matrix that has been parsed to delete certain rows and columns, as well as delete certain elements on the diagonal on the matrix. The problem is that it does this in theory when i take the ...