I’m looking for a tool for implementing parser-based (not CYOA) interactive fiction that meets the following requirements:
The source code of the compiler has been released to the public.
The source code of the compiler is available under permissive or copyleft licensing terms.
The source code of the compiler must be written in a language for which at least one copyleft or permissively licensed implementation exists.
The compiler will run on Linux/x86 and Linux/amd64 without using WINE. (Running on Windows is a bonus.)
The compiler can be rebuilt on Linux/x86 and Linux/amd64 without using WINE.
The compiler’s output must run under a cross-platform environment that has at least one copyleft or permissively licensed implementation. (Examples of acceptable output: Z-machine or GLULX story files; Java jars; Javascript/Lua/Perl/Python/Ruby programs.)
The stock parser is at least as good as Zork I (and preferably at least as good as HHGttG).
Things that don’t fit the bill:
Inform 7 and ADRIFT: closed source.
Inform 6, TADS, and HUGO: source code licence does not permit the creation of derivative works.
Quest: implemented in Visual Basic, a language for which (as far as I am aware) no copyleft or permissively licensed implementation exists.
Anyone got any suggestions, or am I going to have to roll my own to get something that fits the bill?
Quest is a mix of VB and C#, but it doesn’t run in Mono currently as far as I know. For your requirements something like pyf might work. Systems like that will be much less field-tested than the ones you’ve ruled out though.
The textadventures.co.uk site has a link to the codeplex site housing Quest’s source, and it took me about ten seconds to find files with .vb extensions
Or create a Quest game and export to HTML & JavaScript github.com/textadventures/quest - more likely to be adaptable to run under Mono (if you made a CLI version, the WPF GUI certainly won’t run under Mono).
ah, yes: the gnu weenie demanding copyleftism rule for life…
they don’t seem to get it that the Concept of Ultimate Software Freedom (TM by FSF) has its very roots on classic software such as Colossal Cave, itself freely shared and modified in the 70’s
namekuseijun, you are not responding to anybody in this thread. Nobody has demanded a GNU license on anything. Please do not jump into threads just to show off how contemptuous you are.
I know the Inform6 compiler is covered by the Artistic License. I’m sure the Library is too, but I have yet to get Graham’s attention despite repeated emails asking for clarification.
some time ago I was in the same situation
looking for some OS IF to fiddle with.
The license change of Inform 6 surprises me a lot.
It didn’t look like changing at all at the time.
Apart from working on my own system (pre pre pre alpha or so and no time for it)
I used ADL (sourceforge.net/projects/adl/)
which is GPLv2 but a very old code base in plain C (Compiler + Interpreter).
Can’t tell you how crossplatform the interpreter is thouth,
I’m only using it on Linux (but I guess it works everywhere where gcc works).
Earlier today I received an email from Graham Nelson confirming that both the Inform6 compiler and Inform6 library may be distributed under the Artistic License (version 2.0). The user also has the option of using the old DM4 license. I have updated github.com/DavidGriffith/inform6unix to reflect this.