frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: MOL – A programming language where pipelines trace themselves

https://github.com/crux-ecosystem/mol-lang
18•MouneshK•3d ago
Hi HN,

I built MOL, a domain-specific language for AI pipelines. The main idea: the pipe operator |> automatically generates execution traces — showing timing, types, and data at each step. No logging, no print debugging.

Example:

    let index be doc |> chunk(512) |> embed("model-v1") |> store("kb")
This auto-prints a trace table with each step's execution time and output type. Elixir and F# have |> but neither auto-traces.

Other features: - 12 built-in domain types (Document, Chunk, Embedding, VectorStore, Thought, Memory, Node) - Guard assertions: `guard answer.confidence > 0.5 : "Too low"` - 90+ stdlib functions - Transpiles to Python and JavaScript - LALR parser using Lark

The interpreter is written in Python (~3,500 lines). 68 tests passing. On PyPI: `pip install mol-lang`.

Online playground (no install needed): http://135.235.138.217:8000

We're building this as part of IntraMind, a cognitive computing platform at CruxLabx. """

Comments

nivertech•2d ago
> Elixir and F# have |> but neither auto-traces.

Using dbg/2 [1]:

  # In dbg_pipes.exs
  __ENV__.file
  |> String.split("/", trim: true)
  |> List.last()
  |> File.exists?()
  |> dbg()
This code prints:

  [dbg_pipes.exs:5: (file)]
  __ENV__.file #=> "/home/myuser/dbg_pipes.exs"
  |> String.split("/", trim: true) #=> ["home", "myuser", "dbg_pipes.exs"]
  |> List.last() #=> "dbg_pipes.exs"
  |> File.exists?() #=> true
---

1. Debugging - dbg/2

https://hexdocs.pm/elixir/debugging.html#dbg-2

anonzzzies•1h ago
I should have bet more on Elixir. I did work in F# but MS really didn't seem serious enough about it, but the Elixer community keeps going strong.
qrios•1h ago
Very interesting! I'll definitely give it a try. However, the documentation link[1] isn't working at the moment (404).

[1] https://crux-ecosystem.github.io/MOL/

bb88•18m ago
This strikes me as cool to see someone build another language with python using lark, it's also possible to override the ">>" or "|" characters in python to achieve the same thing, and also you don't have to worry about the "lark" grammar.

I had a custom lark grammar I thought was cool to do something similar, but after a while I just discarded it and went back to straight python, and found it was faster my an order of magnitude.

wavemode•9m ago
> The Killer Feature: |> with Auto-Tracing. No other language has this combination

Of the languages listed, Elixir, Python and Rust can all achieve this combination. Elixir has a pipe operator built-in, and Python and Rust have operator overloading, so you could overload the bitwise | operator (or any other operator you want) to act as a pipeline operator. And Rust and Elixir have macros, and Python has decorators, which can be used to automatically add logging/tracing to functions.

It's not automatic for all functions, though having to be explicit/selective about what is logged/traced is generally considered a good thing. It's rare that real-world software wants to log/trace literally everything, since it's not only costly (and slow) but also a PII risk.

News publishers limit Internet Archive access due to AI scraping concerns

https://www.niemanlab.org/2026/01/news-publishers-limit-internet-archive-access-due-to-ai-scrapin...
379•ninjagoo•6h ago•235 comments

uBlock filter list to hide all YouTube Shorts

https://github.com/i5heu/ublock-hide-yt-shorts/
560•i5heu•8h ago•185 comments

My smart sleep mask broadcasts users' brainwaves to an open MQTT broker

https://aimilios.bearblog.dev/reverse-engineering-sleep-mask/
333•minimalthinker•10h ago•168 comments

IBM tripling entry-level jobs after finding the limits of AI adoption

https://fortune.com/2026/02/13/tech-giant-ibm-tripling-gen-z-entry-level-hiring-according-to-chro...
225•WhatsTheBigIdea•1d ago•103 comments

