frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Antlr-Ng Parser Generator

https://www.antlr-ng.org/
16•djoldman•3d ago

Comments

Philpax•1h ago
Is antlr particularly popular these days? I was under the impression that most production parsers are some kind of handwritten recursive descent parsers, primarily because they're better at providing diagnostics and can sometimes be easier to maintain.
another_twist•49m ago
Quite right. But antlr is better for query parsing. They also have error listeners so error handling can be added.
vbezhenar•16m ago
I've used antlr to generate parser for small language used in one project. It's like 100 declarative lines of code. Writing parser by hand would be a much more complicated task.

I didn't really care about diagnostics. It has some, that's enough.

And of course it's easier to maintain declarative grammar description.

My guess is, that it's often used for those kinds of simple grammars without high requirements to impementation. When you need to get things done. Like regex. You might write code to parse a string in a more efficient way, but with regex it's almost always easier. So ANTLR is like regex engine for more complicated inputs.

macote•1h ago
I used ANTLR to create a grammar file for MK (Manufacturing Knowledge). I plugged the JavaScript parser and lexer into Ace editor. Good memories.
another_twist•54m ago
Why -ng ? I thought it had something to do with angular.
almostgotcaught•46m ago
It just means next gen
Eridrus•15m ago
Has performance of ANTLR generated code gotten better? I'm sure some of this was bad grammars, but I wasn't thrilled with what I got out of ANTLR ~15 years ago

Legal win

https://ma.tt/2025/09/legal-win/
89•pentagrama•2h ago•34 comments

UTF-8 is a brilliant design

https://iamvishnu.com/posts/utf8-is-brilliant-design
452•vishnuharidas•9h ago•186 comments

QGIS is a free, open-source, cross platform geographical information system

https://github.com/qgis/QGIS
343•rcarmo•11h ago•87 comments

FFglitch, FFmpeg fork for glitch art

https://ffglitch.org/gallery/
108•captain_bender•6h ago•16 comments

Meow: Yet another modal editing on Emacs

https://github.com/meow-edit/meow
59•Bogdanp•3h ago•8 comments

Life, work, death and the peasant: Rent and extraction

https://acoup.blog/2025/09/12/collections-life-work-death-and-the-peasant-part-ivc-rent-and-extra...
100•baud147258•3h ago•13 comments

Many hard LeetCode problems are easy constraint problems

https://buttondown.com/hillelwayne/archive/many-hard-leetcode-problems-are-easy-constraint/
451•mpweiher•13h ago•386 comments

I used standard Emacs extension-points to extend org-mode

https://edoput.it/2025/04/16/emacs-paradigm-shift.html
136•Karrot_Kream•7h ago•10 comments

The treasury is expanding the Patriot Act to attack Bitcoin self custody

https://www.tftc.io/treasury-iexpanding-patriot-act/
634•bilsbie•16h ago•467 comments

Chatbox app is back on the US app store

https://github.com/chatboxai/chatbox/issues/2644
27•themez•2h ago•5 comments

Tips for installing Windows 98 in QEMU/UTM

https://sporks.space/2025/08/28/tips-for-installing-windows-98-in-qemu-utm/
50•Bogdanp•5h ago•6 comments

EU court rules nuclear energy is clean energy

https://www.weplanet.org/post/eu-court-rules-nuclear-energy-is-clean-energy
686•mpweiher•10h ago•519 comments

Show HN: wcwidth-o1 – Find Unicode text cell width in no time for JavaScript/TS

https://github.com/dawsonhuang0/Wcwidth-O1
4•dawson0•1h ago•0 comments

California lawmakers pass SB 79, housing bill that brings dense housing

https://www.latimes.com/california/story/2025-09-12/california-lawmakers-pass-sb-79-housing-bill-...
94•mji•2h ago•32 comments

OCI Registry Explorer

https://oci.dag.dev/
11•jcbhmr•1h ago•0 comments

3D modeling with paper

https://www.arvinpoddar.com/blog/3d-modeling-with-paper
258•joshuawootonn•14h ago•39 comments

Antlr-Ng Parser Generator

https://www.antlr-ng.org/
16•djoldman•3d ago•7 comments

Unauthorized Windows/386

https://virtuallyfun.com/2025/09/06/unauthorized-windows-386/
52•Bogdanp•3d ago•9 comments

Reduce bandwidth costs with dm-cache: fast local SSD caching for network storage

https://devcenter.upsun.com/posts/cut-aws-bandwidth-costs-95-with-dm-cache/
38•tlar•3d ago•14 comments

Automate compile_flags for C/C++ projects on the Zig build system

https://simonhartcher.com/posts/2025-09-08-announcing-compile-flagz/
27•deevus•2d ago•5 comments

Rust: A quest for performant, reliable software [video]

https://www.youtube.com/watch?v=k_-6KI3m31M
115•raphlinus•20h ago•38 comments

How to Use Claude Code Subagents to Parallelize Development

https://zachwills.net/how-to-use-claude-code-subagents-to-parallelize-development/
4•zachwills•3d ago•2 comments

Discovery of a new satellite or ring arc around Quaoar

https://phys.org/news/2025-09-discovery-moon-orbiting-mysterious-distant.html
20•wglb•1d ago•2 comments

How FOSS Projects Handle Legal Takedown Requests

https://f-droid.org/2025/09/10/how-foss-projects-handle-legal-takedown-requests.html
100•mkesper•10h ago•8 comments

Kefir: Solo-developed full C17/C23 compiler with extensive validation

https://kefir.protopopov.lv/posts/announce0.html
35•jprotopopov•3d ago•5 comments

OpenAI Grove

https://openai.com/index/openai-grove/
118•manveerc•12h ago•125 comments

Corporations are trying to hide job openings from US citizens

https://thehill.com/opinion/finance/5498346-corporate-america-has-been-trying-to-hide-job-opening...
446•b_mc2•12h ago•334 comments

Proton Mail suspended journalist accounts at request of cybersecurity agency

https://theintercept.com/2025/09/12/proton-mail-journalist-accounts-suspended/
211•lehi•6h ago•92 comments

Windows-Use: an AI agent that interacts with Windows at GUI layer

https://github.com/CursorTouch/Windows-Use
108•djhu9•4d ago•21 comments

I don't like curved displays

https://blog.danielh.cc/blog/curved
80•max__dev•4d ago•90 comments