Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 920 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 920 Bytes

wordbots-parser

CircleCI

A game-semantics CCG parser for Wordbots. (See also the wordbots-core repo that contains the core game code.)

Running as console

sbt console
> parse("text to parse")

Running as server

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).

Testing

sbt ";scalastyle;test"