web

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2023 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Overview

Package web deals with .web files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Go

func Go(dest, pascal, pool io.Writer, web knuth.RuneSource, pkg string) (err error)

Go processes 'web' and writes the Pascal code to 'pascal', the string pool to 'pool' and the Go code in package 'pkg' to 'dest'. To apply a change file, pass knuth.NewChanger(web, changes) as 'web'.

func Tangle

func Tangle(pascal, pool io.Writer, src knuth.RuneSource) (err error)

Tangle processes 'src' and outputs the resulting Pascal code to 'pascal' and a string pool to 'pool'. To apply a change file, pass knuth.NewChanger(src, changes) as 'src'.

The result is similar, but not compatible, to what the original TANGLE outputs. It's also not compatible with the ISO Pascal Standard.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL