FORM 4.3
transform.c File Reference
#include "form3.h"

Go to the source code of this file.

Functions

int CoTransform (UBYTE *in)
 
WORD RunTransform (PHEAD WORD *term, WORD *params)
 
WORD RunEncode (PHEAD WORD *fun, WORD *args, WORD *info)
 
WORD RunDecode (PHEAD WORD *fun, WORD *args, WORD *info)
 
WORD RunReplace (PHEAD WORD *fun, WORD *args, WORD *info)
 
WORD RunImplode (WORD *fun, WORD *args)
 
WORD RunExplode (PHEAD WORD *fun, WORD *args)
 
WORD RunPermute (PHEAD WORD *fun, WORD *args, WORD *info)
 
WORD RunReverse (PHEAD WORD *fun, WORD *args)
 
WORD RunDedup (PHEAD WORD *fun, WORD *args)
 
WORD RunCycle (PHEAD WORD *fun, WORD *args, WORD *info)
 
WORD RunAddArg (PHEAD WORD *fun, WORD *args)
 
WORD RunMulArg (PHEAD WORD *fun, WORD *args)
 
WORD RunIsLyndon (PHEAD WORD *fun, WORD *args, int par)
 
WORD RunToLyndon (PHEAD WORD *fun, WORD *args, int par)
 
WORD RunDropArg (PHEAD WORD *fun, WORD *args)
 
WORD RunSelectArg (PHEAD WORD *fun, WORD *args)
 
int TestArgNum (int n, int totarg, WORD *args)
 
WORD PutArgInScratch (WORD *arg, UWORD *scrat)
 
UBYTE * ReadRange (UBYTE *s, WORD *out, int par)
 
int FindRange (PHEAD WORD *args, WORD *arg1, WORD *arg2, WORD totarg)
 

Detailed Description

Routines that deal with the transform statement and its varieties.

Definition in file transform.c.

Function Documentation

◆ CoTransform()

int CoTransform ( UBYTE * in)

Definition at line 87 of file transform.c.

◆ RunTransform()

WORD RunTransform ( PHEAD WORD * term,
WORD * params )

Definition at line 689 of file transform.c.

◆ RunEncode()

WORD RunEncode ( PHEAD WORD * fun,
WORD * args,
WORD * info )

Definition at line 922 of file transform.c.

◆ RunDecode()

WORD RunDecode ( PHEAD WORD * fun,
WORD * args,
WORD * info )

Definition at line 1109 of file transform.c.

◆ RunReplace()

WORD RunReplace ( PHEAD WORD * fun,
WORD * args,
WORD * info )

Definition at line 1279 of file transform.c.

◆ RunImplode()

WORD RunImplode ( WORD * fun,
WORD * args )

Definition at line 1757 of file transform.c.

◆ RunExplode()

WORD RunExplode ( PHEAD WORD * fun,
WORD * args )

Definition at line 1958 of file transform.c.

◆ RunPermute()

WORD RunPermute ( PHEAD WORD * fun,
WORD * args,
WORD * info )

Definition at line 2072 of file transform.c.

◆ RunReverse()

WORD RunReverse ( PHEAD WORD * fun,
WORD * args )

Definition at line 2299 of file transform.c.

◆ RunDedup()

WORD RunDedup ( PHEAD WORD * fun,
WORD * args )

Definition at line 2386 of file transform.c.

◆ RunCycle()

WORD RunCycle ( PHEAD WORD * fun,
WORD * args,
WORD * info )

Definition at line 2475 of file transform.c.

◆ RunAddArg()

WORD RunAddArg ( PHEAD WORD * fun,
WORD * args )

Definition at line 2627 of file transform.c.

◆ RunMulArg()

WORD RunMulArg ( PHEAD WORD * fun,
WORD * args )

Definition at line 2714 of file transform.c.

◆ RunIsLyndon()

WORD RunIsLyndon ( PHEAD WORD * fun,
WORD * args,
int par )

Definition at line 2853 of file transform.c.

◆ RunToLyndon()

WORD RunToLyndon ( PHEAD WORD * fun,
WORD * args,
int par )

Definition at line 2931 of file transform.c.

◆ RunDropArg()

WORD RunDropArg ( PHEAD WORD * fun,
WORD * args )

Definition at line 3043 of file transform.c.

◆ RunSelectArg()

WORD RunSelectArg ( PHEAD WORD * fun,
WORD * args )

Definition at line 3069 of file transform.c.

◆ TestArgNum()

int TestArgNum ( int n,
int totarg,
WORD * args )

Definition at line 3107 of file transform.c.

◆ PutArgInScratch()

WORD PutArgInScratch ( WORD * arg,
UWORD * scrat )

Definition at line 3176 of file transform.c.

◆ ReadRange()

UBYTE * ReadRange ( UBYTE * s,
WORD * out,
int par )

Definition at line 3212 of file transform.c.

◆ FindRange()

int FindRange ( PHEAD WORD * args,
WORD * arg1,
WORD * arg2,
WORD totarg )

Definition at line 3372 of file transform.c.