Our great sponsors
-
monocle
Universal personal search engine, powered by a full text search algorithm written in pure Ink, indexing Linus's blogs and private note archives, contacts, tweets, and over a decade of journals. (by thesephist)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
ink
Ink is a minimal programming language inspired by modern JavaScript and Go, with functional style. (by thesephist)
Hey HN, OP here. Ink isn't really anywhere near in a shape for any kind of "public" or "production" use. It was a toy programming language I built to (1) learn how interpreters worked and (2) build some side projects of mine, back in 2019. Since then it's grown steadily to allow me to build more complex full-stack apps, like Monocle[0]
If you're curious about the personal history of the project, Ink was the subject of a recent talk I gave at GopherCon EU[1]
[0] https://github.com/thesephist/monocle
"dot ink" might be better, given the name clash with Inkle Studios' interactive fiction language: https://www.inklestudios.com/ink/
There's also Parity's "ink!" for writing smart contracts: https://github.com/paritytech/ink
For someone who care the implementation than the high-level design: It's written in go, interpreter-based, and pretty small [1].
Although the author seems to be a well-studied PL lover, you don't have to be like this to create a small language. It's fun experience and there are books for non-experts like [3].
- [1] https://github.com/thesephist/ink/tree/master/pkg/ink
- [2] https://thesephist.com/posts/pl/
- [3] https://interpreterbook.com/