From Esolang
Jump to navigation Jump to search

FlogScript seems to be quite dense (don't know any right word), in the sense (or so it seems) one can do programs with low amount of characters. An Underload interpreter in 80 characters (not counting whitespace) -- that is impressive! I'd really like to try out this language, I hope someone explained how it works. --Keymaker 09:58, 27 April 2008 (UTC)

I will explain the Underload interpreter, and hopefully you will understand how it works. None of the whitespace is necessary in this program, although in some other FlogScript programs, some of the whitespace is necessary.
  • The first line Ia: takes all the input and stores it in a variable. (It assumes the variable is called _ if you don't write the variable name)
  • The lines with [ and up to ] is a list.
  • The next line _(\: takes the first character from the program stored in the variable, and stores the rest back in the variable, the one character picked is on the stack.
  • The next line selects one of the codes from the above list according to which character is read from the Underload program. The 1/?=~ splits the string, finds the character in the string, selects the same index from the list of FlogScript codes corresponding to the Underload ones, and executes it.
  • The _,0=!F[ line checks if the value in the variable has a zero length, if not, it will go back to the beginning of the current block (starting by { and you put }~ at the end to execute it).
Many FlogScript commands are similar to GolfScript, although there are many differences. If you have more questions about specific commands or other things, please ask here, and whoever knows the answer will answer here first. --Zzo38 18:54, 2 May 2008 (UTC)


Is this still a work in progress? Do you have any ongoing plans for it, or is it just sitting around and being obscure? And when/if you're done are you going to submit the interpreter to to be included? --Patashu 04:19, 23 May 2009 (UTC)

I try! But they won't answer me on IRC. Can you please tell them to do so, because I can't? (It is a complete implementation although later versions with more features will certainly be made in the future, as it has been done in the past also.) --Zzo38 21:44, 23 May 2009 (UTC)
I don't see why I'd have any more influence than you, but I'll ask around.--Patashu 02:26, 24 May 2009 (UTC)
I don't think amount of influence is the issue here. I'm probably using some wrong method of communication or asking wrong or asking at the wrong time or something like that. --Zzo38 15:09, 24 May 2009 (UTC)

Well, four years later and Flogscript has been on for a while now, but there is still no documentation that I can find (other than the almost-uncommented interpreter source code). Is anyone still working on the language? Desty (talk) 23:29, 22 June 2013 (UTC)

There is some documentation but it is in Japanese and I didn't write it. --Zzo38 (talk) 00:36, 23 June 2013 (UTC)