If this is your first visit, be sure to check out the
FAQ by clicking the link above. You may have to
register or
login before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
| 22 DEC 2002 at 12:38pm |
Agustín CordesGuild Master


Posts : 5696 Joined: 23 OCT 2002 Location: AR, Buenos Aires
Status : Offline | I'm not sending it by mail so you return to the forum and may participate in it
This is what I got. It's the homepage of an excellent parser that has extensive tutorials about designing text adventures and the parser itself. I remember there was a document that explained how the parser works. Also the sources of this interpreter can be downloaded and it's programmed in C++. Be warned though that it's a great deal of job programming a parser from a scratch and there are some good ones for free already. Hope that helps!
Z-Code Interpreter
|
| 22 DEC 2002 at 7:31pm |
MichalNGrand Inquisitor


Posts : 7058 Joined: 14 SEP 2003
Status : Online | While I probably wouldn't recommend it as a starting point for new development, the original Colossal Cave Adventure is available in source code (Fortran, C, Pascal and other languages too). That parser is simple but functional. The entire program isn't very complex at all (under 100K of C source).
I forgot my sig.
|
| 23 DEC 2002 at 2:43am |
Agustín CordesGuild Master


Posts : 5696 Joined: 23 OCT 2002 Location: AR, Buenos Aires
Status : Offline | Well, I think that's a good starting point Why do you think it's not? I remember the parser was very limited but it's fine to begin with. You can start with that and then add more complex functions like giving orders to characters, questions system, multiple orders in one single command, etc.
|
| 23 DEC 2002 at 3:15am |
MichalNGrand Inquisitor


Posts : 7058 Joined: 14 SEP 2003
Status : Online | Originally Posted By Rael (23 DEC 2002 2:43am) Well, I think that's a good starting point Why do you think it's not? Because I'm sure there are better parsers available. Then again, it may be easier to start with something simple.
I forgot my sig.
|
| 27 DEC 2002 at 4:43pm |
RootShellIntergalactic Janitor


Posts : 2 Joined: 27 DEC 2002
Status : Online | Man...
Drop all that languages and learn Inform or TADS, why re-invent the wheel? It's a losse of time...
Please try to write IF and not re-invent what has already be invented.
We need more games... not more games languages!
(just my thoughts)
RootShell&&&&
|
| 27 DEC 2002 at 5:02pm |
Agustín CordesGuild Master


Posts : 5696 Joined: 23 OCT 2002 Location: AR, Buenos Aires
Status : Offline | Well, it's true that Inform and TADS are already awesome parsers but writing one from scratch would be a cool exercise in programming. Maybe he is intending to add new ideas and more functionality in his new parser, something I encourage to do but, if he only intends to write IF, then I would strongly suggest learning the mentioned parsers.
|
| 27 DEC 2002 at 11:25pm |
psychomodoIntergalactic Janitor


Posts : 10 Joined: 22 DEC 2002
Status : Online | Originally Posted By Rael (27 DEC 2002 5:01pm) Well, it's true that Inform and TADS are already awesome parsers but writing one from scratch would be a cool exercise in programming.
This is what I had in mind at the first place..I found a .doc about Inform that explain several things about the parser which is nice. I would like to see some code of a parser even a lot more simple than Inform and TADS to get some ideas
If there is one thing u could say about mankind, there is nothing kind anout man&&------------------------------------------------------&&Tom Waits-Blood Money
|
| 28 DEC 2002 at 12:07am |
Agustín CordesGuild Master


Posts : 5696 Joined: 23 OCT 2002 Location: AR, Buenos Aires
Status : Offline | Originally Posted By psychomodo (27 DEC 2002 11:25pm) This is what I had in mind at the first place..I found a .doc about Inform that explain several things about the parser which is nice. I would like to see some code of a parser even a lot more simple than Inform and TADS to get some ideas Follow Michal's advice then and get the source code of Colossal Cave - it's the best you can do!
|
| 28 DEC 2002 at 12:24am |
psychomodoIntergalactic Janitor


Posts : 10 Joined: 22 DEC 2002
Status : Online | From which URL?
If there is one thing u could say about mankind, there is nothing kind anout man&&------------------------------------------------------&&Tom Waits-Blood Money
|
| 28 DEC 2002 at 2:28am |
MichalNGrand Inquisitor


Posts : 7058 Joined: 14 SEP 2003
Status : Online | Originally Posted By psychomodo (28 DEC 2002 12:24am) From which URL? www.google.com - consider that your first task
I forgot my sig.
|
| 9 JAN 2003 at 6:58pm |
TrumgottistIntergalactic Janitor


Posts : 55 Joined: 3 DEC 2002
Status : Online | Originally Posted By psychomodo (27 DEC 2002 11:25pm)
I found a .doc about Inform that explain several things about the parser which is nice. Which doc was that? The z-machine specs? Then you should take a look at the Designer's Manual too. Between them you get plenty of details on how Inform does its parsing.
|
| 5 FEB 2003 at 10:32pm |
ElfstoneGuild Master


Posts : 5892 Joined: 4 NOV 2002
Status : Online | Yes, the Designer's Manual tells you pretty much all you have to know about Inform and how the parser works. There is a complete set of rules in one chapter which gives you a good idea about the world model.
[b]playing[/b]: Destination Treasure Island (done in two sittings, but it's nice), Syberia (ho-hum), Dracula: Last Sanctuary (on hold)&&[b]reading[/b]: even more study papers&&[b]listening to[/b]: [url=http://www.last.fm/user/Brax82/]this and that[/url], plus [url=http://www.musicovery.com/]Musicovery[/url]&&[b]TV favorites[/b]: (currently) Pushing Daisies, Chuck, Journeyman (cancelled! grrr...), Heroes&& all-time) 24, Stargate SG1, X-Files, Lost, House
|
| 15 MAR 2003 at 6:58am |
SpyrosIntergalactic Janitor


Posts : 3 Joined: 14 MAR 2003
Status : Online | I got an old DOS program "Adventure Writer" that lets you create simple text adventure games. If you want it I can mail it to you.
|
| 15 MAR 2003 at 7:23am |
StammerGuild Master


Posts : 3894 Joined: 5 JAN 2003
Status : Online | At lease I want it
Resistance is not futile, we're gonna win this thing, humankind is too good, we're not a bunch of under-achievers! We're gonna stand up, and we're gonna be human beings. We're going to get fired up about the real things, the things that matter! Creativity, and the dynamic human spirit that refuses to submit.
|