Questions tagged [parsing]

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

15 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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 #...
halirutan's user avatar
  • 113k
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....
march's user avatar
  • 23.4k
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 ...
level1807's user avatar
  • 1,680
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: ...
Martin Ender's user avatar
  • 8,774
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: ...
Gustavo Delfino's user avatar
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 ...
masterxilo's user avatar
  • 5,739
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 ...
Anti Earth's user avatar
  • 1,171
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 ...
Mike Colacino's user avatar
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 ...
Pillsy's user avatar
  • 18.4k
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 ...
aresnick's user avatar
  • 111
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: ...
Vic Jongmin Youn's user avatar
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 "...
Gert's user avatar
  • 1,510
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 ...
Vic Jongmin Youn's user avatar
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 ...
shrx's user avatar
  • 7,807
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 ...
user2558894's user avatar