Comments on CoffeeScript as a domain-specific language for interactive fiction

5 Comments.

hi Felix,

I’ve had the same thought. If you’re on the fence about giving it a go, you have my encouragement! 🙂

-- George 2017-09-25 14:42 UTC


I hadn’t heard of CoffeeScript. I think you’re right that it would be very good for IF authorship! My only comment is … Alan? I don’t know a lot about it, but my impression is that it’s pretty marginal. What about TADS 3? T3 is a robust object-oriented IF development system.

-- JIm Aikin 2017-09-25 14:43 UTC


Alan is indeed underused — a victim of history, in my opinion (see my review). But it is an excellent example of a DSL, which is why I mentioned it.

TADS 3, on the other hand, is a general-purpose programming language with only a few features designed to facilitate writing IF. Apart from the standard library, that is. 😛 I wanted to mention that in the article, but didn’t find a good place. Obviously, I should have. Thank you!

-- Felix 2017-09-25 14:44 UTC


Hi Felix,

I’m looking at coffeecript and interactive fiction too. I can’t say that my efforts are going anywhere, but it’s a fun way to learn coffeescript if nothing else.

Did you ever make any progress on this? Is there anything to see? If and when I make something that’s starting to resemble a playable demo I’ll post my code on github or whatever, but I’m not there yet.

Peter

-- Peter Orme 2017-09-25 14:44 UTC


Hi Peter,

I never got around to playing with this idea any further. Got too many other projects. But I’d like to see what you come up with, whenever you do, and wouldn’t mind chatting about it either.

-- Felix 2017-09-25 14:45 UTC