FORM v5.0.0-35-g6318119
Functions
transform.c File Reference
#include "form3.h"
Include dependency graph for transform.c:

Go to the source code of this file.

Functions

int CoTransform (UBYTE *in)
 
int RunTransform (PHEAD WORD *term, WORD *params)
 
int RunEncode (PHEAD WORD *fun, WORD *args, WORD *info)
 
int RunDecode (PHEAD WORD *fun, WORD *args, WORD *info)
 
int RunReplace (PHEAD WORD *fun, WORD *args, WORD *info)
 
int RunImplode (WORD *fun, WORD *args)
 
int RunExplode (PHEAD WORD *fun, WORD *args)
 
int RunPermute (PHEAD WORD *fun, WORD *args, WORD *info)
 
int RunReverse (PHEAD WORD *fun, WORD *args)
 
int RunDedup (PHEAD WORD *fun, WORD *args)
 
int RunCycle (PHEAD WORD *fun, WORD *args, WORD *info)
 
int RunAddArg (PHEAD WORD *fun, WORD *args)
 
int RunMulArg (PHEAD WORD *fun, WORD *args)
 
int RunIsLyndon (PHEAD WORD *fun, WORD *args, int par)
 
WORD RunToLyndon (PHEAD WORD *fun, WORD *args, int par)
 
int RunDropArg (PHEAD WORD *fun, WORD *args)
 
int RunSelectArg (PHEAD WORD *fun, WORD *args)
 
int RunZtoHArg (PHEAD WORD *fun, WORD *args)
 
int RunHtoZArg (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()

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

Definition at line 750 of file transform.c.

◆ RunEncode()

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

Definition at line 1006 of file transform.c.

◆ RunDecode()

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

Definition at line 1193 of file transform.c.

◆ RunReplace()

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

Definition at line 1363 of file transform.c.

◆ RunImplode()

int RunImplode ( WORD *  fun,
WORD *  args 
)

Definition at line 1841 of file transform.c.

◆ RunExplode()

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

Definition at line 2042 of file transform.c.

◆ RunPermute()

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

Definition at line 2156 of file transform.c.

◆ RunReverse()

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

Definition at line 2383 of file transform.c.

◆ RunDedup()

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

Definition at line 2470 of file transform.c.

◆ RunCycle()

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

Definition at line 2559 of file transform.c.

◆ RunAddArg()

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

Definition at line 2711 of file transform.c.

◆ RunMulArg()

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

Definition at line 2800 of file transform.c.

◆ RunIsLyndon()

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

Definition at line 2941 of file transform.c.

◆ RunToLyndon()

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

Definition at line 3019 of file transform.c.

◆ RunDropArg()

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

Definition at line 3131 of file transform.c.

◆ RunSelectArg()

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

Definition at line 3157 of file transform.c.

◆ RunZtoHArg()

int RunZtoHArg ( PHEAD WORD *  fun,
WORD *  args 
)

Definition at line 3185 of file transform.c.

◆ RunHtoZArg()

int RunHtoZArg ( PHEAD WORD *  fun,
WORD *  args 
)

Definition at line 3241 of file transform.c.

◆ TestArgNum()

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

Definition at line 3307 of file transform.c.

◆ PutArgInScratch()

WORD PutArgInScratch ( WORD *  arg,
UWORD *  scrat 
)

Definition at line 3376 of file transform.c.

◆ ReadRange()

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

Definition at line 3412 of file transform.c.

◆ FindRange()

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

Definition at line 3572 of file transform.c.