frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Morsel – an open-source, web-based visual Modelica editor

https://morsel.modelscript.org
1•nachawati•1h ago
Hey HN,

I’m excited to share Morsel, a modern, web-based visual editor for Modelica that I've been working on. It's part of the broader ModelScript compilation, analysis, and visualization framework.

Modelica is a powerful, object-oriented language for equation-based modeling of complex physical systems (mechanical, electrical, electronic, hydraulic, thermal, control, etc.). However, tooling in the Modelica ecosystem has historically been heavy, proprietary, or desktop-bound. I built Morsel to bring a fast, beautiful, and accessible Modelica modeling experience right to the browser.

Key Features ============

- Interactive Diagrams: High-performance visualization of Modelica connections and topologies using AntV X6.

- Synchronized Code Editor: Real-time, two-way synchronization between the visual diagram and the underlying Modelica code (powered by Monaco Editor).

- Intelligent Properties Panel: Easily edit component parameters, modifiers, and annotations through a responsive UI that directly manipulates the AST.

- Library Explorer: Navigate complex Modelica libraries (like the Modelica Standard Library) via an intuitive hierarchical tree view.

Under the Hood: ModelScript ===========================

Morsel is powered by ModelScript, a custom compilation engine written in TypeScript. ModelScript brings its own modern toolchain to Modelica:

- Custom Tree-Sitter Grammar: Fast and precise parsing for editor integrations and tooling.

- Semantic Analysis: Full scope and name resolution for complex Modelica hierarchies.

- Model Flattening: Translating hierarchical component architectures into flat Differential Algebraic Equations (DAEs).

Why I built this ================

I wanted an open-source (AGPL-3.0), modern front-end that could run entirely in the browser (or as a local web app) without sacrificing the power of the Modelica language. It's built on a modern stack (React, React Router, Vite, Tailwind, GitHub Primer) to provide a premium, responsive developer experience.

I am still actively developing Morsel and ModelScript and would love your feedback, bug reports, and contributions!

GitHub Repo: https://github.com/modelscript/modelscript

I'd be happy to answer any questions about the architecture, Modelica parsing, the tree-sitter grammar, or anything else!

Cracking the Python Monorepo

https://gafni.dev/blog/cracking-the-python-monorepo/
1•amcvitty•1m ago•0 comments

Unlocking secret ThinkPad functionality for emulating USB devices (2024)

https://xairy.io/articles/thinkpad-xdci
1•transpute•1m ago•0 comments

Canadian government demands safety changes from OpenAI

https://www.engadget.com/ai/canadian-government-demands-safety-changes-from-openai-204924604.html
1•whynotmaybe•2m ago•0 comments

Show HN: Usplus.ai – Build a company of AI agents and execute work autonomously

https://usplus.ai:443/
1•usplusAI•7m ago•0 comments

What If Intelligence Didn't Evolve? From Noise to Programs in Brainfuck [video]

https://www.youtube.com/watch?v=M2iX6HQOoLg
1•guld•7m ago•1 comments

Itwillsync – Sync any terminal-based coding agent to your phone over LAN

https://github.com/shrijayan/itwillsync
1•shrijayan•11m ago•1 comments

What Your DNA Reveals about the Sex Life of Neanderthals

https://www.nytimes.com/2026/02/26/science/human-evolution-neanderthal-sex.html
1•Hooke•11m ago•0 comments

What happened after Elon Musk took the Russian army offline

https://www.politico.com/news/2026/02/25/elon-musk-russian-army-starlink-00793742
3•GMoromisato•12m ago•0 comments

Block (Square) plans to lay off nearly half its staff in embrace of AI

https://www.morningstar.com/news/marketwatch/20260226254/block-plans-to-lay-off-nearly-half-its-s...
4•pwthornton•13m ago•0 comments

Security Boundaries in Agentic Architectures

https://vercel.com/blog/security-boundaries-in-agentic-architectures
1•umairnadeem123•13m ago•0 comments

New Path to Battery-Grade Lithium Uses Electrochemistry

https://spectrum.ieee.org/mangrove-lithium-refining-ev-bottleneck
1•defrost•14m ago•0 comments

Windows XP Bliss hill looking almost identical to original

https://old.reddit.com/r/windows/comments/1r8iper/windows_xp_bliss_hill_looking_almost_identical_to/
1•gnabgib•14m ago•0 comments

We built Depot Wrapped 2025

https://depot.dev/blog/how-we-built-depot-wrapped
4•Charmizard•15m ago•0 comments

A Comparative Security Analysis of Three Cloud-Based Password Managers

https://eprint.iacr.org/2026/058
1•u1hcw9nx•16m ago•2 comments

If AI Is Doing the Investigation, Version the Investigation

https://wingedpig.com/2026/02/26/if-ai-is-doing-the-investigation-version-the-investigation/
1•markfrwc•16m ago•2 comments

Launch GIDE v1.0 AI Code Editor

https://generativeide.com/
2•rohangnaneshjh•17m ago•0 comments

Show HN: oosh – Annotation-driven CLI framework for Bash

https://github.com/bruno-de-queiroz/oosh
1•brunodequeiroz•17m ago•0 comments

VCs and Top Programmers Tackle Open Source Funding Issues Permanently

https://techcrunch.com/2026/02/26/a-vc-and-some-big-name-programmers-are-trying-to-solve-open-sou...
1•birdculture•18m ago•0 comments

Show HN: OpenClaw skills degrade agent safety

https://github.com/faberlens/hardened-skills
1•shadab_nazar•21m ago•1 comments

Solving email problems for startups and SaaS

1•peter_joe•21m ago•0 comments

Mercedes Just Put Drift Mode in an SUV

https://www.thedrive.com/news/mercedes-just-put-drift-mode-in-an-suv
1•PaulHoule•22m ago•0 comments

Pi: The Minimal Agent Within OpenClaw

https://lucumr.pocoo.org/2026/1/31/pi/
1•kristianpaul•26m ago•0 comments

Bonesmashing: Inside The Extreme Looksmaxxer Technique

https://www.gq.com/story/what-is-bonesmashing-looksmaxxing-technique
1•bookofjoe•26m ago•0 comments

Yes, AI is intelligent. Prove me wrong. by Bertrwnd Meyer

https://bertrandmeyer.com/2026/02/26/yes-ai-is-intelligent-prove-me-wrong/
3•PikelEmi•27m ago•2 comments

HITL Swarm Intelligence – Making Extraction Technically Obsolete

https://github.com/m727ichael/hitl-swarm-intelligence
1•m727ichael•28m ago•2 comments

Why Chinese people spend so much on food

https://www.economist.com/finance-and-economics/2026/02/26/why-chinese-people-spend-so-much-on-food
1•ryan_j_naughton•31m ago•1 comments

Block to lay off nearly half its staff in 'deliberate and bold' embrace of AI

https://www.marketwatch.com/story/block-plans-to-lay-off-nearly-half-its-staff-in-deliberate-and-...
8•rdoherty•32m ago•1 comments

Show HN: Are they up, an open-source alternative to Downdetector

https://aretheyup.com/
1•kdickey•32m ago•0 comments

OWASP Agentic Top Mapped to Aguara Detection Rules

https://aguarascan.com/blog/owasp-agentic-top-10-mapped-to-detection-rules/
1•garagon•33m ago•0 comments

Wiretapping scandal: Spyware manufacturer sentenced to prison in Greece

https://www.heise.de/en/news/Wiretapping-scandal-Spyware-manufacturer-sentenced-to-prison-in-Gree...
1•i-con•35m ago•0 comments