From: Zachary Vance Date: Mon, 24 Feb 2025 02:46:25 +0000 (-0500) Subject: Text editor X-Git-Url: https://git.za3k.com/?a=commitdiff_plain;h=b538199d83266d4b2b30f5f57e8b2ec31141c216;p=blog.git Text editor --- diff --git a/images/text-editor2.png b/images/text-editor2.png new file mode 100644 index 0000000..2d1bc68 Binary files /dev/null and b/images/text-editor2.png differ diff --git a/posts/ocaml-book.md b/posts/ocaml-book.md index a7c7062..97873dc 100644 --- a/posts/ocaml-book.md +++ b/posts/ocaml-book.md @@ -8,6 +8,9 @@ tags: - books title: 'OCaml Manual' --- + +Update: the book is available for sale on Lulu to the public. [Volume 1](https://www.lulu.com/shop/inria-and-zachary-vance/ocaml-manual-53-vol-1/hardcover/product-zm9gr4w.html) and [Volume 2](https://www.lulu.com/shop/inria-and-zachary-vance/the-ocaml-manual-53-vol-2/hardcover/product-849pyq5.html). + Recently I've been teaching myself new programming languages with books. I got one for D, Elixir, Erlang, and Go. OCaml was also on my list of languages to learn, but there is no good OCaml book available. I started reading an online course textbook (for Cornell's [CS 3110](https://cs3110.github.io/textbook/cover.html)), only to find it painfully slow, beginner-level, and aimed at course tools besides. Eventually, I found the official OCaml manual to be the best source of information. diff --git a/posts/text-editor.md b/posts/text-editor.md new file mode 100644 index 0000000..e0fdddc --- /dev/null +++ b/posts/text-editor.md @@ -0,0 +1,22 @@ +--- +author: admin +categories: +- Technical +date: 2025-02-23 +tags: +- ocaml +- software +title: 'Multi-user Text Editor' +--- + +I finished the text editor I was working on to learn OCaml. + +![caption: three people editing one document](text-editor2.png) + +It's (tentatively) called textmu. The selling point is that it's designed for multiple users, all SSH-ed into the same machine, to edit a document collaboratively. Otherwise, I basically made it a simplified knockoff of `nano`. + +Source code is [on github](https://github.com/za3k/text-multiedit). + +If you'd like to try it out (and don't want to compile it locally), feel free to get an account on my public server, [tilde](https://tilde.za3k.com). + +Also, an update. The OCaml folks said it's fine to publish their book, so you can now [get your own copy](https://blog.za3k.com/ocaml-manual/) if you want one (link goes to updated blog post with photos).