Web (programming system) GudangMovies21 Rebahinxxi LK21

      Web is a computer programming system created by Donald E. Knuth as the first implementation of what he called "literate programming": the idea that one could create software as works of literature, by embedding source code inside descriptive text, rather than the reverse (as is common practice in most programming languages), in an order that is convenient for exposition to human readers, rather than in the order demanded by the compiler.
      Web consists of two secondary programs: TANGLE, which produces compilable Pascal code from the source texts, and WEAVE, which produces nicely-formatted, printable documentation using TeX.
      CWEB is a version of Web for the C programming language, while noweb is a separate literate programming tool, which is inspired by Web (as reflected in the name) and which is language agnostic.
      The most significant programs written in Web are TeX and Metafont. Modern TeX distributions use another program Web2C to convert Web source to C.


      Philosophy


      Unlike most other documentation generators, which relegate documentation to comments, the WEB approach is to write an article to document the making of the source code. Much like TeX articles, the source is divided into sections according to documentation flow. For example, in CWEB, code sections are seamlessly intermixed in the line of argumentation.


      CWEB



      CWEB is a computer programming system created by Donald Knuth and Silvio Levy as a follow-up to Knuth's WEB literate programming system, using the C programming language (and to a lesser extent the C++ and Java programming languages) instead of Pascal.
      Like WEB, it consists of two primary programs:

      CTANGLE, which produces compilable C code from the source texts, and
      CWEAVE, which produces nicely-formatted printable documentation using TeX.


      = Features

      =
      Can enter manual TeX code as well as automatic.
      Make formatting of C code for pretty printing.
      Can define sections, and can contain documentation and codes, which can then be included into other sections.
      Write the header code and main C code in one file, and can reuse the same sections, and then it can be tangled into multiple files for compiling.
      Use #line directive so that any warnings or errors refer to the .w source.
      Include files.
      Change files, which can be automatically merged into the code when compiling/printing.
      Produces index of identifiers and section names in the printout.


      References




      External links


      The TeX Catalogue entry for Web
      CWEB homepage
      Examples of programs written in Web, By Donald Knuth (1981 and onward)

    Kata Kunci Pencarian:

    web programming system
    22 Best Programming Languages for Web Development in 2023

    22 Best Programming Languages for Web Development in 2023

    Web-Based Application: What It Is, and Why You Should Use It

    Web-Based Application: What It Is, and Why You Should Use It

    Web System Development Process: The Complete Guide - Riseup Labs

    Web System Development Process: The Complete Guide - Riseup Labs

    Web Application Architecture - Detailed Explanation - InterviewBit

    Web Application Architecture - Detailed Explanation - InterviewBit

    Which is the Best Programming Language for Web Development

    Which is the Best Programming Language for Web Development

    Web development, application design, coding and programming on laptop ...

    Web development, application design, coding and programming on laptop ...

    Web Programming - Web Programming Png Transparent PNG - 850x900 - Free ...

    Web Programming - Web Programming Png Transparent PNG - 850x900 - Free ...

    Web Programming Languages | Top 9 Useful Programming Languages

    Web Programming Languages | Top 9 Useful Programming Languages

    10 Best Programming Languages For Web Development - GetListedUAE Blog

    10 Best Programming Languages For Web Development - GetListedUAE Blog

    Web development and programming coding concept, SEO optimization ...

    Web development and programming coding concept, SEO optimization ...

    HTML Programming Language Web Development Coding Concept Stock Image ...

    HTML Programming Language Web Development Coding Concept Stock Image ...

    Web Application Architecture in 2023: The Right Direction

    Web Application Architecture in 2023: The Right Direction