Live data from Hacker News

Show HN: Lambda 0.2 – a func language better than TypeScrip, jq and jQuery

github.com

1–10 of 21 posts

Show HN: Lambda 0.2 – a func language better than TypeScrip, jq and jQuery

#1
What's your tool chain for data and document processing? - jq is great, but limited to JSON; and jQuery limited to HTML; templating systems get messy for non-trivial logic; TypeScript lacks pattern matching and schema support.

So I built Lambda — an expressive functional language that combines the power of Lisp, TypeScript, and many DSLs like jq, jQuery, RelaxNG, etc.

It has a lightweight 9 MB runtime, built from scratch in C/C++, that provides an end-to-end document processing pipeline (parse → validate/query/transform → layout → render/view).

Internally, Lambda parse different input formats (Markdown, Wiki, HTML/XML, JSON/YAML/TOML/CSV, LaTeX, PDF, …) into a unified Lambda/Mark node tree, then transformed with Lambda scripts, validated with schemas, and then rendered via the Radiant HTML/CSS/SVG layout and rendering engine.

Repo (with examples and demos): https://github.com/henry-luo/lambda

I’d love feedback on: where this could actually be useful in your workflows; language design (what feels unnecessary vs. missing); etc.

Show HN: Lambda 0.2 – a func language better than TypeScrip, jq and jQuery
github.com

Re: Show HN: Lambda 0.2 – a func language better than TypeScrip, jq and jQuery

#5
post #3

A game-changing programming language has just emerged! It’s time to say goodbye to those outdated, inefficient, and syntactically cumbersome languages.

Hope it will change the way people work with data and documents.

Re: Show HN: Lambda 0.2 – a func language better than TypeScrip, jq and jQuery

#6

The feature set looks compelling. I'm genuinely eager to dive in.

Glad to hear that. Note that the language is still being developed, and there're bugs here and there. So bear with those bugs. But it should be fun to try it out.

Re: Show HN: Lambda 0.2 – a func language better than TypeScrip, jq and jQuery

#7
I'm particular interested in large PDF parsing, for those table form PDF content. Biggest problem of PDF parsing is the relativity of content according to content that output not the PDF internal layout box sequence. Sometime parse result had content sequence off.

Re: Show HN: Lambda 0.2 – a func language better than TypeScrip, jq and jQuery

#9
post #7

I'm particular interested in large PDF parsing, for those table form PDF content. Biggest problem of PDF parsing is the relativity of content according to content that output not the PDF internal layout box sequence. Sometime parse result had content sequence off.

Lambda's PDF support is still very limited at moment. I do plan to enhance it in next release.
Post reply on HN