Skip to content

stages

NotationLowerer

Bases: Stage

Source code in src/finch/compile/stages.py
 8
 9
10
11
12
13
14
15
class NotationLowerer(Stage):
    mode = CompilerMode()

    @abstractmethod
    def lower(self, term: ntn.Module) -> asm.Module:
        """
        Compile the given notation term into an assembly term.
        """

lower(term) abstractmethod

Compile the given notation term into an assembly term.

Source code in src/finch/compile/stages.py
11
12
13
14
15
@abstractmethod
def lower(self, term: ntn.Module) -> asm.Module:
    """
    Compile the given notation term into an assembly term.
    """