From Esolang
Jump to navigation Jump to search

Stack operations & general syntax

This is but a quick question: I noticed that you have the operations "<@" which pops a value from the stack and the operation "-@" which discards the top stack entry. So, in terms of syntax, does"<@" have to be preceded by a variable, as if it doesn't need to be, then are "<@" and "-@" equivalent? Otherwise, looks pretty interesting, let's see where this goes (naturally, if it's optimisations that you're after, the number of stack operations can be greatly reduced while maintaining an equivalently capable language, but I'm not sure this it the goal :) - Hiato 11:14, 5 September 2009 (UTC)

'<@' returns the value so I can be used in equations or be used as the value for variables, whereas '-@' just removes it from the stack. The goal at the moment is to just implement the features that I have in a text document. It is quite liberating not having to constantly think "how would someone else use this?" I can make it as wacky and have very little continuity between actions as I like :D. I would be interested however, if you were to inform me or point me to the optimisations that you talk of. I am all about efficiency :) --(this comment by XFire35 at 13:15, 5 September 2009 UTC; please sign your comments with ~~~~)

Page Code Formatting

I altered the page and the code was indented correctly and it has been changed so that the comments are no longer in line - why? - User:XFire35 20:38, 10 September 2009 (UTC)

As I said in my edit summary, code formatting needs to be viewed with a fixed-width font. Especially when using it for lining things up in columns. Maybe your browser is somehow set up to use a proportional font for it? --Ørjan 07:42, 11 September 2009 (UTC)