frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: MPL – A Python DSL that transpiles logic to Pine Script

https://github.com/hakanovski/MPL
1•hknyrgnc•1h ago

Comments

hknyrgnc•1h ago
Hi HN,

I’m the author of MPL. I’ve been working on LLM evaluation and QA architectures for years, but this is my passion project: bridging "Esoteric Intent" with actual executable logic.

*The Problem:* Writing TradingView strategies (Pine Script) often involves repetitive boilerplate code. I wanted a way to define strategy logic abstractly in a Python environment and have the code generated procedurally.

*The Solution:* MPL is an interpreted language written in Python (3.8+). It features: 1. *Custom Compiler Architecture:* A hand-rolled Lexer and Recursive Descent Parser (I didn't use external AST tools to keep it educational and dependency-free). 2. *Deterministic Transpilation:* The "Vassago" module takes strategy parameters (RSI limits, Trend length) and compiles them into valid, error-free Pine Script v6. 3. *Experimental Flow Control:* As a constraint experiment, I implemented "Cycle Protocols" (fixed iteration blocks based on 3-6-9 harmonics) instead of standard loops.

It’s open source and fully installable via pip.

Docs: https://hakanovski.github.io/MPL/ Proof of Concept (Live Output): https://www.tradingview.com/script/QOoCRPSF-Vassago-Tesla-Ex...

Happy to answer any questions about the parser implementation!

Expanding Age Assurance to Australia

https://old.reddit.com/r/RedditSafety/comments/1phjf63/expanding_age_assurance_to_australia/
1•ChrisArchitect•1m ago•1 comments

Data center construction moratorium is gaining steam

https://www.theverge.com/news/840883/data-center-moratorium-letter-congress
1•fleahunter•2m ago•0 comments

One Black Labor Union Changed American History

https://jacobin.com/2025/12/pullman-strike-bscp-randolph-civil-rights
1•robtherobber•2m ago•0 comments

Claude on Jira: What's the Big Deal?

https://techcrunch.com/2025/12/08/claude-code-is-coming-to-slack-and-thats-a-bigger-deal-than-it-...
1•dataspun•2m ago•0 comments

Hegseth: Today, we are unleashing GenAI.mil

https://GenAi.mil
2•kschaul•4m ago•0 comments

Psychometric Jailbreaks Reveal Internal Conflict in Frontier Models

https://arxiv.org/abs/2512.04124
2•mooreds•5m ago•0 comments

Céu: Language for Structured Synchronous Reactive Programming

http://www.ceu-lang.org/
1•adamnemecek•7m ago•0 comments

Cloudflare pages builds are down

https://www.cloudflarestatus.com/incidents/2xbp653f70bv
1•whalesalad•7m ago•0 comments

Workshop Annoucement: Retro AI: Archeologies of Artificial Intelligence

https://docs.google.com/document/d/1f8pwjvHzq4XyQDQ4NNOOh_3-LTfvvs-I1t7XaLtYknI/edit
1•abrax3141•7m ago•1 comments

Taskwarrior 2.x fork with support for plaintext sync

https://github.com/linuxcaffe/taskwarrior-2.x
1•walterbell•8m ago•0 comments

I Used 4k Paid Bug Bounties to Build a CLI-First Security Agent

https://instavm.io/blog/analysed-4000-to-create-security-agent-cli
1•mkagenius•8m ago•0 comments

Real power is deciding when to step down

https://www.bloomberg.com/news/features/2025-12-09/argentina-s-richest-man-marcos-galperin-on-ste...
2•DaveZale•8m ago•2 comments

The Point of No Return for the Warm Water Atlantic Current Is Coming Up Fast

https://neuburger.substack.com/p/the-point-of-no-return-for-the-warm
1•ThomasNeu•9m ago•0 comments

You Don't Need an ORM [video]

https://www.youtube.com/watch?v=XEJxk5VUSTs
1•todsacerdoti•10m ago•0 comments

A brief history of specifiers and protocols

https://macwright.com/2025/12/08/module-specifiers-and-protocols
1•surprisetalk•11m ago•0 comments

Building Thread-safe Async Primitives in 150 lines of Rust

https://amit.prasad.me/blog/async-oneshot
1•surprisetalk•11m ago•0 comments

The ABCD Framework for Feedback

https://cassidoo.co/post/abcd-feedback/
1•surprisetalk•11m ago•0 comments

The Equational Theories Project: Collaborative Mathematical Research at Scale

https://terrytao.wordpress.com/2025/12/09/the-equational-theories-project-advancing-collaborative...
1•matt_d•13m ago•0 comments

Show HN: Detail, a Bug Finder

https://detail.dev/
3•drob•15m ago•0 comments

Show HN: Quantica: A Hybrid Classical–Quantum Programming Language

https://zenodo.org/records/17852707
1•gurukasi2006•19m ago•0 comments

User Inyerface – A worst-practice UI experiment

https://userinyerface.com/
1•LorenDB•19m ago•0 comments

Show HN: AI birthday invitations and free online RSVP (built as a parent)

https://birthdayinvitation.ai
1•nedhuang•19m ago•1 comments

Rust RFC Proposes a Security Tab on Crates.io for RustSec Advisories

https://socket.dev/blog/rust-rfc-proposes-a-security-tab-on-crates-io-for-rustsec-advisories
1•feross•20m ago•0 comments

Study: Slower company acquisition pace can boost corporate values

https://news.ucr.edu/articles/2025/12/08/slower-company-acquisition-pace-can-boost-corporate-values
2•giuliomagnifico•22m ago•0 comments

Frameworks for Understanding Databases

https://www.bitsxpages.com/p/frameworks-for-understanding-databases
3•agavra•23m ago•0 comments

64KB Demoscene – The Timeless (2014) [video]

https://www.youtube.com/watch?v=ie4u2i_5OdE
1•YesBox•24m ago•1 comments

How Private Equity Is Changing Housing

https://www.theatlantic.com/ideas/2025/12/private-equity-housing-changes/685138/
9•harambae•24m ago•2 comments

Leaving Twitter

https://thinkhuman.com/leaving-twitter/
4•jamesgill•26m ago•0 comments

Words That Make Language Models Perceive

https://arxiv.org/abs/2510.02425
2•tbruckner•26m ago•0 comments

From rejections to relocation: How to land a dev job abroad

https://relocateme.substack.com/p/from-rejections-to-relocation-mojtabas
4•andrewstetsenko•27m ago•0 comments