Свежий номер №25 (402)  / Рефал как язык для обработки xml-документов
 
Дата публикации: 02.07.2001

Валентин Турчин,

 
<<  1
Listing 1.
Listing 2.  >>

Listing 1. XML-документ. После рефализации получаем R-выражения (Listing 2).

<Recipe>

<Name>Lime Jello Marshmallow Cottage Cheese Surprise</Name>

<Description>

My grandma's favorite (may she rest in peace).

</Description>

<Ingredients>

<Ingredient>

<Qty unit="box">1</Qty>

<Item>lime gelatin</Item>

</Ingredient>

<Ingredient>

<Qty unit="g">500</Qty>

<Item>multicolored tiny marshmallows</Item>

</Ingredient>

<Ingredient>

<Qty unit="ml">500</Qty>

<Item>Cottage cheese</Item>

</Ingredient>

<Ingredient>

<Qty unit="dash"/>

<Item optional="1">Tabasco sauce</Item>

</Ingredient>

</Ingredients>

</Recipe>



 
<<  1
Listing 1.
Listing 2.  >>


Валентин Турчин

 


<<  Метавычисления - теория метасистемных переходов в программировании
Все материалы номера
Теория метасистемных переходов  >>