Skip to content

lsx-comp --trace option that inserts (top-level rule) line numbers in output #54

@unhammer

Description

@unhammer

We could compile a (larger) fst that outputs line numbers in the stream for every top-level rule application.

nob-nno has a PoC using xsltproc:
apertium/apertium-nno-nob@6d2a7e0
but would be nicer to have an lsx-comp --trace (also, nob-nno uses awk for line numbers, it will break if someone writes <e in the wrong place)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions