janus.language.mumps.mumps#

Attributes#

log

Classes#

MumpsCombiner

A class that combines code blocks into mumps files.

MumpsSplitter

A class for splitting MUMPS code into functional blocks to prompt

Module Contents#

janus.language.mumps.mumps.log#
class janus.language.mumps.mumps.MumpsCombiner#

Bases: janus.language.combine.Combiner

A class that combines code blocks into mumps files.

Initialize a MumpsCombiner instance.

class janus.language.mumps.mumps.MumpsSplitter(model=None, max_tokens=4096, protected_node_types=('routine_definition',), prune_node_types=(), prune_unprotected=False)#

Bases: janus.language.splitter.Splitter

A class for splitting MUMPS code into functional blocks to prompt with for transcoding.

Initialize a MumpsSplitter instance.

Parameters:
subroutine_pattern#
static comment_start(line)#
Parameters:

line (str) –

Return type:

int