Skip to content

Support keyword abbreviations #67

@EricCarrGH

Description

@EricCarrGH

Hello, great project! I'm interested in using this for future 10 Liner basic contests.

Would it be possible to have the CL compiler support abbreviations like the interpreter did as mentioned here: https://www.c64-wiki.com/wiki/BASIC_keyword_abbreviation

e.g.

12 poke 2042,13: poke 2043,13: poke 2044,13

can be shortened to effectively:

12pO2042,13:pO2043,13:pO2044,13

I could also add the code to add this functionality as a command line option, and submit a PR, if that is acceptable.

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