Talk:Modulous

From Esolang
Jump to navigation Jump to search

Interpreter

An interpreter is! being! worked! on! TwilightSparkle (talk) 04:40, 28 August 2020 (UTC)

Questions

  • The examples use [JMP B 1 IF NOT 0]. Is this a mistake or an alias for [JMP B 1 NIF 0]?
  • Should comparisons for the JMP command return 0 if the stack is empty, as assumed in the examples?
  • If the user inputs the empty string, should an error be thrown?
  • Is there a default value for each variable, or should an error be thrown if a variable is accessed before initialization?

- Bangyen (talk) 19:29, 16 May 2021 (UTC)


Answers

1 NIF is used instead of IF NOT.

2 If the stack is empty then it's a 0.

3 No input - no error.

4 The default value is 0 for all of the variables.

- Abyxlrz (talk) 05:07, 17 May 2021 (UTC)