pascal

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const TestCodeHelloWorld = `begin
    writeln('Hello world');
end.
`

Variables

This section is empty.

Functions

This section is empty.

Types

type Pascal

type Pascal struct{}

func (Pascal) Compile

func (Pascal) Compile(ctx context.Context, s sandbox.Sandbox, f sandbox.File, stderr io.Writer, extras []sandbox.File) (*sandbox.File, error)

func (Pascal) DefaultFilename

func (Pascal) DefaultFilename() string

func (Pascal) DisplayName

func (Pascal) DisplayName() string

func (Pascal) ID

func (Pascal) ID() string

func (Pascal) Run

func (Pascal) Run(ctx context.Context, s sandbox.Sandbox, binary sandbox.File, stdin io.Reader, stdout io.Writer, tl time.Duration, ml memory.Amount) (*sandbox.Status, error)

func (Pascal) Test

func (p Pascal) Test(t *testing.T, s sandbox.Sandbox) error

Jump to

Keyboard shortcuts

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