Questions tagged [parsing]

Questions about built-in/custom parsers or parsing techniques.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
36
votes
0answers
657 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 #...
16
votes
0answers
225 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
0answers
348 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
0answers
86 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
0answers
79 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
0answers
158 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
0answers
49 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
0answers
87 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
0answers
78 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
0answers
342 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
0answers
680 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
0answers
64 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 ...