From 2a1dbe6c9e3c5c7cee97e02a87299c2bf7bb6a3c Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Thu, 27 Oct 2022 14:33:35 +0200 Subject: [PATCH] mark archived articles as such --- .../2010-05-24-Trees--Pragmatism-and-Formalism/index.html | 4 ++-- src/css/legacy.css | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/Scratch/en/blog/2010-05-24-Trees--Pragmatism-and-Formalism/index.html b/src/Scratch/en/blog/2010-05-24-Trees--Pragmatism-and-Formalism/index.html index fa353b8..3a31f24 100644 --- a/src/Scratch/en/blog/2010-05-24-Trees--Pragmatism-and-Formalism/index.html +++ b/src/Scratch/en/blog/2010-05-24-Trees--Pragmatism-and-Formalism/index.html @@ -134,9 +134,9 @@ Let’s begin to write code

Think

After some times, I just stopped to work. Tell myself “it is enough, now, I must finish it!”. I took a sheet of paper, a pen and began to draw some trees.

I began by make by removing most of the verbosity. I first renamed <item name="Menu"> by simpler name M for example. I obtained something like:

-

The source tree

+The source tree

and

-

The destination tree

+The destination tree

Then I made myself the following reflexion:

Considering Tree Edit Distance, each unitary transformation of tree correspond to a simple search and replace on my xml source2. We consider three atomic transformations on trees: