Function summary | |
---|---|
fcg-find-symbol | symbol-name package-name |
fcg-make-stream-and-talk | handle |
fcg-talk-on-stream | stream |
find-file-on-server | path |
handle-fcg-query | fcg-query |
http-send-line | stream line |
parse-fcg-query | input |
process-and-return-static-html | fcg-query |
start-fcg-server | port &key (function-name (quote fcg-make-stream-and-talk)) |
stop-fcg-server | port |
For starting an FCG server listening to a port
makes an IO stream and invokes fcg-talk-on-stream function
parses the first line of a curl 'get' and returns an fcg-query object
executes an fcg-query and returns the resulting utterance/meaning representation
takes a string symbol-name and e string package-name and returns the symbol, if no package name is provided, it searches in fcg-light
Send a line of text to the HTTP stream, terminating it with CR+LF.