The goal is to have a full featured editor with tree-sitter and LSP support which source code you can read through in one evening.
Love how it's going so far, I'm trying to keep it both minimal and easily extendable.
The goal is to have a full featured editor with tree-sitter and LSP support which source code you can read through in one evening.
Love how it's going so far, I'm trying to keep it both minimal and easily extendable.
I'm building Mochi, a small programming language with a custom VM and a focus on querying structured data (CSV, JSON, and eventually graph) in a unified and lightweight way.
It started as an experiment in writing LINQ-style queries over real datasets and grew into a full language with:
- declarative queries built into the language
- a register-based VM designed for analysis and optimization
- an intermediate representation with liveness analysis, constant folding, and dead code elimination
- static type inference, inline tests, and golden snapshot support
Example:
type Person {
name: string
age: int
}
let people = load "people.yaml" as Person
let adults = from p in people
where p.age >= 18
select { name: p.name, age: p.age }
for a in adults {
print(a.name, "is", a.age)
}
save adults to "adults.json"
The long-term goal is to make a small, expressive language for data pipelines, querying, and agent logic, without reaching for Python, SQL, and a half-dozen libraries.Happy to chat if you're into VMs, query engines, or DSLs.
hn-summary.sh 43197872 -m gpt-4.5-preview
Using this script: https://til.simonwillison.net/llms/claude-hacker-news-themes...Here's the result: https://gist.github.com/simonw/5e9f5e94ac8840f698c280293d399...
It took 25797 input tokens and 1225 input tokens, for a total cost (calculated using https://tools.simonwillison.net/llm-prices ) of $2.11! It took 154 seconds to generate.
If you know of a DNS update which allows for per-minute updates for free, I'll happily move to it.
Remember people, DNS stands for "Definitely Not for Space-docking"