Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stedolan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
stedolan
5y ago
The way to handle stack overflow gracefully on Linux is to check in your signal handler whether the faulting address was between the beginning of the stack and the current stack pointer. You can read the stack pointer register from the sign
2.
▲
by
stedolan
14y ago
Thanks! 1. I think your example shows sed/awk's failings with JSON data :) I don't want to write a JSON parser by hand every time I want to pull a field out of an object, and parsing recursive structures with regexes is never a good plan. 2
3.
▲
by
stedolan
14y ago
They exist now!
4.
▲
by
stedolan
14y ago
(author here) That bug was fixed a while ago, but I forgot to upload new binaries. Try again, they should be working now.
5.
▲
by
stedolan
14y ago
(author here) I haven't tried to build on a mac in a while, bison there seems to support fewer options (must be an older version). For now, I've just checked in the autogenerated parser, so that bison won't have to run when you build master
6.
▲
Show HN: jq, a lightweight commandline JSON processor
(stedolan.github.com)
5 points
by
stedolan
14y ago
|
0 comments