Talk:Baba is program

From Esolang
Jump to navigation Jump to search

Interpreter

Hello, I added an interpreter for your language. If you think any part of the implementation is not compliant with your specification, let me know. Hakerh400 (talk) 08:48, 8 December 2019 (UTC)

Hey, wow, thank you! I didn't think anyone would actually make an interpreter this fast (I only now started work on my own version) There's a couple tweaks you can make, printing should probably automatically do a newline (unless stated with a "WITHOUT A NEW LINE" or something like that), for statements don't work with more than two lines, also they probably could have movable/optional parameters (i.e. they don't have to have an initialization, termination, or increment, and they can be switched around) but still, I'm really surprised someone actually made an interpreter for this already, tysm Ggtylerr (talk) 11:02, 8 December 2019 (UTC)
Sorry for late response (I haven't seen your comment in time). The interpreter now has the following additional features:
  • Command SAY appends a new line unless WITHOUT A NEW LINE appers after the argument (commit f5c415c)
  • FOR statements support more than two lines (commit 78237e8)
  • FOR statements can have optional/elided parameters (commit bb3b08a)
  • Added the Fibonacci example (commit 842e021)
Hakerh400 (talk) 03:35, 4 April 2020 (UTC)