* Re: New Interpreter (was RE: Marketing Xconq?)
@ 2003-11-19 12:28 Richard Hunt
2003-11-19 16:54 ` Eric McDonald
0 siblings, 1 reply; 5+ messages in thread
From: Richard Hunt @ 2003-11-19 12:28 UTC (permalink / raw)
To: xconq7
>Well, what platform are you on?
>If the platform is Linux or Solaris, then chances are >good that
>Tcl/Tk is already installed.
I am using Debian, but I am a bit anally retentive (how do you spell that :) so I do my installation entirely using dselect, which seems to avoid installing a lot of packages that I want. I tend to avoid tcl/tk programs simply because they tend to be slow on my old computer, and xconq is the only tcl/tk program I still want to run.
Another thing I just remembered: with the version that I am using (a CVS checkout from about a month ago, since I don't have internet access on my pc during term time) there is a config.cache file in the xconq directory which means that eg. the --tclconfigdir and ---tkconfigdir flags are ignored.
Richard Hunt, 0102806h@student.gla.ac.uk
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New Interpreter (was RE: Marketing Xconq?)
2003-11-19 12:28 New Interpreter (was RE: Marketing Xconq?) Richard Hunt
@ 2003-11-19 16:54 ` Eric McDonald
0 siblings, 0 replies; 5+ messages in thread
From: Eric McDonald @ 2003-11-19 16:54 UTC (permalink / raw)
To: Richard Hunt; +Cc: xconq7
On Wed, 19 Nov 2003, Richard Hunt wrote:
> I am using Debian, but I am a bit anally retentive (how do you
>spell that :)
AR ;-)
>so I do my installation entirely using dselect,
>which seems to avoid installing a lot of packages that I want. I
>tend to avoid tcl/tk programs simply because they tend to be slow
>on my old computer, and xconq is the only tcl/tk program I still
>want to run.
I understand. Up until the beginning of last year, I was in the
same situtation. Even now, I am very discriminating about what I
install; I guess old habits die hard.
> Another thing I just remembered: with the version that I am
>using (a CVS checkout from about a month ago, since I don't have
>internet access on my pc during term time)
That is probably better for the grades (marks), I imagine. :-)
>there is a
>config.cache file in the xconq directory which means that eg. the
>--tclconfigdir and ---tkconfigdir flags are ignored.
Hmmm... That probably shouldn't be there.
You should be able to do a "make distclean" to make it go away
though. Or "rm".
Eric
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Marketing Xconq?
@ 2003-11-18 3:15 Erik Jessen
2003-11-18 3:39 ` New Interpreter (was RE: Marketing Xconq?) Eric McDonald
0 siblings, 1 reply; 5+ messages in thread
From: Erik Jessen @ 2003-11-18 3:15 UTC (permalink / raw)
To: 'Brandon J. Van Every', 'xconq'
Brandon,
I think having an interpreted language (v. the current Lisp-format
datafile) would put Xconq way ahead of the competition (like ADC2 et
al).
Of course, this would mean adding the interpreter, and then translating
at least some of the existing games as test cases, plus defining how the
interpreter would interact, but one could see how powerful this would
be.
"if", "for", "while" statements are incredibly powerful...
ISTR that Perl has a module/docs on how to add a Perl interpreter onto
almost any C program. Perl is OO (though in a weird sort of way, but
that's not such a bad thing). Also, Perl has TCL support, so one could,
at least in concept, create a pop-up in Perl to either notify the user,
or to get input.
But, I'm no guru on these sort of things - there are a number of
languages (Python, Einstein, etc.) I've heard of, but know nothing
about.
Erik
-----Original Message-----
From: xconq7-owner@sources.redhat.com
[mailto:xconq7-owner@sources.redhat.com] On Behalf Of Brandon J. Van
Every
Sent: Monday, November 17, 2003 2:14 PM
To: xconq
Subject: RE: Marketing Xconq?
Eric McDonald wrote:
>
> > And so are most of your potential customers,
>
> I'm not sure that Xconq really has "customers".
A "customer" is anyone who makes a decision to try Xconq as opposed to
some other life activity. The transactions potentially attainable from
the customer are:
0) they give a negative mention of Xconq to others
1) they give a positive mention of Xconq to others
2) they become regular Xconq players, and hence possibly tester guinea
pigs
3) they become Xconq developers
> Once Xconq 7.5 is ready, and if it looks stable and playable, I
> will probably send out some announcements to relevant newsgroups.
> (Unless of course Hans or Stan want to do it, since their
> contributions to the project have been so vast.)
What about marketing to potential developers, before any of this? Seems
to me you guys could use a few more hands around here. What about Xconq
might be appealing to a developer? What would make it more appealing as
a development platform?
Cheers, www.indiegamedesign.com
Brandon Van Every Seattle, WA
20% of the world is real.
80% is gobbledygook we make up inside our own heads.
^ permalink raw reply [flat|nested] 5+ messages in thread
* New Interpreter (was RE: Marketing Xconq?)
2003-11-18 3:15 Marketing Xconq? Erik Jessen
@ 2003-11-18 3:39 ` Eric McDonald
2003-11-18 4:01 ` Erik Jessen
0 siblings, 1 reply; 5+ messages in thread
From: Eric McDonald @ 2003-11-18 3:39 UTC (permalink / raw)
To: Erik Jessen; +Cc: 'xconq'
Hi Erik,
On Mon, 17 Nov 2003, Erik Jessen wrote:
> I think having an interpreted language (v. the current Lisp-format
> datafile) would put Xconq way ahead of the competition (like ADC2 et
> al).
In past discussion, with Bruno I think, I jokingly referred to
this as GDL++. But seriously, I run into things that I would like
to do in Xconq that GDL cannot presently handle. Foremost among my
desires are definitions based on forumlae rather than just static
tables. It would also be nice to script events into certain games.
However, if one writes a new interpreter, it would still need to
work within the limitations of the backend data structures.
Writing a new, more powerful interpreter is an ambitious project,
but it would certainly be fun to do sometime. (As would expanding
the standing orders syntax.)
Regards,
Eric
P.S. How are the Xconq example "games" coming? If you have them
ready, we can toss them into CVS, perhaps under lib/examples.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: New Interpreter (was RE: Marketing Xconq?)
2003-11-18 3:39 ` New Interpreter (was RE: Marketing Xconq?) Eric McDonald
@ 2003-11-18 4:01 ` Erik Jessen
2003-11-18 4:05 ` Eric McDonald
0 siblings, 1 reply; 5+ messages in thread
From: Erik Jessen @ 2003-11-18 4:01 UTC (permalink / raw)
To: 'Eric McDonald'; +Cc: 'xconq'
My thought was this:
- add an interpreter, using a standard language (like Perl) that can
simply access existing data-structures.
The hard part (at least to me) is: how do you decide when to execute the
new programs? It's easy to load data-structures at initialization time
& then have canned code execute it (what we do today). It's harder to
say "execute this subroutine any time combat occurs".
Alas, I've not been able to locate my examples (I hope they weren't on
my system that had the HDD crash), but I'm hopeful of backups.
Erik
-----Original Message-----
From: Eric McDonald [mailto:mcdonald@phy.cmich.edu]
Sent: Monday, November 17, 2003 7:34 PM
To: Erik Jessen
Cc: 'xconq'
Subject: New Interpreter (was RE: Marketing Xconq?)
Hi Erik,
On Mon, 17 Nov 2003, Erik Jessen wrote:
> I think having an interpreted language (v. the current Lisp-format
> datafile) would put Xconq way ahead of the competition (like ADC2 et
> al).
In past discussion, with Bruno I think, I jokingly referred to
this as GDL++. But seriously, I run into things that I would like
to do in Xconq that GDL cannot presently handle. Foremost among my
desires are definitions based on forumlae rather than just static
tables. It would also be nice to script events into certain games.
However, if one writes a new interpreter, it would still need to
work within the limitations of the backend data structures.
Writing a new, more powerful interpreter is an ambitious project,
but it would certainly be fun to do sometime. (As would expanding
the standing orders syntax.)
Regards,
Eric
P.S. How are the Xconq example "games" coming? If you have them
ready, we can toss them into CVS, perhaps under lib/examples.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: New Interpreter (was RE: Marketing Xconq?)
2003-11-18 4:01 ` Erik Jessen
@ 2003-11-18 4:05 ` Eric McDonald
0 siblings, 0 replies; 5+ messages in thread
From: Eric McDonald @ 2003-11-18 4:05 UTC (permalink / raw)
To: Erik Jessen; +Cc: 'xconq'
On Mon, 17 Nov 2003, Erik Jessen wrote:
> My thought was this:
> - add an interpreter, using a standard language (like Perl) that can
> simply access existing data-structures.
>
> The hard part (at least to me) is: how do you decide when to execute the
> new programs? It's easy to load data-structures at initialization time
> & then have canned code execute it (what we do today). It's harder to
> say "execute this subroutine any time combat occurs".
Well, with the Tcl/Tk interface we access a Tcl interpreter
from C code all the time. As long as whatever language you have
in mind can expose its interpreter to C in some for or another,
you can call back into the interpreter and ask it to do things on
your behalf. And vice versa, if the interpreter can call C
functions. Then it is simply a matter of putting hooks into the
relevant code sections. But my experience with Tcl and Xconq is
that this sort of arrangement is harder to debug.
Also, with a full blown interpreter being used, one must consider
the security aspect. Especially since Xconq has the setgid bit set
on Unix/Linux systems....
> Alas, I've not been able to locate my examples (I hope they weren't on
> my system that had the HDD crash), but I'm hopeful of backups.
Good luck finding them (and anything else you lost).
Eric
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-11-19 16:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-19 12:28 New Interpreter (was RE: Marketing Xconq?) Richard Hunt
2003-11-19 16:54 ` Eric McDonald
-- strict thread matches above, loose matches on Subject: below --
2003-11-18 3:15 Marketing Xconq? Erik Jessen
2003-11-18 3:39 ` New Interpreter (was RE: Marketing Xconq?) Eric McDonald
2003-11-18 4:01 ` Erik Jessen
2003-11-18 4:05 ` Eric McDonald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).