New answers tagged

-1

In stack-based languages, inputs may be pushed onto the stack at the start of the program, and the output may be the top element on the stack at the end of the program This has already been proposed for functions, but it should also be allowed for full programs.


-1

A natural number may be represented as a collection of n empty collections, and a string as a collection of such numbers In languages that do not have numbers or strings but do have lists, stacks, or other collections, a natural number (including 0) may be represented by a collection of empty collections, where the length of the outer collection represents ...


Top 50 recent answers are included