Re: Announcement: Axiom, a Forth Based Universal Game Programming System
- From: dreamwafer@xxxxxxxxx
- Date: Mon, 27 Aug 2007 12:30:59 -0700
On Aug 27, 1:00 pm, m...@xxxxxx (Marcel Hendrix) wrote:
dreamwa...@xxxxxxxxx writes Re: Announcement: Axiom, a Forth Based Universal Game Programming System
[..]
I am not affiliated with the Zillions product in any way. I'm a Forth
enthusiast and Axiom has been a hobby project which I am offering to
the public for free. I've been working on Axiom and the current set
of Axiom based games for the past 1-1/2 years in my 'spare' time.
Thank you for your interest.
Great idea! You paid attention to doumentation too, and your Forth seems
to really deserve that name (being interactive). Do you care to discuss
why it has <BUILDS, and why there's a unified stack?
ForthScript is subroutine threaded and implemented in C++. I couldn't
see any way
to implement CREATE ... DOES> without dropping into assembly which I
didn't want to do.
This was discussed in the following thread:
http://groups.google.com/group/comp.lang.forth/browse_thread/thread/43e2a017cfddfcb9/bdb18346b1fc8951?lnk=gst&q=gschmidt&rnum=3#bdb18346b1fc8951
The gist of it is:
Andrew Haley wrote:
and the thunk is a magic bit of machine code, usually a single
instruction, that is placed in the threaded code immediately before
the DOES> action. This works with any kind of threading.
As far as a unified stack, I'm not sure what you mean. ForthScript
has both a data stack and a return stack.
It supports words such as (>R, R>, R, R@ etc.). Was there something
you found in the documentation that lead
you to believe there was a single stack?
Please let me know if I'm missing something on either one of these
points.
BTW, strange game player, Zillion :-) I tried it's chess, but it doesn't
even know when the game is over (I took its king after only 3 moves, but it
pretends not to notice).
Hmm... It's Chess is pretty strong, especially considering it's a
general game playing
program. If you are able to make this happen again, please save the
game (in a *.zsg file)
and send it to me. I can then post it and have the Chess Guru's
examine it.
It does know how to play tic-tac-toe, though (unfortunately, I do too).
-marcel
Thank you for your comments and thanks to everyone for the kudos.
Regards,
-- Greg
.
- Follow-Ups:
- Re: Announcement: Axiom, a Forth Based Universal Game Programming System
- From: Andrew Haley
- Re: Announcement: Axiom, a Forth Based Universal Game Programming System
- From: Marcel Hendrix
- Re: Announcement: Axiom, a Forth Based Universal Game Programming System
- References:
- Announcement: Axiom, a Forth Based Universal Game Programming System
- From: dreamwafer
- Re: Announcement: Axiom, a Forth Based Universal Game Programming System
- From: Marcel Hendrix
- Announcement: Axiom, a Forth Based Universal Game Programming System
- Prev by Date: Re: Tiny OS based on byte-code interpreter
- Next by Date: Re: New version of John Hayes' tester
- Previous by thread: Re: Announcement: Axiom, a Forth Based Universal Game Programming System
- Next by thread: Re: Announcement: Axiom, a Forth Based Universal Game Programming System
- Index(es):
Relevant Pages
|