Ooh.directory: a place to find good blogs that interest you

https://ooh.directory/
432•hisamafahri•12h ago•118 comments

Zvec: A lightweight, fast, in-process vector database

https://github.com/alibaba/zvec
64•dvrp•1d ago•14 comments

Instagram's URL Blackhole

https://medium.com/@shredlife/instagrams-url-blackhole-c1733e081664
66•tkp-415•1d ago•11 comments

Show HN: Off Grid – Run AI text, image gen, vision offline on your phone

https://github.com/alichherawalla/off-grid-mobile
27•ali_chherawalla•3h ago•6 comments

5,300-year-old 'bow drill' rewrites story of ancient Egyptian tools

https://www.ncl.ac.uk/press/articles/latest/2026/02/ancientegyptiandrillbit/
66•geox•3d ago•2 comments

Flood Fill vs. The Magic Circle

https://www.robinsloan.com/winter-garden/magic-circle/
29•tobr•3d ago•8 comments

Can my SPARC server host a website?

https://rup12.net/posts/can-my-sparc-server-host-my-website/
15•e145bc455f1•4d ago•15 comments

Amsterdam Compiler Kit

https://github.com/davidgiven/ack
96•andsoitis•8h ago•22 comments

Show HN: MOL – A programming language where pipelines trace themselves

https://github.com/crux-ecosystem/mol-lang
18•MouneshK•3d ago•5 comments

Discord: A case study in performance optimization

https://newsletter.fullstack.zip/p/discord-a-case-study-in-performance
47•tylerdane•1d ago•28 comments

The consequences of task switching in supervisory programming

https://martinfowler.com/fragments/2026-02-13.html
35•bigwheels•1d ago•10 comments

Colored Petri Nets, LLMs, and distributed applications

https://blog.sao.dev/cpns-llms-distributed-apps/
26•stuartaxelowen•4h ago•3 comments

Launching Interop 2026

https://hacks.mozilla.org/2026/02/launching-interop-2026/
46•linolevan•1d ago•3 comments

Show HN: Sameshi – a ~1200 Elo chess engine that fits within 2KB

https://github.com/datavorous/sameshi
187•datavorous_•11h ago•53 comments

Ask HN: How to get started with robotics as a hobbyist?

155•StefanBatory•6d ago•67 comments

An AI agent published a hit piece on me – more things have happened

https://theshamblog.com/an-ai-agent-published-a-hit-piece-on-me-part-2/
643•scottshambaugh•1d ago•539 comments

The Perfect Device

https://sometimes.digital/posts/the-perfect-device/
3•surprisetalk•3d ago•0 comments

Unicorn Jelly

https://unicornjelly.com/
33•avaer•12h ago•9 comments

A review of M Disc archival capability with long term testing results (2016)

http://www.microscopy-uk.org.uk/mag/artsep16/mol-mdisc-review.html
61•1970-01-01•9h ago•63 comments

Descent, ported to the web

https://mrdoob.github.io/three-descent/
145•memalign•6h ago•31 comments

A header-only C vector database library

https://github.com/abdimoallim/vdb
59•abdimoalim•7h ago•22 comments

Show HN: Open Notes – Community Notes-style context for Discord

https://opennotes.ai/discord-bot
8•anateus•1d ago•0 comments

YouTube as Storage

https://github.com/PulseBeat02/yt-media-storage
162•saswatms•16h ago•125 comments

Vim 9.2

https://www.vim.org/vim-9.2-released.php
336•tapanjk•10h ago•143 comments

Windows NT/OS2 Design Workbook

https://computernewb.com/~lily/files/Documents/NTDesignWorkbook/
71•markus_zhang•4d ago•28 comments

How many registers does an x86-64 CPU have? (2020)

https://blog.yossarian.net/2020/11/30/How-many-registers-does-an-x86-64-cpu-have
82•tosh•12h ago•57 comments