All Questions
                1,361 questions
            
            
            
                4
            
            votes
        
        
            
                1
            
            answer
        
        
            
                247
            
            views
        
        
            
            
            
        S-expression parser in Rust
                    I wrote a toy s-expression parser, and I'd like to know if I can make it more Rusty.
I'm not terribly worried about the functionality.  It's only a Rust exercise for me.
...
                
            
       
        
            
                4
            
            votes
        
        
            
                3
            
            answers
        
        
            
                223
            
            views
        
        
            
            
            
        Field Sorting , ANSI-C/K&R 2ED, Exercise 5-17 brainstorming
                    This program is an expansion of the sorting utility built in previous chapters of K&R's 2nd edition of ANSI-C Programming. It parses command-line arguments to determine which fields to sort by and ...
                
            
       
        
            
                1
            
            vote
        
        
            
                0
            
            answers
        
        
            
                76
            
            views
        
        
        Wrap Ohm.js to provide more type-safety when writing and using semantic adapters
                    Background
I am working on a project to display and manipulate 3D puzzle cubes (e.g. Rubik's Cubes).
As the next step in the project, I want to be able to parse algorithm notation and then execute ...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                165
            
            views
        
        
            
        Transfer-Encoding: chunked parser - JavaScript
                    This code parses a series of Uint8Arrays that comprise a Transfer-Encoding: chunked request
...
                
            
       
        
            
                6
            
            votes
        
        
            
                2
            
            answers
        
        
            
                395
            
            views
        
        
            
            
        Operator associativity while writing tokenizer using regex match
                    I am trying to write a simple tokenizer for a basic arithmetic calculator. Here's the code:
...
                
            
       
        
            
                11
            
            votes
        
        
            
                2
            
            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
        
        
            
                138
            
            views
        
        
            
            
            
        Custom Math Parser for trivia game
                    This parser is made for part of larger trivia game, and only allowed numbers are positive integers. So negative or decimal numbers should return -1 as sign of error.
I'm pretty new to programming and ...
                
            
       
        
            
                5
            
            votes
        
        
            
                2
            
            answers
        
        
            
                178
            
            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
        
        
            
                628
            
            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
        
        
            
                889
            
            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.
...
                
            
       
        
            
                7
            
            votes
        
        
            
                1
            
            answer
        
        
            
                122
            
            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
        
        
            
                217
            
            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
        
        
            
                217
            
            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
        
        
            
                59
            
            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 ...
                
            
       
         
         
         
         
        