Commit graph

27 commits

Author SHA1 Message Date
Simon Cruanes
4138acc166 fix CCParse.memo so it uses the new continuations 2015-10-22 00:14:41 +02:00
Simon Cruanes
d30e86f628 change the type 'a CCParse.t with continuations
- goal: avoid stack overflows (tailcalls!)
- add stress test in comments and test
2015-10-21 23:53:18 +02:00
Simon Cruanes
49c2e6fba2 add labels on CCParse.parse_ functions 2015-10-21 23:51:35 +02:00
Simon Cruanes
80b0f9b820 add CCLevenshtein.Index.{of,to}_{gen,seq} and cardinal 2015-09-27 22:57:36 +02:00
Simon Cruanes
a015b61208 style 2015-09-27 22:28:42 +02:00
Simon Cruanes
179cafde9e doc and tests for CCLevenshtein 2015-09-27 21:42:58 +02:00
Simon Cruanes
044cbf0c20 prepare for 0.13 2015-09-23 16:26:07 +02:00
Simon Cruanes
59a138ec95 add CCParse.memo for memoization (changes CCParse.input) 2015-09-23 00:05:02 +02:00
Simon Cruanes
e34e8c8116 breaking: slightly change the types in CCParse
- improve efficiency
- have better locations in error messages
2015-09-22 23:27:51 +02:00
Simon Cruanes
c1871e9f35 doc 2015-09-22 22:50:02 +02:00
Simon Cruanes
eb1c9bc0be move many tests into their modules with qtest 2015-09-16 16:44:10 +02:00
Simon Cruanes
25af289f96 add CCParse.{input_of_chan,parse_file,parse_file_exn} 2015-08-24 14:54:43 +02:00
Simon Cruanes
3d07b644d7 tests in ccparse 2015-08-24 14:36:49 +02:00
Simon Cruanes
8e368a3f0b modify CCParse.U.list to skip newlines 2015-08-24 11:28:51 +02:00
Simon Cruanes
8f33484dff prepare 0.11 2015-05-24 21:40:31 +02:00
Simon Cruanes
2ae6dfd11c remove packs for 'containers_string' and 'containers_advanced' 2015-05-24 17:08:01 +02:00
Simon Cruanes
0a9317ae26 doc 2015-05-20 09:51:03 +02:00
Simon Cruanes
a17f8d5cfb add Containers_string.Parse, very simple monadic parser combinators 2015-05-19 03:11:29 +02:00
Simon Cruanes
0efc342177 preparing version 0.10 2015-04-10 16:40:45 +02:00
Simon Cruanes
0e62f9a345 a few fixes, including implementing quoted 2015-03-17 00:36:42 +01:00
Simon Cruanes
0dc8b90d66 refactor internals of app_parse (simpler compilation, less duplication, fix pfc computation) 2015-03-17 00:36:42 +01:00
Simon Cruanes
cb68e1ae66 app_parse: expose "junk" combinator 2015-03-17 00:36:42 +01:00
Simon Cruanes
3e769750b6 wip: app_parse, now with both definition and compiled AST, lazy
compilation, printer
2015-03-17 00:36:42 +01:00
Simon Cruanes
5c7cb55378 wip: parser combinators, trying to fix fix 2015-03-17 00:36:42 +01:00
Simon Cruanes
ee8c7c03f2 wip: App_parse in containers_string, a draft of efficient applicative parser combinators 2015-03-17 00:36:41 +01:00
Simon Cruanes
ac180aa339 remove trailing whitespace 2015-03-02 23:39:10 +01:00
Simon Cruanes
61465fa19a remove cgi/; move sub-libraries to their own subdir each; mv everything into src/ 2014-12-16 23:41:59 +01:00