frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

ForgeLang – an interpreted language with human-like debugging ( expect)

https://github.com/FrostByte232/ForgeLang
2•ForgeLang•2h ago

Comments

ForgeLang•2h ago
Hey everyone,

After months of coding, I finally put my language Forge out into the world. It’s an interpreted language I built from scratch in C++, and the part I’m most proud of is a feature called (@expect)

(@expect) lets you write symbolic assertions that don’t just crash when something goes wrong, they actually explain what happened, suggest fixes, and can even recover automatically (still working out kinks). Here’s an example: ``` let x = 3 let y = 10

@expect(x > 5 && y < 5, "x and y must be in range") else: { println("Recovering: adjusting x and y") x = 6 y = 4 } ``` If that fails, Forge prints a full analysis of what went wrong (it even breaks down composite conditions like && or ||), shows the deltas, and can run a recovery block. It also logs a summary at the end of your program.

I wanted debugging to feel less like punishment and more like a conversation, something that helps you understand why a condition failed and how to recover from it.

It’s open source, and you can check it out here: https://github.com/FrostByte232/ForgeLang

I’d love feedback, ideas, or even wild feature suggestions. Right now it supports boolean expectations, recovery blocks, and composite condition analysis.

I know it’s still small, but this project has been pretty fun. I’d really appreciate any feedback, code reviews, stars, or just opinions.

Thanks for reading!

Show HN: Cinematic pep talks to help you overcome any obstacle

https://apps.apple.com/us/app/dialed-ai-motivated-in-60s/id6478706376
1•marlongrandy•1m ago•0 comments

How to Build a Solar Powered Electric Oven

https://solar.lowtechmagazine.com/2025/10/how-to-build-a-solar-powered-electric-oven/
1•louwrentius•1m ago•0 comments

'Like losing a friend': farewell to Marc Maron's pioneering podcast WTF

https://www.theguardian.com/tv-and-radio/2025/oct/13/like-losing-a-friend-farewell-to-marc-marons...
1•n1b0m•2m ago•0 comments

The Reason So Many Restaurants Taste the Same

https://www.youtube.com/watch?v=rXXQTzQXRFc
1•indigodaddy•2m ago•0 comments

Django Bulk_update Memory Issue

https://blog.pecar.me/django-bulk-update-memory-issue
1•gslin•3m ago•0 comments

Piece of Art a Day – Newsletter

https://floralanxiety.substack.com/p/carnation-lily-lily-rose
1•yuiegi•3m ago•1 comments

CONNECT-IP HTTP Method

https://www.ietf.org/archive/id/draft-cms-masque-connect-ip-00.html
1•teleforce•3m ago•0 comments

Servers with Personality

https://caolan.uk/links/servers/
2•ibobev•5m ago•0 comments

Inverting Matrices and Bilinear Functions

https://www.johndcook.com/blog/2025/10/12/invert-mobius/
1•ibobev•6m ago•0 comments

HighSchool Dances Going Extinct? NJ School Cancels Dance Due to Lack of Interest

https://www.insideedition.com/media/videos/high-school-dances-going-extinct-nj-school-cancels-dan...
3•lando2319•6m ago•0 comments

Generate random points inside a sphere

https://www.johndcook.com/blog/2025/10/11/ball-rng/
1•ibobev•6m ago•0 comments

Mudsill theory

https://en.wikipedia.org/wiki/Mudsill_theory
1•CGMthrowaway•11m ago•0 comments

The Staggering Per-Employee Value of Nvidia

https://www.investopedia.com/here-s-the-staggering-per-employee-value-of-nvidia-11749076
1•SerCe•13m ago•0 comments

Explicit: Validation and documentation library for Rails APIs with MCP support

https://github.com/luizpvas/explicit
1•luizpv9•13m ago•0 comments

StreamingVLM: Real-Time Understanding for Infinite Video Streams

https://arxiv.org/abs/2510.09608
2•badmonster•19m ago•0 comments

Shift towards debt raises potential fallout from the data centre spending spree

https://www.ft.com/content/50f6a373-f7b9-455e-b8ab-129d312822c1
3•zerosizedweasle•22m ago•1 comments

Mokyr, Aghion and Howitt Win 2025 Nobel in Economics

https://www.nobelprize.org/prizes/economic-sciences/2025/press-release/
2•jonbaer•23m ago•0 comments

Hackers can steal 2FA codes and private messages from Android phones

https://arstechnica.com/security/2025/10/no-fix-yet-for-attack-that-lets-hackers-pluck-2fa-codes-...
7•sipofwater•31m ago•3 comments

Prompt Injection Game

https://www.integrated.io/
1•cnnaeto•35m ago•0 comments

A React admin dashboard that doesn't look boring

https://brutadmin.com
1•devarifhossain•37m ago•1 comments

4chan fined $26K for refusing to assess risks under UK Online Safety Act

https://arstechnica.com/tech-policy/2025/10/4chan-fined-26k-for-refusing-to-assess-risks-under-uk...
2•trothamel•39m ago•1 comments

OAuth Scopes Explained: Building Secure Third-Party Access for Your Platform

https://fusionauth.io/blog/how-to-design-oauth-scopes
1•mooreds•39m ago•0 comments

How do aircraft systems communicate? (ARINC 429) [video]

https://www.youtube.com/watch?v=mhBya3JYteQ
1•quux•40m ago•0 comments

Shadowing turned a whiteboard sketch into organizational change

https://www.tsoon.com/posts/first-hand-shadowing/
1•mooreds•40m ago•0 comments

Facebook's Job Board Returns as AI Threatens Entry-Level Work

https://www.pcmag.com/news/facebooks-job-board-returns-as-ai-threatens-entry-level-work
3•aspenmayer•48m ago•1 comments

Rooms and mazes: A procedural dungeon generator (2014)

https://journal.stuffwithstuff.com/2014/12/21/rooms-and-mazes/
2•shoo•54m ago•0 comments

Nitro: Tiny but flexible init system and process supervisor

https://github.com/leahneukirchen/nitro
3•todsacerdoti•55m ago•0 comments

DDoS Botnet Aisuru Blankets US ISPs in Record DDoS

https://krebsonsecurity.com/2025/10/ddos-botnet-aisuru-blankets-us-isps-in-record-ddos/
21•JumpCrisscross•59m ago•7 comments

Tesla owners join class action lawsuit over FSD in Australia

https://electrek.co/2025/10/13/thousands-of-tesla-owners-join-class-action-lawsuit-over-full-self...
10•TheAlchemist•1h ago•0 comments

There Are No Programmers in Star Trek

https://www.i-programmer.info/news/99-professional/18368-there-are-no-programmers-in-star-trek.html
9•birdculture•1h ago•9 comments