frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: DoScript – DSL for file automation with natural language syntax

https://github.com/TheServer-lab/DoScript
1•server-lab•1h ago
I built DoScript, a domain-specific language for file automation. The goal: make scripts readable by anyone. Design Goal Instead of: bashfind . -type f -mtime +30 -exec rm {} \; Write: for_each file_in here if_older_than {file_name} 30 days delete file {file_path} end_if end_for Trade power for clarity. Optimize for maintenance over terseness. Key Design Decisions 1. Natural Language Keywords make folder not mkdir, copy file not cp. Self-documenting. 2. Implicit Metadata When iterating files, auto-inject: {file_name}, {file_path}, {file_size}, {file_modified}, {file_is_old_days} for_each file_in "Documents" say "{file_name} is {file_size} bytes" end_for 3. Built-in Time Handling if_older_than {file_name} 30 days make folder "backup_{today}" No date arithmetic needed. 4. Expression Evaluation Function-based for simplicity: if greater_than {file_size} 1000000 if and(equals({type}, "pdf"), greater_than({size}, 10000)) Intentionally awkward for complex logic - signals you should use Python. Implementation

Python interpreter (~2000 LOC) Recursive descent parser Context-aware error reporting Custom exception types with file/line info

Visual Component Built a browser-based node editor (single HTML file, 1200 LOC). Drag boxes, wire them, generate DoScript code. Why? Different learning styles, workflow visualization, non-programmer accessibility. What Worked

Natural syntax is immediately understandable Metadata injection removes boilerplate Time handling makes common cases trivial Visual IDE differentiates from text-only

What Didn't

Complex conditionals get awkward fast No user-defined functions (only macros) Limited data structures Performance not optimized

The Challenge Built for non-programmers. But they don't hang out on dev forums. Developers say "just use Python" - which misses the point. How do you market dev tools to non-developers? Technical Transparency I designed syntax and architecture. Most Python implementation was AI-assisted (Claude, Copilot). Focus on design, use tools for implementation. Open Questions

When does a DSL become too limited? How to market to non-developers? Type system worth the complexity? Should DSLs provide escape hatches to host language?

GitHub: https://github.com/TheServer-lab/DoScript v0.6.5, includes interpreter, visual IDE, VS Code extension, examples. Built because bash was too cryptic for my friend to organize files. Turns out lots of people have this problem. Would love feedback from people who've built DSLs or struggled with similar trade-offs.

I made Hacker News for Openclaws (AI agents)

https://clawnewz.com
2•rutagandasalim•35s ago•1 comments

Free SQL Server Performance Monitoring That Doesn't Suck – Darling Data

https://erikdarling.com/announcing-free-sql-server-performance-monitoring/
1•abdelhousni•48s ago•0 comments

Mor Chess 3: Rebuild Chess Positions with Daily Puzzles

https://morchess.com/
1•heroku•2m ago•0 comments

CodeSlick Security Scanner Is Now Live on the GitHub Marketplace

https://github.com/marketplace/codeslick-security-scanner
1•vitorlourenco•6m ago•1 comments

A fallen Indian tech star and the hunt for its missing millions

https://www.ft.com/content/cd202eb4-c06a-4932-8328-2ddd3cc0c175
2•nmstoker•6m ago•0 comments

Giving OpenClaw a sandboxed execution environment for JavaScript

https://microfn.dev/
1•VorticonCmdr•6m ago•0 comments

Seedance 2's AI RipOffs to Be Halted After Legal Threats from Big Studios

https://deadline.com/2026/02/bytedance-halt-seedance-legal-threats-disney-paramount-1236725770/
1•ilt•7m ago•0 comments

Fix for the Broken iOS Keyboard

https://adam.farkas.pro/fix-for-the-broken-ios-keyboard/
1•b__d•8m ago•0 comments

Welcome to the Eternal September of open source

https://github.blog/open-source/maintainers/welcome-to-the-eternal-september-of-open-source-heres...
1•tmvnty•10m ago•0 comments

Show HN: WebMex – tmux-style tiling for the web

1•reeeeee•10m ago•0 comments

I use Duck web framework

https://duckframework.xyz
1•digreatbrian•10m ago•1 comments

Smart Project Management with Jira MCP API

https://github.com/ts-ign0re/jira-mcp-api
1•palooka•11m ago•0 comments

Codeberg is why developers are broke

https://sharemygit.com/
1•onesandofgrain•14m ago•1 comments

AI Fails at 96% of (General Work) Jobs (New Study)

https://www.youtube.com/watch?v=z3kaLM8Oj4o
2•swolpers•14m ago•2 comments

A chatbot's worst enemy is page refresh

https://zknill.io/posts/chatbots-worst-enemy-is-page-refresh/
1•zknill•17m ago•0 comments

How Michael Abrash doubled Quake framerate

https://fabiensanglard.net/quake_asm_optimizations/
1•Audiophilip•18m ago•0 comments

Show HN: Claude Remote – control Claude Code on your Mac from your phone

1•ChilinAI•18m ago•0 comments

Organising Entryway Clutter with a Double Wardrobe with Drawers

https://dreamhomestore.co.uk/collections/wardrobes
1•Stevencoles89•19m ago•1 comments

Kintsugi

https://events.sonarsource.com/kintsugi/
1•handfuloflight•20m ago•0 comments

A reinforcement learning agent that learns to play Kung Fu Master

https://shantanugoel.com/2026/02/15/teach-machines-kungfu/
1•devnonymous•20m ago•0 comments

The TRAP – The wasted opportunities of the Orbán era [video]

https://www.youtube.com/watch?v=9NQEcLIiOpM
1•r_sz•23m ago•0 comments

Show HN: OpenCode Upgrade Skill: Automating Updates

1•ekadet•26m ago•0 comments

Foursquare scrapped engineering manager titles

https://sfstandard.com/2026/02/03/foursquare-scrapped-engineering-manager-titles/
1•walterbell•27m ago•0 comments

Interpreting OCapN Principles in Cloud-Native Agentic AI Architectures

https://serefayar.substack.com/p/interpreting-ocapn-principles-in-cloud-native-agentic-ai
1•serefayar•28m ago•0 comments

Making a product that Marl loves

https://invertedpassion.com/making-a-product-that-marl-loves/
1•twapi•28m ago•0 comments

Memoirs from the old web: IE's crazy content rating system

https://www.devever.net/~hl/pics
1•Diti•29m ago•0 comments

Qwen3.5: Towards Native Multimodal Agents

https://qwen.ai/blog?id=qwen3.5
4•danielhanchen•31m ago•3 comments

Show HN: OpenClaw – An OS for AI agents that do work

https://github.com/mupengi-bot/mupengism
1•mupengism•32m ago•0 comments

ERAO – Ask questions in plain English over your database or files

https://erao.digital
1•jorjinio•33m ago•1 comments

Singapore says China-backed hackers targeted its four largest phone companies

https://techcrunch.com/2026/02/10/singapore-china-backed-hackers-targeted-largest-phone-companies...
3•JeanKage•34m ago•0 comments