Skip to content

Give names to some phrases #6

@lukacslacko

Description

@lukacslacko

We could introduce a NAMED_PHRASES in the phrase.rs thread_local, and map some Phrases to a string. A typical example would be to map S(0) to "1". Then, it should have something like short_string which should look itself up in that, and if it finds itself, it should return that name instead of the expansion, and it should recursively call short_string on the subphrases, and FAX should use short_string by default, and something else could do the full print.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions