Skip to content

One item on stack if there are no arguments? #2

@hanyuone

Description

@hanyuone

Uses:

This is mainly useful for a "Hello, World!" program that takes no input.

Specs:

If there are no arguments given to a Wise program, the stack should start off with a single 0. Once there is an argument given, however, the stack is the same as usual. For example:

Wise program:
-~

No input: outputs 1
Input of 5: outputs 6

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