Skip to main content
16 events
when toggle format what by license comment
Feb 10, 2016 at 16:22 comment added Ian Ringrose At least one company in Cambridge(UK) used(maybe still does) this as a coding test that has to completed before shortlisting is done.
Jan 20, 2015 at 19:32 comment added TLama Delphi - JclExprEval (currently accepted). Might be taken for C# as well.
Jan 20, 2015 at 19:17 comment added user3386109 C language: questions about mathematical expression parsing show up periodically (I saw one today), but a good expression parser in C is too broad for SO, and a generic overview won't help the newbie's that are writing the questions. OTOH, if you want to write and post the canonical shunting-yard parser for C (with full error handling, operator precedence, and nested parentheses), go for it :-)
Jan 20, 2015 at 15:19 comment added Raedwald Java: in practice stackoverflow.com/questions/2605032/…
Jan 20, 2015 at 11:37 comment added jfs @nhahtdh: a canonical answer would be the approach from Unix programming environment book.
Jan 20, 2015 at 11:35 comment added nhahtdh @J.F.Sebastian: That one is good. Would you please post that as an answer to this question?
Jan 20, 2015 at 11:33 comment added jfs Python: canonical question and "somewhat OK answer".
Jan 20, 2015 at 11:05 comment added nhahtdh @FlorentBayle: The accepted answer there is not a good answer in my opinion. The rest, well, probably needs a lot of polishing, imo.
Jan 20, 2015 at 10:59 comment added Florent Bayle Java: stackoverflow.com/questions/3422673/…
Jan 20, 2015 at 10:56 history edited nhahtdh CC BY-SA 3.0
added 361 characters in body
Jan 20, 2015 at 10:51 comment added mario Canonical questions are great. And there's nothing wrong with making new/artifical ones. Just not sure if this topic can be covered language-agnostic though. It's potentially even a little broad, even if it's just an expression parser.
Jan 20, 2015 at 10:45 comment added nhahtdh @mario: It is less frequent that HTML/XML and JSON, but it accumulates over the time. I think a canonical question also benefits other languages which don't have built-in facility to parse expressions, where such kind of question may pop up from time to time. What use is there for a bunch of questions with bad solution? It is spreading the incorrect knowledge and bad implementation.
Jan 20, 2015 at 10:39 comment added mario Is it really that frequent? And for what kind of math expressions? Just nested number arithmetics, and/or functions etc.? And I believe it makes sense to finally differentiate between "parsing" and "matching". Only Perl can really utilize regexps for parsing.
Jan 19, 2015 at 15:13 history edited gnat
edited tags
Jan 19, 2015 at 14:20 history edited nhahtdh CC BY-SA 3.0
added 27 characters in body; edited title
Jan 19, 2015 at 4:40 history asked nhahtdh CC BY-SA 3.0