A game-semantics CCG parser for Wordbots. (See also the wordbots-core
repo that contains the core game code.)
sbt console
> parse("text to parse")
sbt run
Now you can send requests to http://localhost:8080/parse?input=<TEXT>&format=<js or svg>
.
To connect to this server from your local wordbots-core
instance, set const USE_LOCAL_PARSER = true
in constants.ts
(and make sure that LOCAL_PARSER_PORT
is correct), then start wordbots-core
(yarn && yarn start
).
sbt ";scalastyle;test"