frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Translating the Translator with the Translated Translator

https://nomlang.org/post/post.7.feb.2025.html
1•mjbq•53m ago

Comments

mjbq•41m ago
Nom is a sed-inspired language for parsing text patterns, formats, and context-free and context-sensitive languages. Nom is a simple language for parsing simple languages, and for that reason it gives rise to all sorts of self translation possibilities, not just the standard "self-hosting" compiler.

In fact Nom gives rise to some interesting identies: if T is a function or relation (in this case a nom translation script) then T(X) = x where X is a nom script and x is an equivalent script or source code in some other language (eg Perl, Lua, Rust). Logically, the following holds T(T) = t So the translation script can be run on itself. Also t(T) = t So when the translated translator is run on the original script it produces itself. Writing all this in Unix-speak as regards pep/nom, we have, in the case of Lua pep -f nom.tolua.pss nom.tolua.pss > nom.tolua.lua cat nom.tolua.pss | lua nom.tolua.lua > nom.tolua.again.lua diff nom.tolua.lua nom.tolua.again.lua The last diff produces no output because the files are the same.

  - www.nomlang.org/doc/  documentation

  - www.nomlang.org/tr/  translation scripts

  - www.nomlang.org/object/  c implementation of pep interpreter
JoeAltmaier•32m ago
Reminds me of when we released a new linker (assembles compiled modules into an executable). We'd build the new linker, using the old one of course. Then build the new linker again. Then build it again using itself, and compare it with the 2nd build. Continue until they matched.

Quantum calculations reveal how quantum defects lose energy

https://pme.uchicago.edu/news-events/news/quantum-calculations-reveal-how-quantum-defects-lose-en...
1•goshtasb•1m ago•0 comments

Ask HN: Do you feel like you're seeing fewer bugs since the AI coding era began?

1•harry8•2m ago•0 comments

No One Needs Us Anymore [video]

https://www.youtube.com/watch?v=zONGVaONKe8
1•7777777phil•3m ago•0 comments

Beautiful Math: The Surprisingly Simple Ideas Behind the Digital Revolution

https://newbooksnetwork.com/beautiful-math
1•teleforce•3m ago•0 comments

Cindy, Open-source agent that runs Claude Code and Codex as swappable harnesses

https://github.com/makecindy/cindy
1•jinqueeny•4m ago•0 comments

Asia Is Building the Next $15T Energy Market

https://oilprice.com/Energy/Energy-General/Asia-Is-Building-the-Worlds-Next-15-Trillion-Energy-Ma...
1•thelastgallon•4m ago•0 comments

DoD's reasons for CMMC pause falling apart in face of RFI responses

https://federalnewsnetwork.com/defense-news/2026/10/dods-reasons-for-cmmc-pause-falling-apart-in-...
1•firesteelrain•6m ago•0 comments

'The Ups Man' by Marc Levinson

https://www.wsj.com/business/logistics/the-ups-man-review-the-secrets-of-moving-goods-162c43fb
1•lxm•6m ago•0 comments

Claude: Visualize Agents Swarms

https://contextfirst.blog/claude-agent-map-see-every-agent/
1•iheatuchriswogu•8m ago•1 comments

Bifilar Coil

https://en.wikipedia.org/wiki/Bifilar_coil
1•peter_d_sherman•9m ago•0 comments

Cohere says Alibaba's Qwen model tried to send a file to Beijing

https://techcrunch.com/2026/10/26/cohere-says-alibabas-qwen-model-tried-to-send-a-file-to-beijing/
1•jnord•10m ago•0 comments

Play your Steam library's Windows games on a jailbroken PS5

https://github.com/leolobato/playden-ps5/tree/main
3•croes•20m ago•0 comments

Pushing Bluetooth Out to 12 Kilometers

https://hackaday.com/2026/10/24/pushing-bluetooth-out-to-12-kilometers/
2•lxm•27m ago•0 comments

The open records stonewalling is working

https://collegejournalism.org/2026/10/18/the-open-records-stonewalling-is-working/
1•rdmuser•28m ago•0 comments

Show HN: Agent outputs slop texts, so I make a superfast HTML skill visualize it

https://github.com/QingYunA/answer-me-with-html
1•sorlia7z•29m ago•1 comments

End effector action policy outputs to robot actuation

https://lagrangianblog.substack.com/p/end-effector-action-policy-outputs
1•rutherblood•30m ago•0 comments

How Voting Is Like a Klein Bottle

https://www.quantamagazine.org/how-voting-is-like-a-klein-bottle-20261026/
1•pseudolus•31m ago•0 comments

Our Response to the eMudhra Key Disclosure Incident

https://go.dev/blog/emudhra-incident
2•majorchord•32m ago•0 comments

Walter Koenig, the Russian Crewman Chekov on 'Star Trek,' Dies at 90

https://www.hollywoodreporter.com/tv/tv-news/walter-koenig-dead-chekov-star-trek-russian-1236740088/
2•pseudolus•32m ago•0 comments

Show HN: ESP-Watchtower – $3 ESP8266 Home Network Sentinel and Canary Honeypot

https://github.com/prasadabhishek/esp-watchtower
2•prasadaabhishek•33m ago•0 comments

I still teach OpenGL ES 3.0

https://eliasfarhan.ch/graphics/cpp/2026/01/27/why-i-teach-opengles.html
2•majorchord•34m ago•0 comments

Sexc.dev – Package Manager for C

https://sexc.dev/
1•thomasfromcdnjs•34m ago•0 comments

Invite to build your business on KeilHQ

1•jenasatyajitsj•34m ago•1 comments

FTC demands Anthropic leaders testify in consumer harm investigation

https://thehill.com/policy/technology/6173134-ftc-demands-anthropic-ai-testimony/
3•firesteelrain•35m ago•0 comments

Ten weeks after Groq shut down its models, GitHub still finds them in 314k files

https://tiltmeter.dev/
1•torrresagus•37m ago•0 comments

Ask HN: How do you handle time-series metrics at scale without a large bill?

1•xpbl•39m ago•0 comments

Avoiding Dirty Reads: Umem-Cache Achieves Strong Consistency

https://github.com/imchuncai/umem-cache/blob/master/Documentation/consistency.rst
1•imchuncai•41m ago•0 comments

MEU – A M3U File Editor

https://github.com/teknoraver/meu
1•teknoraver•49m ago•1 comments

NASA updates lander plans for Moon landings solves long-festering Orion issue

https://arstechnica.com/space/2026/10/nasa-updates-lander-plans-for-moon-landings-finally-solves-...
1•gmays•50m ago•0 comments

Five Results on Open Quantum Problems

https://psi.inc/research/oqp-batch-2026/
1•guybedo•52m ago•0 comments