CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 08:44:44 GMT
content-type: text/html; charset=utf-8
cf-ray: 96529de94915f313-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=7fe08538-ecaf-466c-95cf-5ba42bbf55aa; expires=Sun, 26 Jul 2026 08:44:44 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: a08c88e1-486b-4206-a7df-f6f1eae60bd3
x-worker-origin-response-time: 591000000
x-dns-prefetch-control: off
set-cookie: prov=7fe08538-ecaf-466c-95cf-5ba42bbf55aa; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=m20n60GSq7rAOKT_Jex24_GkKNJwgM4cLZ7RxmlFjbI-1753519484-1.0.1.1-Rr3uqV_Rf1jbSDNGzQWfHwkof.pSzhZQWPZyREQ115AmIPLmkdRCbq_bBLAEwt63PfkwUYPbvqau9YwQxaWtMXFJrwxaaPYP.pzH7wqsR4A; path=/; expires=Sat, 26-Jul-25 09:14:44 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=R0sh7tLL62Foqqn4n_CHgFRjLRK0oeZdkcyOl2b5MWA-1753519484969-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
150
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
- Write two very different programs with the same characters
- Dystopian 80s sci-fi movie about the USA choosing mediocrity
- Exterior derivative of Hodge star of 1-form
- Do TeX engines support Shavian OpenType fonts?
- Where did the name of Windows XP come from? Was it connected to the Cairo project?
- Does Philosophy Need Quotes?
- Can a minor run a business by having an adult act on their behalf?
- How can I evenly space my instances after they've been progressively scaled?
- Why does “brew search” for “peertube” match with “freetube”? How does the search work?
- Break long equation: vertical alignment of indentation
- Word order for a phrase with a number, adjective and noun
- Likelihood of the data in a OU-like process
- When and why is fwait necessary when using the 8087 coprocessor?
- About Bonferroni correction for adjusted Pearson residuals
- Access denied attempting to delete file on Windows Server
- Heavy shelves, but not a center stud
- I am looking for a French mathematician who contributed to complex analysis
- In Fantastic Four 2025 shouldn't this thing have taken years?
- Why is 0.0 printed as 0.00001 when rounding upward?
- How to extend an MDF shelf?
- Quadratic Hecke characters with certain given local components
- In Jurassic Park, is the lysine dependency intentionally fake (in-universe)?
- Is it possible to use the PC power button to pre-select the OS in rEFInd UEFI dual boot setup?
- Tracking stored procedure performance metrics