3 ms·
The MOO command parser is pretty meh, TBH, not much there, there (having just recently ported it to Rust, I got to know it a bit...). There were other adventure
by cmrdporcupine 3y ago
The MOO command parser is pretty meh, TBH, not much there, there (having just recently ported it to Rust, I got to know it a bit...). There were other adventure type systems that had something a bit more involved in terms of (English) natural language parsing.
Anyways, have fun :-) You're playing with the fun toys.
- VikingCoder 3y agoCan you share details about your Rust port? Do you have direct experience with other parsers that you can recommend? I like MOO because it feels very understandable. The documentation was great.
- cmrdporcupine 3y agohttps://github.com/rdaum/moor https://github.com/rdaum/moor (see the thread elsewhere in the comments) command parser & matcher stuff is partially here: https://github.com/rdaum/moor/blob/main/moor-lib/src/tasks/command_parse.rs https://github.com/rdaum/moor/blob/main/moor-lib/src/tasks/c... and https://github.com/rdaum/moor/blob/main/moor-lib/src/db/matching.rs https://github.com/rdaum/moor/blob/main/moor-lib/src/db/matc... https://github.com/rdaum/moor/blob/main/moor-lib/src/db/match_env.rs https://github.com/rdaum/moor/blob/main/moor-lib/src/db/matc...