frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Gemini 4 Argon

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-4-argon/
1083•bradleyg223•7h ago•732 comments

The top secret URSALA, RAQUEL, and FARRAH satellites (2025)

https://www.thespacereview.com/article/4951/1
150•Bluestein•5h ago•63 comments

56k.rip – the 1996 dial-up internet experience

https://56k.rip/
92•adunk•5h ago•54 comments

Show HN: Yantra – an LALR(1) parser generator for C++

https://github.com/TantrixAuto/yantra
6•renjipanicker•1h ago•0 comments

Why the Bronze Age Collapsed

https://www.worksinprogress.news/p/why-really-caused-the-bronze-age
116•AnodicElegy•1d ago•64 comments

Surprisingly complex waves reveal the brain's inner workings

https://www.quantamagazine.org/surprisingly-complex-waves-reveal-the-brains-inner-workings-20260930/
137•ibobev•8h ago•44 comments

Launch HN: Magnitude (YC S25) – Self-optimizing inference engine for agents

https://github.com/magnitudedev/magnitude
132•anerli•10h ago•61 comments

Cities Are Forced to Funnel License Plate Data to a Federal Surveillance Program

https://www.404media.co/how-cities-are-forced-to-funnel-license-plate-data-to-a-massive-federal-s...
28•ripe•1h ago•4 comments

What a Massive New 728-Foot-Wide Crater Means for Future Moon Bases

https://www.nytimes.com/2026/09/21/science/space/what-a-massive-new-crater-means-for-future-moon-...
24•bookofjoe•1d ago•35 comments

EDG C++ front-end goes public

https://edgcpp.org/#transition
166•iandinwoodie•8h ago•79 comments

Singapore govt dating app uses Gale-Shapley stable marriage algorithm

https://twitter.com/tuakdotsol/status/2105105417760391258
257•rzk•18h ago•192 comments

Halfspace experimental IDE for solid modeling with distance fields

https://www.mattkeeter.com/projects/halfspace/
87•luu•7h ago•7 comments

5x faster Edge Functions: V8 isolates to Firecracker MicroVMs

https://www.netlify.com/blog/edge-functions-firecracker-microvms/
131•jbott•9h ago•50 comments

California bans child marriage, a practice still legal in 32 US states

https://www.bbc.com/news/articles/c6rm9mnn0w3eo
54•dabinat•1h ago•52 comments

A brief history of the Bloomberg terminal

https://spectrum.ieee.org/bloomberg-terminal
235•rbanffy•13h ago•96 comments

Before pixels: Modular industrial dashboards

https://unsung.aresluna.org/before-pixels-modular-industrial-dashboards/
61•leephillips•8h ago•13 comments

CHOMPI portable sampler instrument is now open-source (hardware and software)

https://www.chompiclub.com/opensource
52•lashkari•10h ago•10 comments

cmart's Hardcore Coworking

https://cmart.blog/hardcore-coworking/
5•zdw•1d ago•0 comments

Doing a Machine Learning PhD While Working in Japan

https://www.tokyodev.com/articles/doing-a-machine-learning-phd-while-working-in-japan
54•pwim•20h ago•20 comments

I could've accessed 17T Microsoft records

https://blog.faav.net/how-i-couldve-accessed-17-trillion-microsoft-records
262•luispa•2d ago•112 comments

What TLA+ can and can't check

https://buttondown.com/hillelwayne/archive/what-tla-can-and-cant-check/
152•b-man•13h ago•34 comments

Show HN: Lathoa, a math app for kids where the AI is wrong on purpose

https://lathoa.ai/en
39•thanouil1411•13h ago•15 comments

Great Dirhombicosidodecahedron ("Miller's Monster")

https://www.software3d.com/MillersMonster.php
46•cobbzilla•10h ago•3 comments

The last time my family was replaced by technology

https://manuel.darcemont.fr/posts/the-last-time-my-family-was-replaced-by-technology/
194•megalomanu•14h ago•444 comments

Functional Ultrasound Imaging (fUSI) from scratch

https://www.neuroai.science/p/functional-ultrasound-imaging-from
31•pminimax•7h ago•7 comments

Coltrane's Tone Circle

https://jtomschroeder.com/blog/tone-circle/
37•jtomschroeder•12h ago•15 comments

Bild AI (YC W25) Is Hiring a Founding Product Engineer

https://www.ycombinator.com/companies/bild-ai/jobs/dAbC3Gd-founding-product-engineer
1•rooppal•10h ago

Jevotron: Multiple Jev integrations from the command line

https://cmungall.github.io/jevotron/
3•chrismungall•1h ago•0 comments

Burning Man death rates – A short lesson in statistics

https://ihavenapkinthoughts.substack.com/p/burning-man-death-rates-a-short-lesson
109•viraj_shah•2d ago•140 comments

Responsible Release of AI-Generated Mathematics

https://agmai.org/general-sep29/
82•aureianimus•1d ago•102 comments
Open in hackernews

Show HN: Yantra – an LALR(1) parser generator for C++

https://github.com/TantrixAuto/yantra
6•renjipanicker•1h ago
Yantra is a C++ parser generator: lexer, parser, and AST walker all generated from one tool. It builds the whole AST first, then walks it.

Most LALR parser generators (Yacc, Bison, Lemon) run your semantic actions during parsing, as each rule reduces, bottom-up.

That means at the time a rule's action runs, you don't yet know what its parent looks like. This pushes a lot of grammars toward hand-built AST classes and a separate walking pass whenever you need to look ahead into siblings or defer a decision until more context is available.

On the other hand, Yantra always builds the whole AST first, then walks it top-down in a separate pass, calling your semantic actions as it goes. A parent rule's action can run before its children are visited.

A single grammar can define more than one walker. For example, one that emits C++, another that emits Java, from the same parse. The AST and the walker classes are both generated for you.

A small example (full version, with compile commands, in the README):

  start := expr;

  expr := expr(a) PLUS expr(b)
  %{
      std::cout << "Adding" << std::endl;
  %}

  expr := NUMBER(N)
  %{
      std::cout << "Number: " << N.text << std::endl;
  %}

  NUMBER := "\d+";
  PLUS := "\+";
  WS := "\s+"!;
Running this on "1 + 2 + 3" prints:

  Adding
  Number: 1
  Adding
  Number: 2
  Number: 3
The outer "Adding", the root of the tree, prints first, before either of its children. That's only possible because the whole tree exists before any action runs.

Some other things about it: integrated lexer with mode support (for things like nested comments), an optional amalgamated single-file output mode with a generated main(), C++23, MIT licensed.

It's young (0.5.1, pre-1.0) and single-maintainer, so treat it as early. I'd rather know what breaks than have it look more finished than it is.

Known gaps are listed at https://github.com/TantrixAuto/yantra/blob/main/docs/known_l...

Repo: https://github.com/TantrixAuto/yantra

Feedback and questions are all welcome. I'll be around.