Skip to content

+2 ISSUE #40 #40

Description

@Scott-Crawford
  1. It is not stated whether blank lines should increment the line counter in either REPL or file mode.

  2. In the errors for REPL, "LET A" outputs "Operator LET applied to empty stack". However, "LET" is a keyword. Shouldn't this be an error code 5 instead?

Laboon's Response:

  1. This is ambiguous based on the requirements (since I say "blank lines should be ignored") but I would say that even blank lines increment the counter.

  2. Good point. The way I wrote it, both keywords and operators do the same "kind" of thing and I didn't differentiate. Ideally it should be error code 5 but I would be content with either way of doing it.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions