Commit graph

19 commits

Author SHA1 Message Date
Fabien Freling ff6b555372 Remove IRC greetings. 2014-12-12 23:20:24 +01:00
Fabien Freling 6d2791b3fe Incorporate Evaluate into irc
The code is a bit ugly in order to conform with the type system.
2014-12-08 23:48:41 +01:00
Fabien Freling 229932ece4 Recognize urls without www component.
For more complex regexp, another library might be required.
2014-12-07 23:14:24 +01:00
Fabien Freling adcb83ac8f Add simple Makefile. 2014-12-07 23:13:33 +01:00
Fabien Freling 610ccbb27d Make irc work.
With the new irc-client 0.2.0, everything works fine.
2014-12-07 23:13:22 +01:00
Fabien Freling b3f1423b54 Add IRC client. 2014-03-14 23:02:27 +01:00
Fabien Freling 764581f505 Add Evaluate module.
The Evaluate module contains the logic for cheesebot actions.
2014-03-14 23:02:27 +01:00
Fabien Freling 5b790d3f09 Add unit test for HTML title. 2014-03-03 23:33:47 +01:00
Fabien Freling 1ab32d004c Parse HTML document to retrieve title. 2014-03-03 23:33:21 +01:00
Fabien Freling 1e7a1806b1 Remove binary.
It was added by accident.
2014-03-03 10:00:12 +01:00
Fabien Freling 35cf4a46a8 Clean module opening. 2014-03-01 22:32:28 +01:00
Fabien Freling ff69981a5c Break code into modules.
Use ocamlbuild command to build cheesebot.
2014-03-01 22:12:50 +01:00
Fabien Freling 7732fdf877 Add linking to Str module.
This module is used for regular expression manipulation.
2014-02-28 12:05:07 +01:00
Fabien Freling 53e3b146f5 Extend youtube regexp.
Cheesebot can now recognize youtube urls formatted like this:

- http://www.youtube.com
- https://www.youtube.com
- http://youtube.com
- www.youtube.com
- youtu.be
2014-02-28 09:04:12 +01:00
Fabien Freling 0f095addec Support SSL URLs when fetching HTML body. 2013-12-19 23:21:01 +01:00
Fabien Freling 155140fd70 Update build script with SSL and netstring modules. 2013-12-19 23:19:17 +01:00
Fabien Freling a3488cb554 Use regexp to check if youtube url.
- Add basic build command.
2013-12-08 17:07:53 +01:00
Fabien Freling 642c6aa94a Update OCaml code with pattern guards.
Now the missing piece for recognizing urls is
regexp support.
2013-10-28 13:42:28 +01:00
Fabien Freling c37eb1088e Add OCaml parrot. 2013-10-25 14:21:05 +02:00