Skip to content

LOLCODE spec: does WTF? fallthrough reach OMGWTF? #154

Open

Description

@Sir-NoChill

Found while marking the LOLCODE assignment (Fall 2026, 36 submissions). The quoted text is from lolcode/ and info/ on master.

spec/statements.rst (Case): "If an OMG block is not terminated by a GTFO, then the next OMG block is executed as is the next until a GTFO or the end of the WTF block". It does not say whether OMGWTF counts as a block. Ruling used for marking: C semantics, it runs. ~15 students skip it, several on purpose.

Proposed fix: say so, and add a fish-example input that falls into OMGWTF.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions