tors 28 maj 2026 kl. 18:54 skrev <[email protected]>:

> Hi,
>
> Here is the first document in the Principia Softwarica series:
> https://aryx.github.io/assets/pdfs/Principia-1.0.pdf
>
> It is both an introduction to the whole series and
> the full explanation of the code of the editor ed (in appendix C).
> I actually learned quite a lot about ed while writing this book; it is
> such an amazing tool and so underused in the programmer's toolbox; it is
> definitely
> not the best editor, but when used inside scripts it can be used as a
> really flexible
> code generator.
>
> Anyway, feedbacks are welcome and so are pull requests on the project:
> https://github.com/aryx/principia-softwarica
>
> PS: I've found some bugs in the code of ed such as
> malloc(n * sizeof(int*)) in places instead of the correct malloc(n *
> sizeof(int));
> harmless but funny that even the great Ken Thompson
>

Pointer size can be different to others. Probably not a bug.

Michael

> <https://9fans.topicbox.com/groups/9fans/subscription>Permalink
> <https://9fans.topicbox.com/groups/9fans/Tb698c8da65baca8e-M276b113b6ed3c19c86a9f7d6>
>

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tb698c8da65baca8e-Mb978a2a05e916a3a7757e115
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to