WEB

Cet article est une ébauche concernant l’informatique.

WEB

WEB est un langage de programmation informatique dérivé de Pascal créé par Donald E. Knuth et notamment utilisé pour coder TeX et Metafont. C'est une des premières implémentations de ce que Knuths appelle «  programmation littéraire  », dans lequel un texte descriptif est écrit et comprend le code informatique plutôt que l’inverse (habituellement le code contient le texte descriptif), de manière à être plus pratique à lire au lieu d’être organisé selon l’ordre requis par le compilateur.

En résumé : avec WEB, le code a été arrangé pour que l'utilisateur puisse comprendre. Avec Pascal, il a été arrangé pour que l'ordinateur puisse comprendre[1].

WEB est composé de deux logiciels  : TANGLE, qui produit du code Pascal compilable à partir des sources WEB, et WEAVE, qui produit des documents TeX.

Des versions dérivées comme CWEB ou Web2C, utilisé dans plusieurs distributions TeX, permettent de traduire le code WEB en C.

Références

  1. (en) Donald E. Knuth, TeX : The Program, vol. B, Addison-Wesley, , 4e éd. (1re éd. 1986), 600p (ISBN 0-201-13437-3), Avant-Propos

Bibliographie

  • Donald E. Knuth, Literate Programming, Stanford, California, Center for the Study of Language and Information, coll. « CSLI Lecture Notes 27 »,

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.