CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 04:42:08 GMT
content-type: text/html; charset=utf-8
cf-ray: 965977e65b81b22e-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=9352f2d6-ad1b-4060-b780-7bf347df7ae1; expires=Mon, 27 Jul 2026 04:42:07 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: 7e7199e4-7b97-4cff-b9a6-adc8a7772192
x-worker-origin-response-time: 629000000
x-dns-prefetch-control: off
set-cookie: prov=9352f2d6-ad1b-4060-b780-7bf347df7ae1; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=Oztf0XQyrg4aM9NSraRSX1aw9NdR.ZGd5LmWqfgjDBo-1753591328-1.0.1.1-QBDJ1278B8ABcYvFh_49oyg5sKDOBvPAoMpNG7IEjnr6P1IFhXMBqeAsolQq_Hd3fO.eBb6FVGFn0NnbCPvpOgEKtWYtXQSPp7nPTJoJzqE; path=/; expires=Sun, 27-Jul-25 05:12:08 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=uTG.3iqz4PAOnwB.w4n8iLzObd3J996a09uLlsT08pY-1753591328374-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'parsing' Questions - Code Review Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [parsing]
Use this tag for code that parses its input, or that is source for a parser generator such as yacc or lex.
1,355 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
11
votes
3
answers
1k
views
Parsing HTTP headers in C
I'm new to C and just finished K&R. This is a code that I've written to parse headers of a HTTP request.
I want to know if my code:
Is safe? (after all this is C)
Does proper exit on failure? Are ...
10
votes
6
answers
1k
views
Extract unique email addresses from a text file
I'm working on a Python script that reads a text file and extracts all the unique email addresses. The code works as intended, it produces the correct output, throws no errors, and I've tested it on ...
3
votes
1
answer
109
views
5
votes
2
answers
151
views
C++ arithmetic calculator built without resorting to tree structure as conventionally done, but by parsing input string and then std::stoi
Lately I came across a book exercise that asked to implement a calculator by resorting only to std::string manipulation.
I avoided C++ streams as well, as they are ...
9
votes
3
answers
578
views
Parsing SFV files to extract and store the hashes
Similar to the class for the RAR file, now a class to extract and store the hashes from SFV files.
Though this was considerably easier, there has been some code reorganisation: there is now an ...
6
votes
5
answers
857
views
Bracket matching - Advent of Code 2021 Day 10
The following code solves Advent Of Code 2021 Day 10.
The goal for this time around is evaluating whether a line of brackets
is complete, has a syntax error or is missing some closing brackets.
...
6
votes
1
answer
102
views
Recursive descent JSON parser in Rust
I've written a simple recursive descent JSON parser in Rust. It just reads in a JSON file and prints the syntax tree to the terminal. I'm still learning Rust, and I'd appreciate any review/feedback. ...
0
votes
2
answers
200
views
Parsing information from german vocabulary [closed]
I am a beginner programmer and I want you to look at my code and let me know if i could improve something.
First I have to enter the words in German, and then we have a loop that goes through each ...
3
votes
1
answer
183
views
Getting all column vs. table regardless of alias using JSqlParser
I have been trying to get all column vs. table regardless of alias used, for example, assume this query
...
2
votes
0
answers
46
views
Parsing dictionary list from malformed HTTP response in Vim raw channel callback
Questions
Are there edge-cases that I've missed?
Do HTTP response header values ever contain JSON-like data?
Any style pointers related to code readability?
Are there other/better Vim (versions 8 or ...
6
votes
1
answer
341
views
Simple XML string to user-friendly plain text converter method in Java
I want to write a simple method in Java to convert XML to some user-friendly plain format (like YAML, etc.).
Attributes, null, empty or zero values should not be taken into account. Also, documents ...
5
votes
4
answers
917
views
Very simple CSV-parser in Java
Please take a look at my method for parsing a CSV string.
I am looking for a simple approach without using an external library.
Is throwing a RuntimeException ...
6
votes
2
answers
132
views
C parser for reading 3D ASCII scene files
I have been interested in the project of writing a parser that reads ASCII files for a long time, mostly for educational reasons. My idea was not to use tools like Bison or Yacc but to write a hand-...
4
votes
1
answer
95
views
Command-line parser for multiple subcommands
Explanation
I have done another command-line parser here -- I am kinda obsessed. It was really verbose for the user of the parser, it grew complicated quickly with option parsing and a regular command-...
5
votes
2
answers
357
views
Simple JSON parser in lisp
A simple recursive descent JSON parser. The entrypoint to the code is the parse function. Since I'm pretty new to common lisp, I wanted to get feedback on how to ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
python × 322
c++ × 179
java × 179
c# × 156
c × 133
strings × 133
performance × 119
beginner × 114
javascript × 95
python-3.x × 87
regex × 77
xml × 67
json × 60
csv × 54
php × 48
haskell × 47
math-expression-eval × 47
object-oriented × 42
file × 40
html × 38
algorithm × 36
rust × 35
datetime × 32
ruby × 30
more related tags
Hot Network Questions
- Why am I winning always? A coincidence perhaps?
- Is it possible to use the PC power button to pre-select the OS in rEFInd UEFI dual boot setup?
- What does "enter the hold at arden" mean
- Early Sailing days in September 1066... Could Harold defeat William at Hastings, if it happened before Stamford Bridge?
- How to extend an MDF shelf?
- Civilian airplanes with inside fuselage jet engines
- I am looking for a French mathematician who contributed to complex analysis
- How much of a really big a spaceship could a nuke take out?
- How do Francophones hear "ChatGPT"?
- Did the first sin in the garden of Eden actually take place before the fruit was eaten?
- Sci-fi book where aliens make contact, ask humans to transport themselves to nearby portal
- How to navigate in the Universe's Heat Death
- Meaning of 芭蕉 in Tang age
- Is the surface of Mars or the Moon mostly (or relatively) homogeneous, unlike the Earth?
- Alternative to tedious assert-rewrite for trivial operations?
- Is there any verse which says that throughout the Vedas the praise of Shiva is sung?
- About security concerns using in find -exec vs interactively performing the same task
- How can I turn the text in a PNG file back into text layer?
- Automatic drawing of polygon around selected polygons in QGIS
- The Russian president is struggling to pass a law now. Then, how much power does Kremlin have to initiate a congressional decision?
- In Fantastic Four 2025 shouldn't this thing have taken years?
- What is the citation for Augustine's "consensus, non concubitus..."
- How should one pronounce plural French-derived German words?
- Likelihood of the data in a Ornstein-Uhlenbeck-like process