Talk:SICKBAY

From Esolang
Jump to navigation Jump to search

This is somewhat reminiscent of INTERCAL, fwiw, although the individual commands are mostly different. (Computed line numbers is AFAIR something that CLC-INTERCAL does, though.) Complete with the arbitrary limitation on the number of call levels! It also reminds me of Forte a little, although again, the individual operations are mostly different. --ais523 21:15, 22 September 2012 (UTC)

It's obviously tamer than either of those, which is nice if you want to implement it in a couple of hours and write some programs in it the same day without going mad (well, more mad.) Chris Pressey (talk) 04:46, 23 September 2012 (UTC)

I like the extensions; include them. If integers are unbounded, then instead of floating point have rational number variables, perhaps using ! suffix. Also, string variables with $ suffix, but they are not really string variables, instead the integer variable is used as array, and they are the ASCII codes to output terminated by any negative number, when used in PRINT; if used in INPUT it read a line and store into the array, with no terminator so you have to initialize the terminator yourself. Also should have a command for random numbers. --Zzo38 (talk) 03:43, 24 September 2012 (UTC)

Most of the extensions will make it into SICKBAY 2.0 (whenever I get around to it.) I like having the simpler 1.0 version available for now. Rational (or even algebraic) line numbers strike me as interesting enough to explore that they might warrant their own language (like, you could GOTO a series, and you would end up on the line number which is the limit of the series, if it has a limit.) I like the string-variables-as-aliases-for-arrays-of-integers-we-treat-as-characters idea. I'm not as sold on the "no terminator" idea, but it does give it a C-like feel (initialize the array with as many -1's as you think you will need and just hope that every line you input is smaller than that.) There is a function for random numbers, it's the last thing I added to 1.0 because I want to write an I-am-thinking-of-a-number-guess-what-it-is game in SICKBAY. Chris Pressey (talk) 00:01, 28 September 2012 (UTC)