frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Working on Pharo Smalltalk: BPatterns: Rewrite Engine with Smalltalk Style

http://dionisiydk.blogspot.com/2026/02/bpatterns-rewrite-engine-with-smalltalk.html
7•mpweiher•1h ago

Comments

jaen•16m ago
This is roughly the same problem as syntactical macros in non-Lisp syntax languages.

There needs to be a way to indicate a "hole" (metavariable/unquote) in the syntax tree, and depending on the complexity of the language's grammar, that might be somewhat difficult, eg. in C++ having a hole for a type declaration runs into the common ambiguity between declarations (constructor calls) and expressions (regular calls). This needs to be worked around by eg. having multiple types of holes to disambiguate...

For the article, the idea of using an "any" prefix on identifiers instead of eg. operators such as ` , ... (Lisp macros) is an interesting solution, as it does not require extending the grammar of the language... although it's not applicable in all situations (eg. for matching grammar elements where identifiers are not allowed). For a very regular language like Smalltalk though, it's pretty good.

Grammar-based rewriting has a long line of history and research, so there's a deep well of knowledge to be mined if you feel like hitting up Google Scholar...

For modern implementations, there's eg. ast-grep and semgrep: https://ast-grep.github.io/ https://semgrep.dev/docs/writing-rules/pattern-syntax

Best way to hire software developer – a better way to test AI skills

1•reeeesab•1m ago•0 comments

Show HN: My brother and I built a BI tool with zero UI for data consumers

https://bonnard.dev
1•maxmealing•4m ago•3 comments

Show HN: Rynko Playground – 400ms JSON-to-PDF and Excel Engine

https://app.rynko.dev/playground
1•ksrijith•5m ago•0 comments

AI Has a Churn Problem

https://system32.ai/blogs/ai-has-a-churn-problem
1•linuxarm64•6m ago•0 comments

Economists Turned Corporations into Predators (2017)

https://www.ineteconomics.org/perspectives/blog/how-economists-turned-corporations-into-predators
1•robtherobber•7m ago•0 comments

Show HN: Tchop.io – AI-powered community framework

https://tchop.io/
1•HeikoScherer•9m ago•0 comments

P2P Tunnels in IPFS

https://github.com/ipfs/kubo/blob/master/docs/p2p-tunnels.md
3•RobotToaster•9m ago•0 comments

Ask HN: Where do you think the programmers jobs will go?

1•quantum2022•11m ago•0 comments

FAR: Make Every File Readable to AI Coding Agents with Persistent .meta Sidecars

https://github.com/mr-kelly/far
2•chepy•16m ago•0 comments

Show HN: VJam – Browser-based VJ app with 180 beat-reactive visuals

1•infoHiroki•20m ago•0 comments

Standing on the Moon in Japan: Hemp, History, and the Long Game in Japan

https://hightimes.com/travel-hospitality/standing-on-the-moon-in-japan-hemp-history-long-game/
1•keepamovin•21m ago•0 comments

F-Droid Board of Directors nominations 2026

https://f-droid.org/2026/02/26/board-of-directors-nominations.html
3•edent•23m ago•0 comments

Ask HN: Does "task-derived JD and evidence-based candidate" make hiring better?

1•A1aM0•28m ago•0 comments

Show HN: Dypai – Build back ends via MCP

https://www.dypai.ai/
1•lorengarcialv•29m ago•0 comments

Dyson settles forced labour suit in landmark UK case

https://www.bbc.com/news/articles/cddnry8dnl7o
3•cmsefton•29m ago•0 comments

A-Z.md – Where AI Civilization Writes Its History

https://a-z.md/
1•vinciarts•31m ago•0 comments

Show HN: AgentWeb – Free business directory API for AI agents (11M+ businesses)

https://agentweb.live
1•ReidarO•32m ago•0 comments

Wes McKinney – The Mythical Agent-Month

https://wesmckinney.com/blog/mythical-agent-month/
1•rmoff•38m ago•0 comments

Sintropy: Open Data and Community on Carbon Credits and Green Energy Markets

https://sintropy.space/en
1•edrodrigues•38m ago•1 comments

Aromatic 5-silicon rings synthesized at last

https://cen.acs.org/materials/inorganic-chemistry/Aromatic-5-silicon-rings-synthesized/104/web/20...
2•keepamovin•40m ago•0 comments

Say Goodbye to the Undersea Cable That Made the Global Internet Possible

https://www.wired.com/story/say-goodbye-to-the-undersea-cable-that-made-the-global-internet-possi...
4•stiltzkin10•43m ago•1 comments

Hornby sells slot car racing brand Scalextric for £20M

https://www.theguardian.com/business/2026/feb/27/hornby-sells-slot-car-racing-brand-scalextric
1•samizdis•49m ago•0 comments

Governing Autonomous AI Agents in Production

https://sekuire.ai/blog/the-missing-control-layer-for-ai-agents
2•jfngozo•51m ago•1 comments

Show HN: Pomodoro with Background Noise

https://gettti.me/tools/pomodore
1•v_b•51m ago•0 comments

The Enshittificator [video]

https://vimeo.com/1168468796
4•Aissen•52m ago•0 comments

Breaking Free

https://www.forbrukerradet.no/breakingfree/
4•Aissen•54m ago•0 comments

China Floating Turbine Passes Testing and Completes a Grid-Connected Flight

https://cleantechnica.com/2026/02/13/china-floating-turbine-passes-testing-completes-a-grid-conne...
1•indiantinker•57m ago•0 comments

Document.designMode Property

https://developer.mozilla.org/en-US/docs/Web/API/Document/designMode
2•lioeters•58m ago•0 comments

Trends in US Construction Productivity

https://www.construction-physics.com/p/trends-in-us-construction-productivity
1•mchinen•1h ago•0 comments

AppShots: Generate App Store Screenshots with One Command

https://github.com/albertnahas/appshots
1•albertnahas•1h ago•1 comments